mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-14 05:23:14 +00:00
Silly whitespace cleanups
This commit is contained in:
@@ -562,7 +562,7 @@ public class EZIDIdentifierProvider
|
||||
|
||||
/**
|
||||
* Get configured value of EZID username.
|
||||
* @throws IdentifierException
|
||||
* @throws IdentifierException
|
||||
*/
|
||||
private String loadUser()
|
||||
throws IdentifierException
|
||||
@@ -580,7 +580,7 @@ public class EZIDIdentifierProvider
|
||||
|
||||
/**
|
||||
* Get configured value of EZID password.
|
||||
* @throws IdentifierException
|
||||
* @throws IdentifierException
|
||||
*/
|
||||
private String loadPassword()
|
||||
throws IdentifierException
|
||||
@@ -598,7 +598,7 @@ public class EZIDIdentifierProvider
|
||||
|
||||
/**
|
||||
* Get configured value of EZID "shoulder".
|
||||
* @throws IdentifierException
|
||||
* @throws IdentifierException
|
||||
*/
|
||||
private String loadAuthority()
|
||||
throws IdentifierException
|
||||
@@ -626,7 +626,7 @@ public class EZIDIdentifierProvider
|
||||
Item item = (Item) dso; // TODO generalize to DSO when all DSOs have metadata.
|
||||
|
||||
Map<String, String> mapped = new HashMap<String, String>();
|
||||
|
||||
|
||||
for (Entry<String, String> datum : crosswalk.entrySet())
|
||||
{
|
||||
DCValue[] values = item.getMetadata(datum.getValue());
|
||||
|
@@ -57,7 +57,7 @@ public class EZIDRequest
|
||||
/**
|
||||
* Prepare a context for requests concerning a specific identifier or
|
||||
* authority prefix.
|
||||
*
|
||||
*
|
||||
* @param scheme URL scheme 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".
|
||||
@@ -93,7 +93,7 @@ public class EZIDRequest
|
||||
|
||||
/**
|
||||
* Fetch the metadata bound to an identifier.
|
||||
*
|
||||
*
|
||||
* @throws IdentifierException if the response is error or body malformed.
|
||||
* @throws IOException if the HTTP request fails.
|
||||
* @throws URISyntaxException
|
||||
|
@@ -34,11 +34,11 @@ public class EZIDRequestFactory
|
||||
|
||||
/**
|
||||
* Configure an EZID request.
|
||||
*
|
||||
*
|
||||
* @param authority our DOI authority number.
|
||||
* @param username EZID user name.
|
||||
* @param password {@code username}'s password.
|
||||
* @throws URISyntaxException
|
||||
* @throws URISyntaxException
|
||||
*/
|
||||
public EZIDRequest getInstance(String authority, String username, String password)
|
||||
throws URISyntaxException
|
||||
|
@@ -61,10 +61,10 @@ public class EZIDIdentifierProviderTest
|
||||
|
||||
/**
|
||||
* Create a fresh Item, installed in the repository.
|
||||
*
|
||||
*
|
||||
* @throws SQLException
|
||||
* @throws AuthorizeException
|
||||
* @throws IOException
|
||||
* @throws IOException
|
||||
*/
|
||||
private Item newItem(Context ctx)
|
||||
throws SQLException, AuthorizeException, IOException
|
||||
@@ -132,14 +132,14 @@ public class EZIDIdentifierProviderTest
|
||||
Context ctx = new Context();
|
||||
dumpMetadata(Item.find(ctx, itemID));
|
||||
}
|
||||
|
||||
|
||||
@Before
|
||||
public void setUp()
|
||||
{
|
||||
context.setCurrentUser(eperson);
|
||||
context.turnOffAuthorisationSystem();
|
||||
}
|
||||
|
||||
|
||||
@After
|
||||
public void tearDown()
|
||||
{
|
||||
@@ -277,7 +277,7 @@ public class EZIDIdentifierProviderTest
|
||||
DSpaceObject result = instance.resolve(context, identifier, attributes);
|
||||
assertEquals(expResult, result);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Test of lookup method, of class DataCiteIdentifierProvider.
|
||||
*/
|
||||
|
Reference in New Issue
Block a user