[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:
Mark Wood
2010-10-20 14:56:20 +00:00
parent 42b03b1e90
commit 102613378e
2 changed files with 2 additions and 2 deletions

View File

@@ -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");