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 2024/05/22 14:32:55 UTC
(commons-dbutils) 02/05: Final static should be upper case
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 9e0b54a43d02fad48a852fd962e7c346a41b9553
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Wed May 22 10:25:24 2024 -0400
Final static should be upper case
---
src/main/java/org/apache/commons/dbutils/BasicRowProcessor.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/main/java/org/apache/commons/dbutils/BasicRowProcessor.java b/src/main/java/org/apache/commons/dbutils/BasicRowProcessor.java
index 7553015..8dbb110 100644
--- a/src/main/java/org/apache/commons/dbutils/BasicRowProcessor.java
+++ b/src/main/java/org/apache/commons/dbutils/BasicRowProcessor.java
@@ -137,7 +137,7 @@ public class BasicRowProcessor implements RowProcessor {
/**
* The Singleton instance of this class.
*/
- private static final BasicRowProcessor instance = new BasicRowProcessor();
+ private static final BasicRowProcessor INSTANCE = new BasicRowProcessor();
protected static Map<String, Object> createCaseInsensitiveHashMap(final int cols) {
return new CaseInsensitiveHashMap(cols);
@@ -152,7 +152,7 @@ public class BasicRowProcessor implements RowProcessor {
*/
@Deprecated
public static BasicRowProcessor instance() {
- return instance;
+ return INSTANCE;
}
/**