You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by si...@apache.org on 2011/09/16 22:44:59 UTC
svn commit: r1171768 -
/commons/proper/dbutils/trunk/src/java/org/apache/commons/dbutils/ProxyFactory.java
Author: simonetripodi
Date: Fri Sep 16 20:44:59 2011
New Revision: 1171768
URL: http://svn.apache.org/viewvc?rev=1171768&view=rev
Log:
removed trailing spaces
Modified:
commons/proper/dbutils/trunk/src/java/org/apache/commons/dbutils/ProxyFactory.java
Modified: commons/proper/dbutils/trunk/src/java/org/apache/commons/dbutils/ProxyFactory.java
URL: http://svn.apache.org/viewvc/commons/proper/dbutils/trunk/src/java/org/apache/commons/dbutils/ProxyFactory.java?rev=1171768&r1=1171767&r2=1171768&view=diff
==============================================================================
--- commons/proper/dbutils/trunk/src/java/org/apache/commons/dbutils/ProxyFactory.java (original)
+++ commons/proper/dbutils/trunk/src/java/org/apache/commons/dbutils/ProxyFactory.java Fri Sep 16 20:44:59 2011
@@ -27,10 +27,10 @@ import java.sql.ResultSetMetaData;
import java.sql.Statement;
/**
- * Creates proxy implementations of JDBC interfaces. This avoids
- * incompatibilities between the JDBC 2 and JDBC 3 interfaces. This class is
+ * Creates proxy implementations of JDBC interfaces. This avoids
+ * incompatibilities between the JDBC 2 and JDBC 3 interfaces. This class is
* thread safe.
- *
+ *
* @see java.lang.reflect.Proxy
* @see java.lang.reflect.InvocationHandler
*/
@@ -57,17 +57,18 @@ public class ProxyFactory {
super();
}
- /** Convenience method to generate a single-interface proxy using the handler's classloader
- *
+ /**
+ * Convenience method to generate a single-interface proxy using the handler's classloader
+ *
* @param <T> The type of object to proxy
* @param type The type of object to proxy
- * @param handler The handler that intercepts/overrides method calls.
+ * @param handler The handler that intercepts/overrides method calls.
* @return proxied object
*/
public <T> T newProxyInstance(Class<T> type, InvocationHandler handler) {
return type.cast(Proxy.newProxyInstance(handler.getClass().getClassLoader(), new Class<?>[] {type}, handler));
}
-
+
/**
* Creates a new proxy <code>CallableStatement</code> object.
* @param handler The handler that intercepts/overrides method calls.