db-jdo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mcai...@apache.org
Subject svn commit: r539146 - in /db/jdo/trunk/tck20/src/java/org/apache/jdo/tck: models/fieldtypes/TestUtil.java pc/fieldtypes/AllTypes.java
Date Thu, 17 May 2007 22:21:58 GMT
Author: mcaisse
Date: Thu May 17 15:21:56 2007
New Revision: 539146

URL: http://svn.apache.org/viewvc?view=rev&rev=539146
Log:
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=539146&r1=539145&r2=539146
==============================================================================
--- 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 Thu May
17 15:21:56 2007
@@ -141,11 +141,11 @@
                       vec.add(4, new Date(890673824));
                       break;
                   case(5):
-                      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);
+                      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());
                       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=539146&r1=539145&r2=539146
==============================================================================
--- 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 Thu May 17
15:21:56 2007
@@ -141,8 +141,16 @@
         new String("Java"), new String("Long-live JDO")
     };
     public static final Locale[] Locale_values = {
-        Locale.US, Locale.UK, Locale.FRANCE, Locale.GERMANY, Locale.CANADA,
-        Locale.JAPAN, Locale.ITALY, Locale.CHINA, Locale.KOREA, Locale.TAIWAN
+        (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()
     };
 
     public static final BigDecimal[] BigDecimal_values = {



Mime
View raw message