summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Liebig2008-02-04 05:46:39 (EST)
committerStefan Liebig2008-02-04 05:46:39 (EST)
commit0332568742317ce515a221f1e016c9c010235d59 (patch)
tree1cb28e476c0bef126cbc68c2eeea8c3a256ea7db
parent8ed8aa43ab56b5059754a23bcffa263f6620053a (diff)
downloadorg.eclipse.riena-0332568742317ce515a221f1e016c9c010235d59.zip
org.eclipse.riena-0332568742317ce515a221f1e016c9c010235d59.tar.gz
org.eclipse.riena-0332568742317ce515a221f1e016c9c010235d59.tar.bz2
avoid unnecessary objects
-rw-r--r--org.eclipse.riena.core/src/org/eclipse/riena/core/extension/util/ExtensionUtility.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/org.eclipse.riena.core/src/org/eclipse/riena/core/extension/util/ExtensionUtility.java b/org.eclipse.riena.core/src/org/eclipse/riena/core/extension/util/ExtensionUtility.java
index 9462e93..4022a22 100644
--- a/org.eclipse.riena.core/src/org/eclipse/riena/core/extension/util/ExtensionUtility.java
+++ b/org.eclipse.riena.core/src/org/eclipse/riena/core/extension/util/ExtensionUtility.java
@@ -81,7 +81,7 @@ public class ExtensionUtility {
if (retType.equals(String.class)) {
return config.getAttribute(name);
} else if (retType.equals(Boolean.TYPE)) {
- return new Boolean(config.getAttribute(name));
+ return Boolean.valueOf(config.getAttribute(name));
} else if (retType.isInterface()) {
IConfigurationElement cfgElement = config.getChildren(name)[0];
if (cfgElement == null) {