You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by th...@apache.org on 2020/01/05 03:13:04 UTC
[commons-dbutils] branch release updated (77faa3c -> 17415ad)
This is an automated email from the ASF dual-hosted git repository.
thecarlhall pushed a change to branch release
in repository https://gitbox.apache.org/repos/asf/commons-dbutils.git.
from 77faa3c Update issue tracking and mail list site docs
new 57c613c Update commons-parent version to 42. Add version for checkstyle plugin.
new 57a0fa4 Update ruleset paths to latest known path
new 24278ed Setup checkstyle as a managed plugin for easier use
new f2ee24b Set version for release
new 0530203 Bump to next release version 2.0-SNAPSHOT
new e6b27a0 Update 1.7 release date. Add 1.6 api docs to site menu.
new 0034e3b Remove oraclejdk7 from travis configuration, because it is no longer available.
new 2c9db4f .travis.yml: openjdk6
new c18e3a0 update README.md
new dc5e59b fix java 6 build on travis by using precise distribution
new f6e394d [DBUTILS-135] BeanProcessor is not thread safe since [DBUTILS-124].
new ce0626f Fix up changes.xml.
new b24bae9 Unnecessary semicolon.
new dd0b65b Javadoc: Add missing @throws and fix typo.
new f826986 Remove trailing white spaces on all lines.
new edffa6d [DBUTILS-137] Inefficient allocation of Maps in org.apache.commons.dbutils.BasicRowProcessor.toMap(ResultSet).
new 07db9fc [DBUTILS-136] CaseInsensitiveHashMap cannot be accessed by subclasses of BasicRowProcessor; add org.apache.commons.dbutils.BasicRowProcessor.createCaseInsensitiveHashMap(int).
new 65a6f1d [DBUTILS-136] CaseInsensitiveHashMap cannot be accessed by subclasses of BasicRowProcessor; add org.apache.commons.dbutils.BasicRowProcessor.createCaseInsensitiveHashMap(int).
new 0cdff0f Update commons-parent from 42 to 43.
new c8c5a79 remove jdk6 travis build because it does not work with commons-parent 43
new b9e88f7 travis: also build with java 9
new b88b84c Sort methods in AB order.
new bfbc27f [DBUTILS-138] org.apache.commons.dbutils.QueryRunner.query(Connection, boolean, String, ResultSetHandler<T>, Object...) Exception in closing statement leave connections open.
new b1dfe5f [DBUTILS-139] Update Java requirement from version 6 to 7.
new 261f76c [DBUTILS-139] Update Java requirement from version 6 to 7. Use try-with-resources.
new 418a8a8 [DBUTILS-139] Update Java requirement from version 6 to 7. Remove redundant specification of type arguments.
new b982b46 [DBUTILS-139] Update Java requirement from version 6 to 7. Remove redundant specification of type arguments.
new 032966e Remove trailing white spaces on all lines.
new bf35f2d Add final modifier to method parameters.
new 3bd02b3 Add final modifier to local variables.
new 93b5de9 Convert 'for' loops to enhanced 'for' loops.
new 791f789 Add missing '@Override' annotations.
new 2410e87 Don't need to nest in an else clause.
new cec0233 Typo: 'JavaDoc' -> 'Javadoc'.
new f38aa07 Fix PMD issue of unnecessary fully qualified name for class already imported
new 91b9297 Update Travis build with current JDKs.
new 9f69d1e Update Apache Commons Parent from 47 to 48.
new 814887f Add OpenJDK 12 to Travis builds.
new 864aa7b Update NOTICE file for 2019.
new 1a38dbe Name "Apache Commons" in page title.
new 02a9adf Use HTTPS links to Apache.
new a7a0b3a Replace Apache HTTP URL with HTTPS version.
new 1d78b92 Remove Oracle JDK 8. Add OpenJDK 13.
new ded3f77 Fix the site's source repository link.
new d28c9a9 Fix the site's source repository link.
new 90debdb git-wip-us => gitbox
new 170b97d Add a annotation Column for mapping
new 791c5eb unit test for annotation mapping
new 54004ab Added Apache license header to new file
new 47968c6 Ignore ctags file
new c218d04 Add jacoco plugin to build
new cb81b86 Configure to current coverage metrics
new 3136261 Dedupe property name logic
new 806e836 Simplify logic to only convert to Timestamp if not already a timestamp.
new e526b12 Add coverage for proxied methods in DriverProxy
new 81c3080 Configure jacoco using the parent pom Replace usage of cobertura with jacoco Upgrade Mockito to latest
new 22985b0 Rotate checks in an 'and' conditional to perform cheapest first. Add behavioral test to verify that custom row processor is used.
new cdc493a Add coverage for static function to wrap ResultSet with null-checker
new bd8c45c Always copy Date, Time, Timestamp objects on get or set. Handle null byte[] on setter.
new d15d382 Add tests for setting null on date, time, timestamp
new fc2cc49 Javadoc: Replace <code></code> HTML tags with Javadoc {@code} notation.
new 18d337b Remove unnecessary array creation for varargs.
new d876457 Update to latest commons-parent pom
new 91fe623 Add missing package-info files
new ca543f1 Use checkstyle-plugin version from parent pom, and use latest checkstyle dependency Update junit, mockito to latest non-rc releases Correct checkstyle config based on updates
new 4a2b3dd Change from findbugs to spotbugs since findbugs is no longer maintained Add spotbugs exclusions for false positives
new 86e1c0c Add checkstyle suppressions for false positives
new 25dfa92 Mark a private static inner class as final Update license header on test class Add javadoc where missing or change to inheritDocs
new 8064370 Suppress missing header false positive on props file
new 24d49d6 Add known difference for field accessibility going to private
new 8c97dbf Update changes for the next release.
new 0943408 Remove removed property for japicmp as of commons-parent:50. Will re-enable by file later when I figure out how to ignore a known breakage between major revisions.
new 01430f8 Add javadoc to new annotation
new 7d39033 Correct deprecated methods to use advised call per javadoc. Suppress unchecked warning when creating an enum from String.
new 35576e1 Activate profiles for clirr and japicmp
new dd999f5 Add config for japicmp to not break the build; update version. Add minSeverity to clirr configuration.
new 2f83b46 Remove ignored clirr differences. It's valuable at build time to point out at build time and is included in reports for publishing. Ignoring anything here may create dischord with what is reported by japicmp.
new 7df74a2 Update travis post command to use jacoco, its profile, and run in batch mode
new cd17406 Duplicate travis-jacoco profile to force dependency on jaxb-api to solve build with coveralls
new afe32cd Update versions and maven prereq based on versions scan. Remove deprecated property from checkstyle config https://github.com/checkstyle/checkstyle/issues/7329
new 2ce9dd7 Revert field from private to protected to maintain binary compatibility in the next release. This was the only breaking change.
new 8177b1b Remove change record noting breaking change since that was reverted.
new 2dbd14f DBUTILS-131 Optimization to use PreparedStatement only when params are available
new 4618c13 Updated download page in preparation for 1.8 release
new cf524c5 Updating release details for 1.8
new 52c384c Add isDistModule prop to use commons release plugin
new 17415ad [maven-release-plugin] prepare release DBUTILS_1_8_RC1
The 87 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:
.gitignore | 1 +
.travis.yml | 10 +-
NOTICE.txt | 2 +-
README.md | 17 +-
RELEASE-NOTES.txt | 26 +-
checkstyle-suppressions.xml | 31 +
checkstyle.xml | 16 +-
pmd-ruleset.xml | 13 +-
pom.xml | 132 ++-
sb-excludes.xml | 37 +
src/changes/changes.xml | 44 +-
.../commons/dbutils/AbstractQueryRunner.java | 503 ++++----
.../apache/commons/dbutils/AsyncQueryRunner.java | 106 +-
.../commons/dbutils/BaseResultSetHandler.java | 1254 ++++++--------------
.../apache/commons/dbutils/BasicRowProcessor.java | 84 +-
.../org/apache/commons/dbutils/BeanProcessor.java | 188 +--
.../org/apache/commons/dbutils/ColumnHandler.java | 94 +-
.../java/org/apache/commons/dbutils/DbUtils.java | 115 +-
.../org/apache/commons/dbutils/OutParameter.java | 61 +-
.../apache/commons/dbutils/PropertyHandler.java | 8 +-
.../org/apache/commons/dbutils/ProxyFactory.java | 30 +-
.../org/apache/commons/dbutils/QueryLoader.java | 32 +-
.../org/apache/commons/dbutils/QueryRunner.java | 313 ++---
.../apache/commons/dbutils/ResultSetHandler.java | 10 +-
.../apache/commons/dbutils/ResultSetIterator.java | 42 +-
.../org/apache/commons/dbutils/RowProcessor.java | 32 +-
.../commons/dbutils/StatementConfiguration.java | 41 +-
.../package-info.java => annotations/Column.java} | 17 +-
.../commons/dbutils/annotations/package-info.java | 5 +
.../dbutils/handlers/AbstractKeyedHandler.java | 28 +-
.../dbutils/handlers/AbstractListHandler.java | 16 +-
.../commons/dbutils/handlers/ArrayHandler.java | 18 +-
.../commons/dbutils/handlers/ArrayListHandler.java | 18 +-
.../commons/dbutils/handlers/BeanHandler.java | 26 +-
.../commons/dbutils/handlers/BeanListHandler.java | 24 +-
.../commons/dbutils/handlers/BeanMapHandler.java | 36 +-
.../dbutils/handlers/ColumnListHandler.java | 30 +-
.../commons/dbutils/handlers/KeyedHandler.java | 38 +-
.../commons/dbutils/handlers/MapHandler.java | 22 +-
.../commons/dbutils/handlers/MapListHandler.java | 18 +-
.../commons/dbutils/handlers/ScalarHandler.java | 32 +-
.../handlers/columns/BooleanColumnHandler.java | 4 +-
.../handlers/columns/ByteColumnHandler.java | 4 +-
.../handlers/columns/DoubleColumnHandler.java | 4 +-
.../handlers/columns/FloatColumnHandler.java | 4 +-
.../handlers/columns/IntegerColumnHandler.java | 4 +-
.../handlers/columns/LongColumnHandler.java | 4 +-
.../handlers/columns/SQLXMLColumnHandler.java | 4 +-
.../handlers/columns/ShortColumnHandler.java | 4 +-
.../handlers/columns/StringColumnHandler.java | 4 +-
.../handlers/columns/TimestampColumnHandler.java | 4 +-
.../columns}/package-info.java | 4 +-
.../handlers/properties/DatePropertyHandler.java | 30 +-
.../properties/StringEnumPropertyHandler.java | 8 +-
.../dbutils/handlers/properties/package-info.java} | 8 +-
.../dbutils/wrappers/SqlNullCheckedResultSet.java | 201 ++--
.../dbutils/wrappers/StringTrimmedResultSet.java | 30 +-
.../resources/{profile.cobertura => profile.clirr} | 0
.../{profile.cobertura => profile.jacoco} | 0
.../{profile.cobertura => profile.japicmp} | 0
src/site/site.xml | 8 +-
src/site/xdoc/building.xml | 4 +-
src/site/xdoc/download_dbutils.xml | 254 ++--
src/site/xdoc/mail-lists.xml | 18 +-
.../commons/dbutils/AsyncQueryRunnerTest.java | 175 +--
.../commons/dbutils/BaseResultSetHandlerTest.java | 8 +-
.../org/apache/commons/dbutils/BaseTestCase.java | 276 ++---
.../commons/dbutils/BasicRowProcessorTest.java | 6 +-
.../apache/commons/dbutils/BeanProcessorTest.java | 90 +-
.../org/apache/commons/dbutils/DbUtilsTest.java | 112 +-
.../commons/dbutils/GenerousBeanProcessorTest.java | 312 ++---
.../org/apache/commons/dbutils/MockResultSet.java | 89 +-
.../commons/dbutils/MockResultSetMetaData.java | 16 +-
.../apache/commons/dbutils/OutParameterTest.java | 15 +-
.../apache/commons/dbutils/ProxyFactoryTest.java | 2 +-
.../apache/commons/dbutils/QueryLoaderTest.java | 12 +-
.../apache/commons/dbutils/QueryRunnerTest.java | 301 ++---
.../commons/dbutils/ResultSetIteratorTest.java | 14 +-
.../apache/commons/dbutils/ServiceLoaderTest.java | 8 +-
.../dbutils/StatementConfigurationTest.java | 10 +-
.../java/org/apache/commons/dbutils/TestBean.java | 22 +-
.../commons/dbutils/handlers/ArrayHandlerTest.java | 8 +-
.../dbutils/handlers/ArrayListHandlerTest.java | 10 +-
.../commons/dbutils/handlers/BeanHandlerTest.java | 16 +-
.../dbutils/handlers/BeanListHandlerTest.java | 22 +-
.../dbutils/handlers/BeanMapHandlerTest.java | 10 +-
.../dbutils/handlers/ColumnListHandlerTest.java | 16 +-
.../commons/dbutils/handlers/KeyedHandlerTest.java | 49 +-
.../commons/dbutils/handlers/MapHandlerTest.java | 8 +-
.../dbutils/handlers/MapListHandlerTest.java | 10 +-
.../dbutils/handlers/ScalarHandlerTest.java | 16 +-
.../handlers/columns/ColumnHandlerTestBase.java | 2 +-
.../handlers/columns/TestColumnHandler.java | 4 +-
.../properties/DatePropertyHandlerTest.java | 34 +-
.../handlers/properties/PropertyHandlerTest.java | 4 +-
.../handlers/properties/TestPropertyHandler.java | 4 +-
.../wrappers/SqlNullCheckedResultSetTest.java | 195 +--
.../wrappers/StringTrimmedResultSetTest.java | 4 +-
98 files changed, 3015 insertions(+), 3040 deletions(-)
create mode 100644 checkstyle-suppressions.xml
create mode 100644 sb-excludes.xml
copy src/main/java/org/apache/commons/dbutils/{wrappers/package-info.java => annotations/Column.java} (63%)
copy license-header.txt => src/main/java/org/apache/commons/dbutils/annotations/package-info.java (90%)
copy src/main/java/org/apache/commons/dbutils/{wrappers => handlers/columns}/package-info.java (86%)
copy src/{test/java/org/apache/commons/dbutils/handlers/properties/TestEnum.java => main/java/org/apache/commons/dbutils/handlers/properties/package-info.java} (90%)
copy src/site/resources/{profile.cobertura => profile.clirr} (100%)
copy src/site/resources/{profile.cobertura => profile.jacoco} (100%)
rename src/site/resources/{profile.cobertura => profile.japicmp} (100%)