harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From telli...@apache.org
Subject svn commit: r486599 - in /harmony/enhanced/classlib/trunk/modules/sql/src/main/java: java/sql/DriverManager.java javax/sql/rowset/WebRowSet.java javax/sql/rowset/serial/SerialDatalink.java javax/sql/rowset/spi/SyncFactory.java
Date Wed, 13 Dec 2006 11:27:54 GMT
Author: tellison
Date: Wed Dec 13 03:27:48 2006
New Revision: 486599

URL: http://svn.apache.org/viewvc?view=rev&rev=486599
Log:
Marking some more strings as non-externalized.

Modified:
    harmony/enhanced/classlib/trunk/modules/sql/src/main/java/java/sql/DriverManager.java
    harmony/enhanced/classlib/trunk/modules/sql/src/main/java/javax/sql/rowset/WebRowSet.java
    harmony/enhanced/classlib/trunk/modules/sql/src/main/java/javax/sql/rowset/serial/SerialDatalink.java
    harmony/enhanced/classlib/trunk/modules/sql/src/main/java/javax/sql/rowset/spi/SyncFactory.java

Modified: harmony/enhanced/classlib/trunk/modules/sql/src/main/java/java/sql/DriverManager.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/sql/src/main/java/java/sql/DriverManager.java?view=diff&rev=486599&r1=486598&r2=486599
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/sql/src/main/java/java/sql/DriverManager.java
(original)
+++ harmony/enhanced/classlib/trunk/modules/sql/src/main/java/java/sql/DriverManager.java
Wed Dec 13 03:27:48 2006
@@ -163,7 +163,7 @@
             throws SQLException {
         // 08 - connection exception
         // 001 - SQL-client unable to establish SQL-connection
-        String sqlState = "08001";
+        String sqlState = "08001"; //$NON-NLS-1$
         if (url == null) {
             // sql.5=The url cannot be null
             throw new SQLException(Messages.getString("sql.5"), sqlState); //$NON-NLS-1$
@@ -246,7 +246,7 @@
         // sql.6=No suitable driver
         //SQLState: 08 - connection exception
         //001 - SQL-client unable to establish SQL-connection
-        throw new SQLException(Messages.getString("sql.6"), "08001"); //$NON-NLS-1$
+        throw new SQLException(Messages.getString("sql.6"), "08001"); //$NON-NLS-1$ //$NON-NLS-2$
     }
 
     /**

Modified: harmony/enhanced/classlib/trunk/modules/sql/src/main/java/javax/sql/rowset/WebRowSet.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/sql/src/main/java/javax/sql/rowset/WebRowSet.java?view=diff&rev=486599&r1=486598&r2=486599
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/sql/src/main/java/javax/sql/rowset/WebRowSet.java
(original)
+++ harmony/enhanced/classlib/trunk/modules/sql/src/main/java/javax/sql/rowset/WebRowSet.java
Wed Dec 13 03:27:48 2006
@@ -27,9 +27,9 @@
 import javax.sql.RowSet;
 
 public interface WebRowSet extends CachedRowSet, Joinable, ResultSet, RowSet {
-    String PUBLIC_XML_SCHEMA = "--//Sun Microsystems, Inc.//XSD Schema//EN";
+    String PUBLIC_XML_SCHEMA = "--//Sun Microsystems, Inc.//XSD Schema//EN"; //$NON-NLS-1$
 
-    String SCHEMA_SYSTEM_ID = "http://java.sun.com/xml/ns/jdbc/webrowset.xsd";
+    String SCHEMA_SYSTEM_ID = "http://java.sun.com/xml/ns/jdbc/webrowset.xsd"; //$NON-NLS-1$
 
     void readXml(Reader reader) throws SQLException;
 

Modified: harmony/enhanced/classlib/trunk/modules/sql/src/main/java/javax/sql/rowset/serial/SerialDatalink.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/sql/src/main/java/javax/sql/rowset/serial/SerialDatalink.java?view=diff&rev=486599&r1=486598&r2=486599
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/sql/src/main/java/javax/sql/rowset/serial/SerialDatalink.java
(original)
+++ harmony/enhanced/classlib/trunk/modules/sql/src/main/java/javax/sql/rowset/serial/SerialDatalink.java
Wed Dec 13 03:27:48 2006
@@ -44,7 +44,7 @@
      */
     public SerialDatalink(URL url) throws SerialException {
         if (url == null) {
-            throw new SerialException(Messages.getString("sql.12")); // $NON-NLS-1$
+            throw new SerialException(Messages.getString("sql.12")); //$NON-NLS-1$
         }
         this.url = url;
     }

Modified: harmony/enhanced/classlib/trunk/modules/sql/src/main/java/javax/sql/rowset/spi/SyncFactory.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/sql/src/main/java/javax/sql/rowset/spi/SyncFactory.java?view=diff&rev=486599&r1=486598&r2=486599
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/sql/src/main/java/javax/sql/rowset/spi/SyncFactory.java
(original)
+++ harmony/enhanced/classlib/trunk/modules/sql/src/main/java/javax/sql/rowset/spi/SyncFactory.java
Wed Dec 13 03:27:48 2006
@@ -23,11 +23,11 @@
 import javax.naming.Context;
 
 public class SyncFactory {
-    public static String ROWSET_SYNC_PROVIDER = "rowset.provider.classname";
+    public static String ROWSET_SYNC_PROVIDER = "rowset.provider.classname"; //$NON-NLS-1$
 
-    public static String ROWSET_SYNC_VENDOR = "rowset.provider.vendor";
+    public static String ROWSET_SYNC_VENDOR = "rowset.provider.vendor"; //$NON-NLS-1$
 
-    public static String ROWSET_SYNC_PROVIDER_VERSION = "rowset.provider.version";
+    public static String ROWSET_SYNC_PROVIDER_VERSION = "rowset.provider.version"; //$NON-NLS-1$
 
     public static void registerProvider(String providerID) throws SyncFactoryException {
         throw new UnsupportedOperationException();



Mime
View raw message