db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kahat...@apache.org
Subject svn commit: r1372841 - in /db/derby/code/trunk/java/client/org/apache/derby: client/ client/am/ jdbc/
Date Tue, 14 Aug 2012 11:17:15 GMT
Author: kahatlen
Date: Tue Aug 14 11:17:14 2012
New Revision: 1372841

URL: http://svn.apache.org/viewvc?rev=1372841&view=rev
Log:
DERBY-5896: Change java/drda source code to use spaces instead of tabs and clean up tab creep
in java/client

Align with tab stops in java/client.

Modified:
    db/derby/code/trunk/java/client/org/apache/derby/client/ClientXAConnection40.java
    db/derby/code/trunk/java/client/org/apache/derby/client/am/Connection.java
    db/derby/code/trunk/java/client/org/apache/derby/client/am/EncryptionManager.java
    db/derby/code/trunk/java/client/org/apache/derby/client/am/SqlException.java
    db/derby/code/trunk/java/client/org/apache/derby/client/am/Types.java
    db/derby/code/trunk/java/client/org/apache/derby/jdbc/ClientDataSource40.java
    db/derby/code/trunk/java/client/org/apache/derby/jdbc/ClientXADataSource.java
    db/derby/code/trunk/java/client/org/apache/derby/jdbc/ClientXADataSource40.java

Modified: db/derby/code/trunk/java/client/org/apache/derby/client/ClientXAConnection40.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/client/org/apache/derby/client/ClientXAConnection40.java?rev=1372841&r1=1372840&r2=1372841&view=diff
==============================================================================
--- db/derby/code/trunk/java/client/org/apache/derby/client/ClientXAConnection40.java (original)
+++ db/derby/code/trunk/java/client/org/apache/derby/client/ClientXAConnection40.java Tue
Aug 14 11:17:14 2012
@@ -63,7 +63,7 @@ public class ClientXAConnection40 extend
      * <code>PreparedStatement</code> has been closed or is invalid.
      * <p>
      *
-     * @param listener    the component which implements the
+     * @param listener  the component which implements the
      * <code>StatementEventListener</code> interface that was previously
      * registered with this <code>PooledConnection</code> object
      * <p>
@@ -82,7 +82,7 @@ public class ClientXAConnection40 extend
      * to register a <code>StatementEventListener</code> with this <code>PooledConnection</code>
object.
      * <p>
      *
-     * @param listener    an component which implements the 
+     * @param listener  an component which implements the
      *      <code>StatementEventListener</code> interface that is to be 
      *      registered with this <code>PooledConnection</code> object
      * <p>

Modified: db/derby/code/trunk/java/client/org/apache/derby/client/am/Connection.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/client/org/apache/derby/client/am/Connection.java?rev=1372841&r1=1372840&r2=1372841&view=diff
==============================================================================
--- db/derby/code/trunk/java/client/org/apache/derby/client/am/Connection.java (original)
+++ db/derby/code/trunk/java/client/org/apache/derby/client/am/Connection.java Tue Aug 14
11:17:14 2012
@@ -900,8 +900,8 @@ public abstract class Connection
     }
 
    /**
-    *     Return true if the physical connection is still open.
-    *     Might be logically closed but available for reuse.
+    *   Return true if the physical connection is still open.
+    *   Might be logically closed but available for reuse.
     *   @return true if physical connection still open
     */
     public boolean isPhysicalConnClosed() {
@@ -1130,7 +1130,7 @@ public abstract class Connection
                         (isolation_ == TRANSACTION_UNKNOWN),
                         "isolation_ modified when caching is not supported");
             }
-            rs.close();    
+            rs.close();
             // So... of we did not have an active transaction before
             // the query, we pretend to still not have an open
             // transaction. The result set is closed, so this should

