Skip to main content
summaryrefslogtreecommitdiffstats
path: root/jpa
diff options
context:
space:
mode:
authorkmoore2008-08-26 21:52:54 +0000
committerkmoore2008-08-26 21:52:54 +0000
commitbed5e8c5aece197caa91742443baf82737d527f4 (patch)
tree2450b6749d0b0b68fc847c70fa16758739c66763 /jpa
parentace4fe06927167b445893da366fa9c52be94b915 (diff)
downloadwebtools.dali-bed5e8c5aece197caa91742443baf82737d527f4.tar.gz
webtools.dali-bed5e8c5aece197caa91742443baf82737d527f4.tar.xz
webtools.dali-bed5e8c5aece197caa91742443baf82737d527f4.zip
switched to use Integer.valueOf(int) instead of new Integer(int)
Diffstat (limited to 'jpa')
-rw-r--r--jpa/tests/org.eclipse.jpt.core.tests/src/org/eclipse/jpt/core/tests/internal/context/orm/OrmColumnTests.java12
1 files changed, 6 insertions, 6 deletions
diff --git a/jpa/tests/org.eclipse.jpt.core.tests/src/org/eclipse/jpt/core/tests/internal/context/orm/OrmColumnTests.java b/jpa/tests/org.eclipse.jpt.core.tests/src/org/eclipse/jpt/core/tests/internal/context/orm/OrmColumnTests.java
index c77df9fe26..1a2e9889c6 100644
--- a/jpa/tests/org.eclipse.jpt.core.tests/src/org/eclipse/jpt/core/tests/internal/context/orm/OrmColumnTests.java
+++ b/jpa/tests/org.eclipse.jpt.core.tests/src/org/eclipse/jpt/core/tests/internal/context/orm/OrmColumnTests.java
@@ -674,9 +674,9 @@ public class OrmColumnTests extends ContextModelTestCase
javaBasicMapping.getColumn().setSpecifiedUpdatable(Boolean.FALSE);
javaBasicMapping.getColumn().setSpecifiedNullable(Boolean.FALSE);
javaBasicMapping.getColumn().setSpecifiedUnique(Boolean.TRUE);
- javaBasicMapping.getColumn().setSpecifiedLength(new Integer(45));
- javaBasicMapping.getColumn().setSpecifiedPrecision(new Integer(46));
- javaBasicMapping.getColumn().setSpecifiedScale(new Integer(47));
+ javaBasicMapping.getColumn().setSpecifiedLength(Integer.valueOf(45));
+ javaBasicMapping.getColumn().setSpecifiedPrecision(Integer.valueOf(46));
+ javaBasicMapping.getColumn().setSpecifiedScale(Integer.valueOf(47));
assertEquals("FOO", ormColumn.getSpecifiedName());
assertEquals("FOO_TABLE", ormColumn.getSpecifiedTable());
@@ -760,9 +760,9 @@ public class OrmColumnTests extends ContextModelTestCase
javaBasicMapping.getColumn().setSpecifiedUpdatable(Boolean.FALSE);
javaBasicMapping.getColumn().setSpecifiedNullable(Boolean.FALSE);
javaBasicMapping.getColumn().setSpecifiedUnique(Boolean.TRUE);
- javaBasicMapping.getColumn().setSpecifiedLength(new Integer(45));
- javaBasicMapping.getColumn().setSpecifiedPrecision(new Integer(46));
- javaBasicMapping.getColumn().setSpecifiedScale(new Integer(47));
+ javaBasicMapping.getColumn().setSpecifiedLength(Integer.valueOf(45));
+ javaBasicMapping.getColumn().setSpecifiedPrecision(Integer.valueOf(46));
+ javaBasicMapping.getColumn().setSpecifiedScale(Integer.valueOf(47));
assertEquals("name", ormColumn.getDefaultName());

Back to the top