db-jdo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From c..@apache.org
Subject svn commit: r553635 - in /db/jdo/trunk/api2-legacy: src/java/javax/jdo/Constants.java src/java/javax/jdo/JDOHelper.java test/java/javax/jdo/JDOHelperConfigTest.java
Date Thu, 05 Jul 2007 21:10:50 GMT
Author: clr
Date: Thu Jul  5 14:10:49 2007
New Revision: 553635

URL: http://svn.apache.org/viewvc?view=rev&rev=553635
Log:
JDO-508 Update api2-legacy

Modified:
    db/jdo/trunk/api2-legacy/src/java/javax/jdo/Constants.java
    db/jdo/trunk/api2-legacy/src/java/javax/jdo/JDOHelper.java
    db/jdo/trunk/api2-legacy/test/java/javax/jdo/JDOHelperConfigTest.java

Modified: db/jdo/trunk/api2-legacy/src/java/javax/jdo/Constants.java
URL: http://svn.apache.org/viewvc/db/jdo/trunk/api2-legacy/src/java/javax/jdo/Constants.java?view=diff&rev=553635&r1=553634&r2=553635
==============================================================================
--- db/jdo/trunk/api2-legacy/src/java/javax/jdo/Constants.java (original)
+++ db/jdo/trunk/api2-legacy/src/java/javax/jdo/Constants.java Thu Jul  5 14:10:49 2007
@@ -225,13 +225,13 @@
     static String PMF_ATTRIBUTE_MAPPING
         = "mapping";
     /**
-     * The name of the persistence manager factory element's "mapping"
-     * attribute.
+     * The name of the persistence manager factory element's
+     * "server-time-zone-id" attribute.
      *
      * @since 2.1
      */
-    static String PMF_ATTRIBUTE_ServerTimeZoneID
-        = "server-time-zone-id";
+    static String PMF_ATTRIBUTE_SERVER_TIME_ZONE_ID
+            = "server-time-zone-id";
 
     /**
      * The name of the persistence manager factory property elements in the JDO

Modified: db/jdo/trunk/api2-legacy/src/java/javax/jdo/JDOHelper.java
URL: http://svn.apache.org/viewvc/db/jdo/trunk/api2-legacy/src/java/javax/jdo/JDOHelper.java?view=diff&rev=553635&r1=553634&r2=553635
==============================================================================
--- db/jdo/trunk/api2-legacy/src/java/javax/jdo/JDOHelper.java (original)
+++ db/jdo/trunk/api2-legacy/src/java/javax/jdo/JDOHelper.java Thu Jul  5 14:10:49 2007
@@ -155,7 +155,7 @@
             PMF_ATTRIBUTE_DETACH_ALL_ON_COMMIT,
             PROPERTY_DETACH_ALL_ON_COMMIT);
         xref.put(
-            PMF_ATTRIBUTE_ServerTimeZoneID,
+                PMF_ATTRIBUTE_SERVER_TIME_ZONE_ID,
             PROPERTY_SERVER_TIMEZONE_ID);
 
         return Collections.unmodifiableMap(xref);

Modified: db/jdo/trunk/api2-legacy/test/java/javax/jdo/JDOHelperConfigTest.java
URL: http://svn.apache.org/viewvc/db/jdo/trunk/api2-legacy/test/java/javax/jdo/JDOHelperConfigTest.java?view=diff&rev=553635&r1=553634&r2=553635
==============================================================================
--- db/jdo/trunk/api2-legacy/test/java/javax/jdo/JDOHelperConfigTest.java (original)
+++ db/jdo/trunk/api2-legacy/test/java/javax/jdo/JDOHelperConfigTest.java Thu Jul  5 14:10:49
2007
@@ -217,7 +217,7 @@
             PMF_ATTRIBUTE_DETACH_ALL_ON_COMMIT + "." + testVariant);
         expected.put(
             PROPERTY_SERVER_TIMEZONE_ID,
-            PMF_ATTRIBUTE_ServerTimeZoneID + "." + testVariant);
+            PMF_ATTRIBUTE_SERVER_TIME_ZONE_ID + "." + testVariant);
 
         // listeners
         for (int i = 0; i < numListeners; i++) {



Mime
View raw message