mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-07 01:54:22 +00:00
[DS-707] Replace inefficient boxed primitive construction.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5485 9c30dcfa-912a-0410-8fc2-9e0234be79fd
This commit is contained in:
@@ -285,7 +285,7 @@ public class MetadataExporter
|
||||
private static String getSchemaName(Context context, MetadataField mdField) throws SQLException, RegistryExportException
|
||||
{
|
||||
// Get name from cache
|
||||
String name = schemaMap.get(new Integer(mdField.getSchemaID()));
|
||||
String name = schemaMap.get(Integer.valueOf(mdField.getSchemaID()));
|
||||
|
||||
if (name == null)
|
||||
{
|
||||
|
@@ -194,7 +194,7 @@ public class RegistryLoader
|
||||
int supportLevel = Integer.parseInt(supportLevelString);
|
||||
|
||||
String internalString = getElementData(node, "internal");
|
||||
boolean internal = new Boolean(internalString).booleanValue();
|
||||
boolean internal = Boolean.valueOf(internalString).booleanValue();
|
||||
|
||||
String[] extensions = getRepeatedElementData(node, "extension");
|
||||
|
||||
|
Reference in New Issue
Block a user