Modified: db/derby/code/trunk/java/client/org/apache/derby/client/am/EncryptionManager.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/client/org/apache/derby/client/am/EncryptionManager.java?rev=1372841&r1=1372840&r2=1372841&view=diff
==============================================================================
--- db/derby/code/trunk/java/client/org/apache/derby/client/am/EncryptionManager.java (original)
+++ db/derby/code/trunk/java/client/org/apache/derby/client/am/EncryptionManager.java Tue
Aug 14 11:17:14 2012
@@ -639,9 +639,9 @@ public class EncryptionManager {
         The byte at <code>data[offset]</code> is represented by the first two
         characters in the returned String.
 
-        @param    data    byte array
-        @param    offset    starting byte (zero based) to convert.
-        @param    length    number of bytes to convert.
+        @param  data    byte array
+        @param  offset  starting byte (zero based) to convert.
+        @param  length  number of bytes to convert.
 
         @return the String (with hexidecimal format) form of the byte array
     */
@@ -672,9 +672,9 @@ public class EncryptionManager {
         The character at <code>str.charAt(0)</code> is represented by the first
two bytes 
         in the returned String.
 
-        @param    str string 
-        @param    offset    starting character (zero based) to convert.
-        @param    length    number of characters to convert.
+        @param  str string
+        @param  offset  starting character (zero based) to convert.
+        @param  length  number of characters to convert.
 
         @return the byte[]  (with hexidecimal format) form of the string (str) 
     */

Modified: db/derby/code/trunk/java/client/org/apache/derby/client/am/SqlException.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/client/org/apache/derby/client/am/SqlException.java?rev=1372841&r1=1372840&r2=1372841&view=diff
==============================================================================
--- db/derby/code/trunk/java/client/org/apache/derby/client/am/SqlException.java (original)
+++ db/derby/code/trunk/java/client/org/apache/derby/client/am/SqlException.java Tue Aug 14
11:17:14 2012
@@ -470,7 +470,7 @@ public class SqlException extends Except
     }
     
     public void setNextException(SQLException nextException)
-    {    
+    {
         if ( wrappedException_ != null )
         {
             wrappedException_.setNextException(nextException);

Modified: db/derby/code/trunk/java/client/org/apache/derby/client/am/Types.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/client/org/apache/derby/client/am/Types.java?rev=1372841&r1=1372840&r2=1372841&view=diff
==============================================================================
--- db/derby/code/trunk/java/client/org/apache/derby/client/am/Types.java (original)
+++ db/derby/code/trunk/java/client/org/apache/derby/client/am/Types.java Tue Aug 14 11:17:14
2012
@@ -32,7 +32,7 @@ public class Types {
     public final static int BIT        =  java.sql.Types.BIT;          // -7;
 
     // Not currently supported as a DERBY column type.  Mapped to SMALLINT.
-    //public final static int TINYINT     = java.sql.Types.TINYINT;       // -6;
+    //public final static int TINYINT   = java.sql.Types.TINYINT;       // -6;
 
     public final static int BOOLEAN = java.sql.Types.BOOLEAN;       // 16;
 
@@ -50,7 +50,7 @@ public class Types {
     public final static int DOUBLE = java.sql.Types.DOUBLE;        // 8;
 
     // We type using DECIMAL
-    //public final static int NUMERIC     = java.sql.Types.NUMERIC;       // 2;
+    //public final static int NUMERIC   = java.sql.Types.NUMERIC;       // 2;
 
     public final static int DECIMAL = java.sql.Types.DECIMAL;       // 3;
 

Modified: db/derby/code/trunk/java/client/org/apache/derby/jdbc/ClientDataSource40.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/client/org/apache/derby/jdbc/ClientDataSource40.java?rev=1372841&r1=1372840&r2=1372841&view=diff
==============================================================================
--- db/derby/code/trunk/java/client/org/apache/derby/jdbc/ClientDataSource40.java (original)
+++ db/derby/code/trunk/java/client/org/apache/derby/jdbc/ClientDataSource40.java Tue Aug
14 11:17:14 2012
@@ -38,9 +38,9 @@ import org.apache.derby.shared.common.re
  * ClientConnectionPoolDataSource, and ClientXADataSource classes if
  * your application runs in the following environments:
  * <p/>
- *    <UL>
- *    <LI> JDBC 4.0 - Java SE 6
- *    <LI> JDBC 3.0 - J2SE 5.0
+ *  <UL>
+ *  <LI> JDBC 4.0 - Java SE 6
+ *  <LI> JDBC 3.0 - J2SE 5.0
  * </UL>
  *
  * <p>The example below registers a DNC data source object with a JNDI naming service.

Modified: db/derby/code/trunk/java/client/org/apache/derby/jdbc/ClientXADataSource.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/client/org/apache/derby/jdbc/ClientXADataSource.java?rev=1372841&r1=1372840&r2=1372841&view=diff
==============================================================================
--- db/derby/code/trunk/java/client/org/apache/derby/jdbc/ClientXADataSource.java (original)
+++ db/derby/code/trunk/java/client/org/apache/derby/jdbc/ClientXADataSource.java Tue Aug
14 11:17:14 2012
@@ -34,7 +34,7 @@ import org.apache.derby.client.net.NetLo
  * </p>
  * An XADataSource is a factory for XAConnection objects.  It represents a
  * RM in a DTP environment.  An object that implements the XADataSource
- * interface is typically registered with a JNDI service provider.       
+ * interface is typically registered with a JNDI service provider.
  * <P>
  * ClientXADataSource automatically supports the correct JDBC specification version
  * for the Java Virtual Machine's environment.

Modified: db/derby/code/trunk/java/client/org/apache/derby/jdbc/ClientXADataSource40.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/client/org/apache/derby/jdbc/ClientXADataSource40.java?rev=1372841&r1=1372840&r2=1372841&view=diff
==============================================================================
--- db/derby/code/trunk/java/client/org/apache/derby/jdbc/ClientXADataSource40.java (original)
+++ db/derby/code/trunk/java/client/org/apache/derby/jdbc/ClientXADataSource40.java Tue Aug
14 11:17:14 2012
@@ -33,7 +33,7 @@ import org.apache.derby.shared.common.re
  * </p>
  * An XADataSource is a factory for XAConnection objects.  It represents a
  * RM in a DTP environment.  An object that implements the XADataSource
- * interface is typically registered with a JNDI service provider.       
+ * interface is typically registered with a JNDI service provider.
  * <P>
  * Use ClientXADataSource40 if your application runs at JDBC level 4.1 (or
  * higher). Use ClientXADataSource



Mime
View raw message