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:53 UTC
(commons-dbutils) branch master updated (54abb4d -> 5650aa2)
This is an automated email from the ASF dual-hosted git repository.
ggregory pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/commons-dbutils.git
from 54abb4d Bump codecov/codecov-action from 4.3.1 to 4.4.0 (#269)
new c0bcbf9 Final static should be upper case
new 9e0b54a Final static should be upper case
new b9e7045 Javadoc
new 1f999bb Final static should be upper case
new 5650aa2 Bump commons-parent from 69 to 70
The 5 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
pom.xml | 2 +-
src/changes/changes.xml | 2 +-
.../org/apache/commons/dbutils/BasicRowProcessor.java | 10 +++++-----
.../java/org/apache/commons/dbutils/ProxyFactory.java | 4 ++--
src/site/resources/spotbugs/sb-excludes.xml | 15 +++++++++++++++
5 files changed, 24 insertions(+), 9 deletions(-)
(commons-dbutils) 02/05: Final static should be upper case
Posted by gg...@apache.org.
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;
}
/**
(commons-dbutils) 05/05: Bump commons-parent from 69 to 70
Posted by gg...@apache.org.
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 5650aa2c5619f2ff17f9109b3f55475ce207297e
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Wed May 22 10:32:48 2024 -0400
Bump commons-parent from 69 to 70
Add SpotBugs exclusions for compatibility
---
pom.xml | 2 +-
src/changes/changes.xml | 2 +-
src/site/resources/spotbugs/sb-excludes.xml | 15 +++++++++++++++
3 files changed, 17 insertions(+), 2 deletions(-)
diff --git a/pom.xml b/pom.xml
index 4d45856..d13425e 100644
--- a/pom.xml
+++ b/pom.xml
@@ -19,7 +19,7 @@
<parent>
<groupId>org.apache.commons</groupId>
<artifactId>commons-parent</artifactId>
- <version>69</version>
+ <version>70</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>commons-dbutils</groupId>
diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index 1720492..712deb8 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -52,7 +52,7 @@ The <action> type attribute can be add,update,fix,remove.
<!-- ADD -->
<!-- UPDATE -->
<action dev="ggregory" type="update" due-to="Gary Gregory">Bump Java from 8 to 11.</action>
- <action dev="ggregory" type="update" due-to="Gary Gregory">Bump commons-parent from 62 to 69 #256.</action>
+ <action dev="ggregory" type="update" due-to="Gary Gregory">Bump commons-parent from 62 to 70 #256.</action>
</release>
<release version="1.8.1" date="2023-09-09" description="New features and bug fixes.">
<!-- FIX -->
diff --git a/src/site/resources/spotbugs/sb-excludes.xml b/src/site/resources/spotbugs/sb-excludes.xml
index b9f199c..f4a2442 100644
--- a/src/site/resources/spotbugs/sb-excludes.xml
+++ b/src/site/resources/spotbugs/sb-excludes.xml
@@ -51,4 +51,19 @@
<Method name="loadDriver" />
<Bug pattern="REC_CATCH_EXCEPTION" />
</Match>
+ <!-- Compatibility -->
+ <Match>
+ <Class name="org.apache.commons.dbutils.BasicRowProcessor" />
+ <Bug pattern="SING_SINGLETON_HAS_NONPRIVATE_CONSTRUCTOR" />
+ </Match>
+ <!-- Compatibility -->
+ <Match>
+ <Class name="org.apache.commons.dbutils.ProxyFactory" />
+ <Bug pattern="SING_SINGLETON_HAS_NONPRIVATE_CONSTRUCTOR" />
+ </Match>
+ <!-- Compatibility -->
+ <Match>
+ <Class name="org.apache.commons.dbutils.QueryLoader" />
+ <Bug pattern="SING_SINGLETON_HAS_NONPRIVATE_CONSTRUCTOR" />
+ </Match>
</FindBugsFilter>
\ No newline at end of file
(commons-dbutils) 03/05: Javadoc
Posted by gg...@apache.org.
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 b9e70457591887c728c3f6c3100f23fc76a4d0cc
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Wed May 22 10:26:11 2024 -0400
Javadoc
---
src/main/java/org/apache/commons/dbutils/BasicRowProcessor.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/main/java/org/apache/commons/dbutils/BasicRowProcessor.java b/src/main/java/org/apache/commons/dbutils/BasicRowProcessor.java
index 8dbb110..3ab34d6 100644
--- a/src/main/java/org/apache/commons/dbutils/BasicRowProcessor.java
+++ b/src/main/java/org/apache/commons/dbutils/BasicRowProcessor.java
@@ -148,7 +148,7 @@ public class BasicRowProcessor implements RowProcessor {
*
* @return The single instance of this class.
* @deprecated Create instances with the constructors instead. This will
- * be removed after DbUtils 1.1.
+ * be removed in 2.0.
*/
@Deprecated
public static BasicRowProcessor instance() {
(commons-dbutils) 04/05: Final static should be upper case
Posted by gg...@apache.org.
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 1f999bb65511154b5770e4e60f0379807a4abcdd
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Wed May 22 10:30:34 2024 -0400
Final static should be upper case
---
src/main/java/org/apache/commons/dbutils/ProxyFactory.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/main/java/org/apache/commons/dbutils/ProxyFactory.java b/src/main/java/org/apache/commons/dbutils/ProxyFactory.java
index 8bba34f..bcbe74b 100644
--- a/src/main/java/org/apache/commons/dbutils/ProxyFactory.java
+++ b/src/main/java/org/apache/commons/dbutils/ProxyFactory.java
@@ -39,7 +39,7 @@ public class ProxyFactory {
/**
* The Singleton instance of this class.
*/
- private static final ProxyFactory instance = new ProxyFactory();
+ private static final ProxyFactory INSTANCE = new ProxyFactory();
/**
* Returns the Singleton instance of this class.
@@ -47,7 +47,7 @@ public class ProxyFactory {
* @return singleton instance
*/
public static ProxyFactory instance() {
- return instance;
+ return INSTANCE;
}
/**
(commons-dbutils) 01/05: Final static should be upper case
Posted by gg...@apache.org.
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 c0bcbf9753c726fd01577a21e490d4987d55464a
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Wed May 22 10:24:58 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 495aa56..7553015 100644
--- a/src/main/java/org/apache/commons/dbutils/BasicRowProcessor.java
+++ b/src/main/java/org/apache/commons/dbutils/BasicRowProcessor.java
@@ -132,7 +132,7 @@ public class BasicRowProcessor implements RowProcessor {
* The default BeanProcessor instance to use if not supplied in the
* constructor.
*/
- private static final BeanProcessor defaultConvert = new BeanProcessor();
+ private static final BeanProcessor DEFAULT_CONVERTER = new BeanProcessor();
/**
* The Singleton instance of this class.
@@ -165,7 +165,7 @@ public class BasicRowProcessor implements RowProcessor {
* BeanProcessor instance.
*/
public BasicRowProcessor() {
- this(defaultConvert);
+ this(DEFAULT_CONVERTER);
}
/**