You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2023/08/01 00:06:48 UTC
[commons-dbutils] 02/13: Inline
This is an automated email from the ASF dual-hosted git repository.
ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-dbutils.git
commit 46fc59ae15a337c3d49b1cb8143b246d62f85aa8
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Mon Jul 31 19:45:20 2023 -0400
Inline
---
.../apache/commons/dbutils/wrappers/StringTrimmedResultSet.java | 7 +------
1 file changed, 1 insertion(+), 6 deletions(-)
diff --git a/src/main/java/org/apache/commons/dbutils/wrappers/StringTrimmedResultSet.java b/src/main/java/org/apache/commons/dbutils/wrappers/StringTrimmedResultSet.java
index 634c7d4..808c2a5 100644
--- a/src/main/java/org/apache/commons/dbutils/wrappers/StringTrimmedResultSet.java
+++ b/src/main/java/org/apache/commons/dbutils/wrappers/StringTrimmedResultSet.java
@@ -45,11 +45,6 @@ import org.apache.commons.dbutils.ProxyFactory;
*/
public class StringTrimmedResultSet implements InvocationHandler {
- /**
- * The factory to create proxies with.
- */
- private static final ProxyFactory factory = ProxyFactory.instance();
-
/**
* Wraps the {@code ResultSet} in an instance of this class. This is
* equivalent to:
@@ -61,7 +56,7 @@ public class StringTrimmedResultSet implements InvocationHandler {
* @return wrapped ResultSet
*/
public static ResultSet wrap(final ResultSet rs) {
- return factory.createResultSet(new StringTrimmedResultSet(rs));
+ return ProxyFactory.instance().createResultSet(new StringTrimmedResultSet(rs));
}
/**