Silly whitespace cleanups

This commit is contained in:
Mark H. Wood
2013-10-17 15:30:30 -04:00
parent 8ea030ed72
commit 258a03958e
4 changed files with 13 additions and 13 deletions

View File

@@ -562,7 +562,7 @@ public class EZIDIdentifierProvider
/** /**
* Get configured value of EZID username. * Get configured value of EZID username.
* @throws IdentifierException * @throws IdentifierException
*/ */
private String loadUser() private String loadUser()
throws IdentifierException throws IdentifierException
@@ -580,7 +580,7 @@ public class EZIDIdentifierProvider
/** /**
* Get configured value of EZID password. * Get configured value of EZID password.
* @throws IdentifierException * @throws IdentifierException
*/ */
private String loadPassword() private String loadPassword()
throws IdentifierException throws IdentifierException
@@ -598,7 +598,7 @@ public class EZIDIdentifierProvider
/** /**
* Get configured value of EZID "shoulder". * Get configured value of EZID "shoulder".
* @throws IdentifierException * @throws IdentifierException
*/ */
private String loadAuthority() private String loadAuthority()
throws IdentifierException throws IdentifierException
@@ -626,7 +626,7 @@ public class EZIDIdentifierProvider
Item item = (Item) dso; // TODO generalize to DSO when all DSOs have metadata. Item item = (Item) dso; // TODO generalize to DSO when all DSOs have metadata.
Map<String, String> mapped = new HashMap<String, String>(); Map<String, String> mapped = new HashMap<String, String>();
for (Entry<String, String> datum : crosswalk.entrySet()) for (Entry<String, String> datum : crosswalk.entrySet())
{ {
DCValue[] values = item.getMetadata(datum.getValue()); DCValue[] values = item.getMetadata(datum.getValue());

View File

@@ -57,7 +57,7 @@ public class EZIDRequest
/** /**
* Prepare a context for requests concerning a specific identifier or * Prepare a context for requests concerning a specific identifier or
* authority prefix. * authority prefix.
* *
* @param scheme URL scheme for access to the EZID service. * @param scheme URL scheme for access to the EZID service.
* @param host Host name for access to the EZID service. * @param host Host name for access to the EZID service.
* @param authority DOI authority prefix, e.g. "10.5072/FK2". * @param authority DOI authority prefix, e.g. "10.5072/FK2".
@@ -93,7 +93,7 @@ public class EZIDRequest
/** /**
* Fetch the metadata bound to an identifier. * Fetch the metadata bound to an identifier.
* *
* @throws IdentifierException if the response is error or body malformed. * @throws IdentifierException if the response is error or body malformed.
* @throws IOException if the HTTP request fails. * @throws IOException if the HTTP request fails.
* @throws URISyntaxException * @throws URISyntaxException

View File

@@ -34,11 +34,11 @@ public class EZIDRequestFactory
/** /**
* Configure an EZID request. * Configure an EZID request.
* *
* @param authority our DOI authority number. * @param authority our DOI authority number.
* @param username EZID user name. * @param username EZID user name.
* @param password {@code username}'s password. * @param password {@code username}'s password.
* @throws URISyntaxException * @throws URISyntaxException
*/ */
public EZIDRequest getInstance(String authority, String username, String password) public EZIDRequest getInstance(String authority, String username, String password)
throws URISyntaxException throws URISyntaxException

View File

@@ -61,10 +61,10 @@ public class EZIDIdentifierProviderTest
/** /**
* Create a fresh Item, installed in the repository. * Create a fresh Item, installed in the repository.
* *
* @throws SQLException * @throws SQLException
* @throws AuthorizeException * @throws AuthorizeException
* @throws IOException * @throws IOException
*/ */
private Item newItem(Context ctx) private Item newItem(Context ctx)
throws SQLException, AuthorizeException, IOException throws SQLException, AuthorizeException, IOException
@@ -132,14 +132,14 @@ public class EZIDIdentifierProviderTest
Context ctx = new Context(); Context ctx = new Context();
dumpMetadata(Item.find(ctx, itemID)); dumpMetadata(Item.find(ctx, itemID));
} }
@Before @Before
public void setUp() public void setUp()
{ {
context.setCurrentUser(eperson); context.setCurrentUser(eperson);
context.turnOffAuthorisationSystem(); context.turnOffAuthorisationSystem();
} }
@After @After
public void tearDown() public void tearDown()
{ {
@@ -277,7 +277,7 @@ public class EZIDIdentifierProviderTest
DSpaceObject result = instance.resolve(context, identifier, attributes); DSpaceObject result = instance.resolve(context, identifier, attributes);
assertEquals(expResult, result); assertEquals(expResult, result);
} }
/** /**
* Test of lookup method, of class DataCiteIdentifierProvider. * Test of lookup method, of class DataCiteIdentifierProvider.
*/ */