Author: dgolovin
Date: 2007-10-24 20:22:12 -0400 (Wed, 24 Oct 2007)
New Revision: 4500
Modified:
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/SeamJavaComponentDeclaration.java
Log:
Code clean up.
new Integer() replaced for Integer.valueOf()
Modified:
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/SeamJavaComponentDeclaration.java
===================================================================
---
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/SeamJavaComponentDeclaration.java 2007-10-25
00:22:08 UTC (rev 4499)
+++
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/SeamJavaComponentDeclaration.java 2007-10-25
00:22:12 UTC (rev 4500)
@@ -350,11 +350,11 @@
static final Map<String, Integer> NAMED_PRECEDENCES = new HashMap<String,
Integer>();
static {
- NAMED_PRECEDENCES.put("Install.BUILT_IN", new Integer(0)); //$NON-NLS-1$
- NAMED_PRECEDENCES.put("Install.FRAMEWORK", new Integer(10)); //$NON-NLS-1$
- NAMED_PRECEDENCES.put("Install.APPLICATION", new Integer(20)); //$NON-NLS-1$
- NAMED_PRECEDENCES.put("Install.DEPLOYMENT", new Integer(30)); //$NON-NLS-1$
- NAMED_PRECEDENCES.put("Install.MOCK", new Integer(40)); //$NON-NLS-1$
+ NAMED_PRECEDENCES.put("Install.BUILT_IN", Integer.valueOf(0)); //$NON-NLS-1$
+ NAMED_PRECEDENCES.put("Install.FRAMEWORK", Integer.valueOf(10));
//$NON-NLS-1$
+ NAMED_PRECEDENCES.put("Install.APPLICATION", Integer.valueOf(20));
//$NON-NLS-1$
+ NAMED_PRECEDENCES.put("Install.DEPLOYMENT", Integer.valueOf(30));
//$NON-NLS-1$
+ NAMED_PRECEDENCES.put("Install.MOCK", Integer.valueOf(40)); //$NON-NLS-1$
}
public void setPrecedence(IValueInfo value) {
Show replies by date