commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simonetrip...@apache.org
Subject svn commit: r1371156 - /commons/proper/dbutils/trunk/src/main/java/org/apache/commons/dbutils/AsyncQueryRunner.java
Date Thu, 09 Aug 2012 10:53:35 GMT
Author: simonetripodi
Date: Thu Aug  9 10:53:34 2012
New Revision: 1371156

URL: http://svn.apache.org/viewvc?rev=1371156&view=rev
Log:
no tabs, replaced with 4 spaces
dropped trailing spaces

Modified:
    commons/proper/dbutils/trunk/src/main/java/org/apache/commons/dbutils/AsyncQueryRunner.java

Modified: commons/proper/dbutils/trunk/src/main/java/org/apache/commons/dbutils/AsyncQueryRunner.java
URL: http://svn.apache.org/viewvc/commons/proper/dbutils/trunk/src/main/java/org/apache/commons/dbutils/AsyncQueryRunner.java?rev=1371156&r1=1371155&r2=1371156&view=diff
==============================================================================
--- commons/proper/dbutils/trunk/src/main/java/org/apache/commons/dbutils/AsyncQueryRunner.java
(original)
+++ commons/proper/dbutils/trunk/src/main/java/org/apache/commons/dbutils/AsyncQueryRunner.java
Thu Aug  9 10:53:34 2012
@@ -554,63 +554,63 @@ public class AsyncQueryRunner extends Ab
 
     /**
      * Executes {@link QueryRunner#insert(String, ResultSetHandler)} asynchronously.
-     * 
+     *
      * @see QueryRunner#insert(String, ResultSetHandler)
      */
     public <T> Future<T> insert(final String sql, final ResultSetHandler<T>
rsh) throws SQLException {
-    	return executorService.submit(new Callable<T>() {
-    
-    	    @Override
-    	    public T call() throws Exception {
-    		return queryRunner.insert(sql, rsh);
-    	    }
-    	    
-    	});
+        return executorService.submit(new Callable<T>() {
+
+            @Override
+            public T call() throws Exception {
+            return queryRunner.insert(sql, rsh);
+            }
+
+        });
     }
-    
+
     /**
      * Executes {@link QueryRunner#insert(String, ResultSetHandler, Object...)} asynchronously.
-     * 
+     *
      * @see QueryRunner#insert(String, ResultSetHandler, Object...)
      */
     public <T> Future<T> insert(final String sql, final ResultSetHandler<T>
rsh, final Object... params) throws SQLException {
-    	return executorService.submit(new Callable<T>() {
-    
-    	    @Override
-    	    public T call() throws Exception {
-    		return queryRunner.insert(sql, rsh, params);
-    	    }
-    	});
+        return executorService.submit(new Callable<T>() {
+
+            @Override
+            public T call() throws Exception {
+            return queryRunner.insert(sql, rsh, params);
+            }
+        });
     }
-    
+
     /**
      * Executes {@link QueryRunner#insert(Connection, String, ResultSetHandler)} asynchronously.
-     * 
+     *
      * @see QueryRunner#insert(Connection, String, ResultSetHandler)
      */
     public <T> Future<T> insert(final Connection conn, final String sql, final
ResultSetHandler<T> rsh) throws SQLException {
-    	return executorService.submit(new Callable<T>() {
-    
-    	    @Override
-    	    public T call() throws Exception {
-    		return queryRunner.insert(conn, sql, rsh);
-    	    }
-    	});
+        return executorService.submit(new Callable<T>() {
+
+            @Override
+            public T call() throws Exception {
+            return queryRunner.insert(conn, sql, rsh);
+            }
+        });
     }
-    
+
     /**
      * Executes {@link QueryRunner#insert(Connection, String, ResultSetHandler, Object...)}
asynchronously.
-     * 
+     *
      * @see QueryRunner#insert(Connection, String, ResultSetHandler, Object...)
      */
     public <T> Future<T> insert(final Connection conn, final String sql, final
ResultSetHandler<T> rsh, final Object... params) throws SQLException {
-    	return executorService.submit(new Callable<T>() {
-    
-    	    @Override
-    	    public T call() throws Exception {
-    		return queryRunner.insert(conn, sql, rsh, params);
-    	    }
-    	});
+        return executorService.submit(new Callable<T>() {
+
+            @Override
+            public T call() throws Exception {
+            return queryRunner.insert(conn, sql, rsh, params);
+            }
+        });
     }
 
 }



Mime
View raw message