db-jdo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mcai...@apache.org
Subject svn commit: r539631 - in /db/jdo/trunk/tck20/src/java/org/apache/jdo/tck: models/fieldtypes/TestUtil.java pc/fieldtypes/AllTypes.java
Date Fri, 18 May 2007 23:37:08 GMT
Author: mcaisse
Date: Fri May 18 16:37:07 2007
New Revision: 539631

URL: http://svn.apache.org/viewvc?view=rev&rev=539631
Log:
Undo commit for JDO-397

Modified:
    db/jdo/trunk/tck20/src/java/org/apache/jdo/tck/models/fieldtypes/TestUtil.java
    db/jdo/trunk/tck20/src/java/org/apache/jdo/tck/pc/fieldtypes/AllTypes.java

Modified: db/jdo/trunk/tck20/src/java/org/apache/jdo/tck/models/fieldtypes/TestUtil.java
URL: http://svn.apache.org/viewvc/db/jdo/trunk/tck20/src/java/org/apache/jdo/tck/models/fieldtypes/TestUtil.java?view=diff&rev=539631&r1=539630&r2=539631
==============================================================================
--- db/jdo/trunk/tck20/src/java/org/apache/jdo/tck/models/fieldtypes/TestUtil.java (original)
+++ db/jdo/trunk/tck20/src/java/org/apache/jdo/tck/models/fieldtypes/TestUtil.java Fri May
18 16:37:07 2007
@@ -141,11 +141,11 @@
                       vec.add(4, new Date(890673824));
                       break;
                   case(5):
-                      vec.add(0, Locale.CHINA.clone());
-                      vec.add(1, Locale.FRANCE.clone());
-                      vec.add(2, Locale.GERMANY.clone());
-                      vec.add(3, Locale.JAPAN.clone());
-                      vec.add(4, Locale.ITALY.clone());
+                      vec.add(0, Locale.CHINA);
+                      vec.add(1, Locale.FRANCE);
+                      vec.add(2, Locale.GERMANY);
+                      vec.add(3, Locale.JAPAN);
+                      vec.add(4, Locale.ITALY);
                       break;
                   case(6):
                       vec.add(0, new BigDecimal("2007908.54548"));

Modified: db/jdo/trunk/tck20/src/java/org/apache/jdo/tck/pc/fieldtypes/AllTypes.java
URL: http://svn.apache.org/viewvc/db/jdo/trunk/tck20/src/java/org/apache/jdo/tck/pc/fieldtypes/AllTypes.java?view=diff&rev=539631&r1=539630&r2=539631
==============================================================================
--- db/jdo/trunk/tck20/src/java/org/apache/jdo/tck/pc/fieldtypes/AllTypes.java (original)
+++ db/jdo/trunk/tck20/src/java/org/apache/jdo/tck/pc/fieldtypes/AllTypes.java Fri May 18
16:37:07 2007
@@ -141,16 +141,8 @@
         new String("Java"), new String("Long-live JDO")
     };
     public static final Locale[] Locale_values = {
-        (Locale)Locale.US.clone(),
-        (Locale)Locale.UK.clone(),
-        (Locale)Locale.FRANCE.clone(),
-        (Locale)Locale.GERMANY.clone(),
-        (Locale)Locale.CANADA.clone(),
-        (Locale)Locale.JAPAN.clone(),
-        (Locale)Locale.ITALY.clone(),
-        (Locale)Locale.CHINA.clone(),
-        (Locale)Locale.KOREA.clone(),
-        (Locale)Locale.TAIWAN.clone()
+        Locale.US, Locale.UK, Locale.FRANCE, Locale.GERMANY, Locale.CANADA,
+        Locale.JAPAN, Locale.ITALY, Locale.CHINA, Locale.KOREA, Locale.TAIWAN
     };
 
     public static final BigDecimal[] BigDecimal_values = {



Mime
View raw message