harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From telli...@apache.org
Subject svn commit: r964754 - in /harmony/enhanced/java/trunk/classlib/modules/sql/src/main/java/javax/sql/rowset/spi: SyncFactory.java SyncProvider.java
Date Fri, 16 Jul 2010 11:03:14 GMT
Author: tellison
Date: Fri Jul 16 11:03:14 2010
New Revision: 964754

URL: http://svn.apache.org/viewvc?rev=964754&view=rev
Log:
Apply fix for HARMONY-6591 ([classlib][sql]public static properties of SyncFactory and SyncProvider
shoud NOT be "final" according to the specification)

Modified:
    harmony/enhanced/java/trunk/classlib/modules/sql/src/main/java/javax/sql/rowset/spi/SyncFactory.java
    harmony/enhanced/java/trunk/classlib/modules/sql/src/main/java/javax/sql/rowset/spi/SyncProvider.java

Modified: harmony/enhanced/java/trunk/classlib/modules/sql/src/main/java/javax/sql/rowset/spi/SyncFactory.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/java/trunk/classlib/modules/sql/src/main/java/javax/sql/rowset/spi/SyncFactory.java?rev=964754&r1=964753&r2=964754&view=diff
==============================================================================
--- harmony/enhanced/java/trunk/classlib/modules/sql/src/main/java/javax/sql/rowset/spi/SyncFactory.java
(original)
+++ harmony/enhanced/java/trunk/classlib/modules/sql/src/main/java/javax/sql/rowset/spi/SyncFactory.java
Fri Jul 16 11:03:14 2010
@@ -43,17 +43,17 @@ public class SyncFactory {
     /**
      * The property name for the synchronization provider's implementation class.
      */
-    public static final String ROWSET_SYNC_PROVIDER = "rowset.provider.classname"; //$NON-NLS-1$
+    public static String ROWSET_SYNC_PROVIDER = "rowset.provider.classname"; //$NON-NLS-1$
 
     /**
      * The property name for the synchronization provider's vendor name.
      */
-    public static final String ROWSET_SYNC_VENDOR = "rowset.provider.vendor"; //$NON-NLS-1$
+    public static String ROWSET_SYNC_VENDOR = "rowset.provider.vendor"; //$NON-NLS-1$
 
     /**
      * The property name for the synchronization provider's version information.
      */
-    public static final String ROWSET_SYNC_PROVIDER_VERSION = "rowset.provider.version";
//$NON-NLS-1$
+    public static String ROWSET_SYNC_PROVIDER_VERSION = "rowset.provider.version"; //$NON-NLS-1$
 
     private static SyncFactory instance = new SyncFactory();
 

Modified: harmony/enhanced/java/trunk/classlib/modules/sql/src/main/java/javax/sql/rowset/spi/SyncProvider.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/java/trunk/classlib/modules/sql/src/main/java/javax/sql/rowset/spi/SyncProvider.java?rev=964754&r1=964753&r2=964754&view=diff
==============================================================================
--- harmony/enhanced/java/trunk/classlib/modules/sql/src/main/java/javax/sql/rowset/spi/SyncProvider.java
(original)
+++ harmony/enhanced/java/trunk/classlib/modules/sql/src/main/java/javax/sql/rowset/spi/SyncProvider.java
Fri Jul 16 11:03:14 2010
@@ -21,27 +21,27 @@ import javax.sql.RowSetReader;
 import javax.sql.RowSetWriter;
 
 public abstract class SyncProvider {
-    public static final int GRADE_NONE = 1;
+    public static int GRADE_NONE = 1;
 
-    public static final int GRADE_CHECK_MODIFIED_AT_COMMIT = 2;
+    public static int GRADE_CHECK_MODIFIED_AT_COMMIT = 2;
 
-    public static final int GRADE_CHECK_ALL_AT_COMMIT = 3;
+    public static int GRADE_CHECK_ALL_AT_COMMIT = 3;
 
-    public static final int GRADE_LOCK_WHEN_MODIFIED = 4;
+    public static int GRADE_LOCK_WHEN_MODIFIED = 4;
 
-    public static final int GRADE_LOCK_WHEN_LOADED = 5;
+    public static int GRADE_LOCK_WHEN_LOADED = 5;
 
-    public static final int DATASOURCE_NO_LOCK = 1;
+    public static int DATASOURCE_NO_LOCK = 1;
 
-    public static final int DATASOURCE_ROW_LOCK = 2;
+    public static int DATASOURCE_ROW_LOCK = 2;
 
-    public static final int DATASOURCE_TABLE_LOCK = 3;
+    public static int DATASOURCE_TABLE_LOCK = 3;
 
-    public static final int DATASOURCE_DB_LOCK = 4;
+    public static int DATASOURCE_DB_LOCK = 4;
 
-    public static final int UPDATABLE_VIEW_SYNC = 5;
+    public static int UPDATABLE_VIEW_SYNC = 5;
 
-    public static final int NONUPDATABLE_VIEW_SYNC = 6;
+    public static int NONUPDATABLE_VIEW_SYNC = 6;
 
     public SyncProvider() {
         super();



Mime
View raw message