commons-pool.git
9 months agoBump junit-bom from 5.8.0 to 5.8.1 #103.
Gary Gregory [Sun, 17 Oct 2021 14:13:09 +0000 (10:13 -0400)] 
Bump junit-bom from 5.8.0 to 5.8.1 #103.

9 months agoBump junit-bom from 5.8.0 to 5.8.1 (#103)
dependabot[bot] [Sun, 17 Oct 2021 14:12:24 +0000 (10:12 -0400)] 
Bump junit-bom from 5.8.0 to 5.8.1 (#103)

Bumps [junit-bom](https://github.com/junit-team/junit5) from 5.8.0 to 5.8.1.
- [Release notes](https://github.com/junit-team/junit5/releases)
- [Commits](https://github.com/junit-team/junit5/compare/r5.8.0...r5.8.1)

---
updated-dependencies:
- dependency-name: org.junit:junit-bom
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
10 months agoUpdate GitHub build from Java 16 to 17.
Gary Gregory [Tue, 28 Sep 2021 15:23:06 +0000 (11:23 -0400)] 
Update GitHub build from Java 16 to 17.

Update GitHub build from Java 17-EA to 18-EA but comment it (not there
yet).

10 months agoMerge branch 'master' of https://gitbox.apache.org/repos/asf/commons-pool.git
Gary Gregory [Thu, 23 Sep 2021 14:39:59 +0000 (10:39 -0400)] 
Merge branch 'master' of https://gitbox.apache.org/repos/asf/commons-pool.git

10 months agoBump spotbugs-maven-plugin from 4.3.0 to 4.4.1 #102.
Gary Gregory [Thu, 23 Sep 2021 14:39:53 +0000 (10:39 -0400)] 
Bump spotbugs-maven-plugin from 4.3.0 to 4.4.1 #102.

10 months agoBump spotbugs-maven-plugin from 4.3.0 to 4.4.1 (#102)
dependabot[bot] [Thu, 23 Sep 2021 14:38:46 +0000 (10:38 -0400)] 
Bump spotbugs-maven-plugin from 4.3.0 to 4.4.1 (#102)

Bumps [spotbugs-maven-plugin](https://github.com/spotbugs/spotbugs-maven-plugin) from 4.3.0 to 4.4.1.
- [Release notes](https://github.com/spotbugs/spotbugs-maven-plugin/releases)
- [Commits](https://github.com/spotbugs/spotbugs-maven-plugin/compare/spotbugs-maven-plugin-4.3.0...spotbugs-maven-plugin-4.4.1)

---
updated-dependencies:
- dependency-name: com.github.spotbugs:spotbugs-maven-plugin
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
10 months agoBump maven-pmd-plugin from 3.14.0 to 3.15.0 #101.
Gary Gregory [Thu, 23 Sep 2021 14:24:41 +0000 (10:24 -0400)] 
Bump maven-pmd-plugin from 3.14.0 to 3.15.0 #101.

10 months agoBump maven-pmd-plugin from 3.14.0 to 3.15.0 (#101)
dependabot[bot] [Thu, 23 Sep 2021 14:24:15 +0000 (10:24 -0400)] 
Bump maven-pmd-plugin from 3.14.0 to 3.15.0 (#101)

Bumps [maven-pmd-plugin](https://github.com/apache/maven-pmd-plugin) from 3.14.0 to 3.15.0.
- [Release notes](https://github.com/apache/maven-pmd-plugin/releases)
- [Commits](https://github.com/apache/maven-pmd-plugin/compare/maven-pmd-plugin-3.14.0...maven-pmd-plugin-3.15.0)

---
updated-dependencies:
- dependency-name: org.apache.maven.plugins:maven-pmd-plugin
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
10 months agoBump junit-bom from 5.8.0-RC1 to 5.8.0 #100.
Gary Gregory [Thu, 23 Sep 2021 14:23:59 +0000 (10:23 -0400)] 
Bump junit-bom from 5.8.0-RC1 to 5.8.0 #100.

10 months agoBump junit-bom from 5.8.0-RC1 to 5.8.0 (#100)
dependabot[bot] [Thu, 23 Sep 2021 14:21:18 +0000 (10:21 -0400)] 
Bump junit-bom from 5.8.0-RC1 to 5.8.0 (#100)

Bumps [junit-bom](https://github.com/junit-team/junit5) from 5.8.0-RC1 to 5.8.0.
- [Release notes](https://github.com/junit-team/junit5/releases)
- [Commits](https://github.com/junit-team/junit5/compare/r5.8.0-RC1...r5.8.0)

---
updated-dependencies:
- dependency-name: org.junit:junit-bom
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
10 months agoBump spotbugs from 4.4.0 to 4.4.1 #99.
Gary Gregory [Thu, 23 Sep 2021 14:21:00 +0000 (10:21 -0400)] 
Bump spotbugs from 4.4.0 to 4.4.1 #99.

10 months agoBump spotbugs from 4.4.0 to 4.4.1 (#99)
dependabot[bot] [Thu, 23 Sep 2021 14:20:14 +0000 (10:20 -0400)] 
Bump spotbugs from 4.4.0 to 4.4.1 (#99)

Bumps [spotbugs](https://github.com/spotbugs/spotbugs) from 4.4.0 to 4.4.1.
- [Release notes](https://github.com/spotbugs/spotbugs/releases)
- [Changelog](https://github.com/spotbugs/spotbugs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/spotbugs/spotbugs/compare/4.4.0...4.4.1)

---
updated-dependencies:
- dependency-name: com.github.spotbugs:spotbugs
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
11 months agoBump checkstyle from 8.45.1 to 9.0 #97.
Gary Gregory [Thu, 2 Sep 2021 18:34:28 +0000 (14:34 -0400)] 
Bump checkstyle from 8.45.1 to 9.0 #97.

11 months agoBump checkstyle from 8.45.1 to 9.0 (#97)
dependabot[bot] [Thu, 2 Sep 2021 18:33:43 +0000 (14:33 -0400)] 
Bump checkstyle from 8.45.1 to 9.0 (#97)

Bumps [checkstyle](https://github.com/checkstyle/checkstyle) from 8.45.1 to 9.0.
- [Release notes](https://github.com/checkstyle/checkstyle/releases)
- [Commits](https://github.com/checkstyle/checkstyle/compare/checkstyle-8.45.1...checkstyle-9.0)

---
updated-dependencies:
- dependency-name: com.puppycrawl.tools:checkstyle
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
11 months agoAdd missing Javadoc that causes the build to fail.
Gary Gregory [Thu, 2 Sep 2021 16:20:20 +0000 (12:20 -0400)] 
Add missing Javadoc that causes the build to fail.

11 months agoDon't use reflection.
Gary Gregory [Thu, 2 Sep 2021 15:59:17 +0000 (11:59 -0400)] 
Don't use reflection.

11 months agoUse enhanced for loops rather than iterators
Mark Thomas [Thu, 2 Sep 2021 11:46:15 +0000 (12:46 +0100)] 
Use enhanced for loops rather than iterators

11 months agoTrivial clean-up
Mark Thomas [Thu, 2 Sep 2021 11:44:34 +0000 (12:44 +0100)] 
Trivial clean-up

11 months agoAdoptOpenJDK is moving to the Eclipse Foundation and rebranding as
Gary Gregory [Sun, 29 Aug 2021 04:27:56 +0000 (00:27 -0400)] 
AdoptOpenJDK is moving to the Eclipse Foundation and rebranding as
Eclipse Temurin.

11 months agoOrganize imports.
Gary Gregory [Mon, 23 Aug 2021 12:36:13 +0000 (08:36 -0400)] 
Organize imports.

11 months agoSort members.
Gary Gregory [Mon, 23 Aug 2021 12:35:57 +0000 (08:35 -0400)] 
Sort members.

11 months agoBetter internal name.
Gary Gregory [Mon, 23 Aug 2021 12:35:14 +0000 (08:35 -0400)] 
Better internal name.

11 months agoJavadoc.
Gary Gregory [Mon, 23 Aug 2021 12:34:27 +0000 (08:34 -0400)] 
Javadoc.

11 months agoRemove unused exceptions from test methods.
Gary Gregory [Sun, 22 Aug 2021 13:18:56 +0000 (09:18 -0400)] 
Remove unused exceptions from test methods.

11 months agoCast not needed.
Gary Gregory [Sun, 22 Aug 2021 13:16:44 +0000 (09:16 -0400)] 
Cast not needed.

11 months agoBump junit-bom from 5.8.0-M1 to 5.8.0-RC1 #96.
Gary Gregory [Sun, 22 Aug 2021 13:15:12 +0000 (09:15 -0400)] 
Bump junit-bom from 5.8.0-M1 to 5.8.0-RC1 #96.

11 months agoBump junit-bom from 5.8.0-M1 to 5.8.0-RC1 (#96)
dependabot[bot] [Sun, 22 Aug 2021 13:14:43 +0000 (09:14 -0400)] 
Bump junit-bom from 5.8.0-M1 to 5.8.0-RC1 (#96)

Bumps [junit-bom](https://github.com/junit-team/junit5) from 5.8.0-M1 to 5.8.0-RC1.
- [Release notes](https://github.com/junit-team/junit5/releases)
- [Commits](https://github.com/junit-team/junit5/compare/r5.8.0-M1...r5.8.0-RC1)

---
updated-dependencies:
- dependency-name: org.junit:junit-bom
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
11 months agoBump spotbugs from 4.3.0 to 4.4.0 #94.
Gary Gregory [Sun, 22 Aug 2021 13:14:31 +0000 (09:14 -0400)] 
Bump spotbugs from 4.3.0 to 4.4.0 #94.

11 months agoBump spotbugs from 4.3.0 to 4.4.0 (#94)
dependabot[bot] [Sun, 22 Aug 2021 13:13:24 +0000 (09:13 -0400)] 
Bump spotbugs from 4.3.0 to 4.4.0 (#94)

Bumps [spotbugs](https://github.com/spotbugs/spotbugs) from 4.3.0 to 4.4.0.
- [Release notes](https://github.com/spotbugs/spotbugs/releases)
- [Changelog](https://github.com/spotbugs/spotbugs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/spotbugs/spotbugs/compare/4.3.0...4.4.0)

---
updated-dependencies:
- dependency-name: com.github.spotbugs:spotbugs
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
11 months agoAdd PooledObject.getFullDuration().
Gary Gregory [Fri, 20 Aug 2021 00:24:41 +0000 (20:24 -0400)] 
Add PooledObject.getFullDuration().

11 months agoBump to next development version
Gary Gregory [Wed, 18 Aug 2021 19:52:29 +0000 (15:52 -0400)] 
Bump to next development version

11 months agoUpdate POM version numbers for Apache Commons Pool release 2.11.1 commons-pool-2.11.1-RC1 rel/commons-pool-2.11.1
Gary Gregory [Sat, 14 Aug 2021 13:42:35 +0000 (09:42 -0400)] 
Update POM version numbers for Apache Commons Pool release 2.11.1

11 months agoPrepare for release candidate.
Gary Gregory [Sat, 14 Aug 2021 13:41:04 +0000 (09:41 -0400)] 
Prepare for release candidate.

11 months agoAll the artifacts now have sha512 hashes.
Gary Gregory [Sat, 14 Aug 2021 13:36:44 +0000 (09:36 -0400)] 
All the artifacts now have sha512 hashes.

11 months agoAdd missing tests.
Gary Gregory [Sat, 14 Aug 2021 13:29:58 +0000 (09:29 -0400)] 
Add missing tests.

11 months agoUse final, remove trailing whitespace.
Gary Gregory [Sat, 14 Aug 2021 13:11:57 +0000 (09:11 -0400)] 
Use final, remove trailing whitespace.

11 months agoSimplify platform requirement so this page does not need an update for
Gary Gregory [Sat, 14 Aug 2021 12:51:12 +0000 (08:51 -0400)] 
Simplify platform requirement so this page does not need an update for
each release.

11 months agoPrepare for the next release candidate.
Gary Gregory [Sat, 14 Aug 2021 12:50:25 +0000 (08:50 -0400)] 
Prepare for the next release candidate.

11 months agoMinors Changes #89.
Gary Gregory [Sat, 14 Aug 2021 12:50:04 +0000 (08:50 -0400)] 
Minors Changes #89.

11 months ago* Chain Stream (#89)
Arturo Bernal [Sat, 14 Aug 2021 12:42:39 +0000 (14:42 +0200)] 
* Chain Stream (#89)

* Replace For loop with map.forEach
* Inline variable

11 months agoUse assertThrows.
Gary Gregory [Sat, 14 Aug 2021 01:19:47 +0000 (21:19 -0400)] 
Use assertThrows.

11 months agoRemove leading underscores from instance variable names.
Gary Gregory [Fri, 13 Aug 2021 22:20:41 +0000 (18:20 -0400)] 
Remove leading underscores from instance variable names.

11 months agoRefactor so much duplication of the same pattern.
Gary Gregory [Fri, 13 Aug 2021 21:58:32 +0000 (17:58 -0400)] 
Refactor so much duplication of the same pattern.

11 months agoFix formatting.
Gary Gregory [Fri, 13 Aug 2021 20:57:22 +0000 (16:57 -0400)] 
Fix formatting.

11 months agoUse assertThrows.
Gary Gregory [Fri, 13 Aug 2021 20:05:30 +0000 (16:05 -0400)] 
Use assertThrows.

11 months agoNote previous change.
Gary Gregory [Fri, 13 Aug 2021 20:05:08 +0000 (16:05 -0400)] 
Note previous change.

11 months agoReimplement BaseGenericObjectPool.maxBorrowWait as a Duration instead of
Gary Gregory [Fri, 13 Aug 2021 20:04:56 +0000 (16:04 -0400)] 
Reimplement BaseGenericObjectPool.maxBorrowWait as a Duration instead of
a long.

11 months agoFix Javadoc.
Gary Gregory [Fri, 13 Aug 2021 19:36:50 +0000 (15:36 -0400)] 
Fix Javadoc.

11 months agoBump spotbugs from 4.2.3 to 4.3.0 and ignore new medium warnings
Gary Gregory [Fri, 13 Aug 2021 19:32:04 +0000 (15:32 -0400)] 
Bump spotbugs from 4.2.3 to 4.3.0 and ignore new medium warnings
EI_EXPOSE_REP and EI_EXPOSE_REP2.

11 months agoDefaultPooledObject.getIdleTime() drops nanoseconds on Java 9 and
Gary Gregory [Fri, 13 Aug 2021 19:22:19 +0000 (15:22 -0400)] 
DefaultPooledObject.getIdleTime() drops nanoseconds on Java 9 and
greater.

11 months agoFix tests (again, failing on GH, ok, locally).
Gary Gregory [Fri, 13 Aug 2021 18:35:01 +0000 (14:35 -0400)] 
Fix tests (again, failing on GH, ok, locally).

11 months agoFix typos.
Gary Gregory [Fri, 13 Aug 2021 18:29:21 +0000 (14:29 -0400)] 
Fix typos.

11 months agoAdd missing test.
Gary Gregory [Fri, 13 Aug 2021 16:23:48 +0000 (12:23 -0400)] 
Add missing test.

11 months agoBetter description.
Gary Gregory [Fri, 13 Aug 2021 16:04:13 +0000 (12:04 -0400)] 
Better description.

11 months agoReimplement DefaultPooledObject.getIdleDuration() using Duration
Gary Gregory [Fri, 13 Aug 2021 16:02:07 +0000 (12:02 -0400)] 
Reimplement DefaultPooledObject.getIdleDuration() using Duration
computation.

The default implementation of TrackedUse.getLastUsedInstant() uses
seconds instead of milliseconds. This interface is not implemented
within Commons Pool.

Local build ok, still looking at weird GH build failures.

11 months agoFix tests (again, failing on GH, ok, locally).
Gary Gregory [Fri, 13 Aug 2021 15:29:23 +0000 (11:29 -0400)] 
Fix tests (again, failing on GH, ok, locally).

11 months agoFix tests (again, failing on GH, ok, locally).
Gary Gregory [Fri, 13 Aug 2021 14:55:08 +0000 (10:55 -0400)] 
Fix tests (again, failing on GH, ok, locally).

11 months agoFix tests (again, failing on GH, ok, locally).
Gary Gregory [Fri, 13 Aug 2021 14:54:53 +0000 (10:54 -0400)] 
Fix tests (again, failing on GH, ok, locally).

11 months agoFix tests (again, failing on GH, ok, locally).
Gary Gregory [Fri, 13 Aug 2021 14:46:35 +0000 (10:46 -0400)] 
Fix tests (again, failing on GH, ok, locally).

11 months agoFix tests.
Gary Gregory [Fri, 13 Aug 2021 14:30:35 +0000 (10:30 -0400)] 
Fix tests.

11 months agoAdd comment from previous version.
Gary Gregory [Fri, 13 Aug 2021 13:56:35 +0000 (09:56 -0400)] 
Add comment from previous version.

11 months agoRound out test.
Gary Gregory [Fri, 13 Aug 2021 13:38:12 +0000 (09:38 -0400)] 
Round out test.

11 months agoBetter local name.
Gary Gregory [Fri, 13 Aug 2021 13:35:59 +0000 (09:35 -0400)] 
Better local name.

11 months agoAdd test.
Gary Gregory [Fri, 13 Aug 2021 13:34:44 +0000 (09:34 -0400)] 
Add test.

11 months agoReorg tests.
Gary Gregory [Fri, 13 Aug 2021 13:20:18 +0000 (09:20 -0400)] 
Reorg tests.

11 months agoTest old and new APIs.
Gary Gregory [Fri, 13 Aug 2021 13:12:40 +0000 (09:12 -0400)] 
Test old and new APIs.

11 months agoAdd tests.
Gary Gregory [Fri, 13 Aug 2021 13:10:13 +0000 (09:10 -0400)] 
Add tests.

11 months agoRemove leading underscores from instance variable names.
Gary Gregory [Fri, 13 Aug 2021 12:53:19 +0000 (08:53 -0400)] 
Remove leading underscores from instance variable names.

11 months agoBump checkstyle from 8.45 to 8.45.1 (#93)
dependabot[bot] [Fri, 13 Aug 2021 12:50:33 +0000 (08:50 -0400)] 
Bump checkstyle from 8.45 to 8.45.1 (#93)

Bumps [checkstyle](https://github.com/checkstyle/checkstyle) from 8.45 to 8.45.1.
- [Release notes](https://github.com/checkstyle/checkstyle/releases)
- [Commits](https://github.com/checkstyle/checkstyle/compare/checkstyle-8.45...checkstyle-8.45.1)

---
updated-dependencies:
- dependency-name: com.puppycrawl.tools:checkstyle
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
11 months agoGetting a PooledObject's active duration returns a negative duration
Gary Gregory [Thu, 12 Aug 2021 21:47:00 +0000 (17:47 -0400)] 
Getting a PooledObject's active duration returns a negative duration
when the object is borrowed but not returned. Affects:
- PooledObject.getActiveDuration()
- PooledObject.getActiveTime()
- PooledObject.getActiveTimeMillis()

11 months agoGetting a PooledObject's active duration returns a negative duration
Gary Gregory [Thu, 12 Aug 2021 21:03:36 +0000 (17:03 -0400)] 
Getting a PooledObject's active duration returns a negative duration
when the object is borrowed but not returned. Affects:
- PooledObject.getActiveDuration()
- PooledObject.getActiveTime()
- PooledObject.getActiveTimeMillis()

11 months agoAdd missing low-level tests.
Gary Gregory [Thu, 12 Aug 2021 19:06:35 +0000 (15:06 -0400)] 
Add missing low-level tests.

11 months agoSort members.
Gary Gregory [Thu, 12 Aug 2021 19:00:03 +0000 (15:00 -0400)] 
Sort members.

11 months agoRefactor test constants.
Gary Gregory [Thu, 12 Aug 2021 18:56:20 +0000 (14:56 -0400)] 
Refactor test constants.

11 months agoBetter description.
Gary Gregory [Thu, 12 Aug 2021 17:03:10 +0000 (13:03 -0400)] 
Better description.

11 months agoFix toString message and exception message.
Gary Gregory [Thu, 12 Aug 2021 17:02:11 +0000 (13:02 -0400)] 
Fix toString message and exception message.

- Fix field label in BaseGenericObjectPool: From
timeBetweenEvictionRunsMillis to durationBetweenEvictionRuns.
- Fix field label in BaseObjectPoolConfig: From maxWaitMillis to
maxWaitDuration.
- Fix field label in NoSuchElementException message for
GenericObjectPool.borrowObject(Duration): From borrowMaxWaitMillis to
borrowMaxWaitDuration.
- Javadoc tweak.

11 months agoBump to next development version
Gary Gregory [Thu, 12 Aug 2021 14:31:12 +0000 (10:31 -0400)] 
Bump to next development version

12 months agoUpdate POM version numbers for Apache release 2.11.0 commons-pool-2.11.0-RC1 rel/commons-pool-2.11.0
Gary Gregory [Sun, 8 Aug 2021 20:49:47 +0000 (16:49 -0400)] 
Update POM version numbers for Apache release 2.11.0

12 months agoPrepare for release candidate.
Gary Gregory [Sun, 8 Aug 2021 20:48:28 +0000 (16:48 -0400)] 
Prepare for release candidate.

12 months agoPrepare for release candidate.
Gary Gregory [Sun, 8 Aug 2021 20:47:06 +0000 (16:47 -0400)] 
Prepare for release candidate.

12 months agoRemove duplicate.
Gary Gregory [Sun, 8 Aug 2021 19:18:01 +0000 (15:18 -0400)] 
Remove duplicate.

12 months agoAdd missing override methods to avoid calling default methods creating
Gary Gregory [Sun, 8 Aug 2021 17:49:52 +0000 (13:49 -0400)] 
Add missing override methods to avoid calling default methods creating
unnecessary objects.

12 months agoSort members.
Gary Gregory [Sun, 8 Aug 2021 15:58:18 +0000 (11:58 -0400)] 
Sort members.

12 months agoRename private instance variable.
Gary Gregory [Sun, 8 Aug 2021 15:57:10 +0000 (11:57 -0400)] 
Rename private instance variable.

12 months agoRename new method.
Gary Gregory [Sun, 8 Aug 2021 15:44:12 +0000 (11:44 -0400)] 
Rename new method.

12 months agoRename new method.
Gary Gregory [Sun, 8 Aug 2021 15:43:07 +0000 (11:43 -0400)] 
Rename new method.

12 months agoAdd and use Duration APIs in PooledObject: getActiveDuration().
Gary Gregory [Sun, 8 Aug 2021 15:42:24 +0000 (11:42 -0400)] 
Add and use Duration APIs in PooledObject: getActiveDuration().

12 months agoMerge branch 'master' of https://gitbox.apache.org/repos/asf/commons-pool.git
Gary Gregory [Sun, 8 Aug 2021 15:28:23 +0000 (11:28 -0400)] 
Merge branch 'master' of https://gitbox.apache.org/repos/asf/commons-pool.git

12 months agoNo need to initialize to default values. #90.
Gary Gregory [Sun, 8 Aug 2021 15:28:15 +0000 (11:28 -0400)] 
No need to initialize to default values. #90.

12 months agoRemove explicitly initialized. (#90)
Arturo Bernal [Sun, 8 Aug 2021 15:27:45 +0000 (17:27 +0200)] 
Remove explicitly initialized. (#90)

12 months agoFix Javadoc link reference #91.
Gary Gregory [Sun, 8 Aug 2021 15:26:33 +0000 (11:26 -0400)] 
Fix Javadoc link reference #91.

12 months agoFix worng javadoc. (#91)
Arturo Bernal [Sun, 8 Aug 2021 15:24:16 +0000 (17:24 +0200)] 
Fix worng javadoc. (#91)

12 months agoMerge branch 'master' of https://gitbox.apache.org/repos/asf/commons-pool.git
Gary Gregory [Sun, 8 Aug 2021 15:19:10 +0000 (11:19 -0400)] 
Merge branch 'master' of https://gitbox.apache.org/repos/asf/commons-pool.git

12 months agoBump checkstyle from 8.44 to 8.45 #92
Gary Gregory [Sun, 8 Aug 2021 15:18:58 +0000 (11:18 -0400)] 
Bump checkstyle from 8.44 to 8.45 #92

12 months agoBump checkstyle from 8.44 to 8.45 (#92)
dependabot[bot] [Sun, 8 Aug 2021 15:17:02 +0000 (11:17 -0400)] 
Bump checkstyle from 8.44 to 8.45 (#92)

Bumps [checkstyle](https://github.com/checkstyle/checkstyle) from 8.44 to 8.45.
- [Release notes](https://github.com/checkstyle/checkstyle/releases)
- [Commits](https://github.com/checkstyle/checkstyle/compare/checkstyle-8.44...checkstyle-8.45)

---
updated-dependencies:
- dependency-name: com.puppycrawl.tools:checkstyle
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
12 months agoInline variables when only used once immediately in a return.
Gary Gregory [Sat, 24 Jul 2021 23:34:53 +0000 (19:34 -0400)] 
Inline variables when only used once immediately in a return.

Remove unused import.

12 months agoBump com.github.spotbugs:spotbugs from 4.2.3 to 4.3.0.
Gary Gregory [Sat, 24 Jul 2021 22:07:50 +0000 (18:07 -0400)] 
Bump com.github.spotbugs:spotbugs from 4.2.3 to 4.3.0.

12 months agoPut fix section first.
Gary Gregory [Sat, 24 Jul 2021 22:05:34 +0000 (18:05 -0400)] 
Put fix section first.

12 months agoUse Durations instead of ints or longs.
Gary Gregory [Sat, 24 Jul 2021 22:05:15 +0000 (18:05 -0400)] 
Use Durations instead of ints or longs.

- Add and use Duration APIs in BaseGenericObjectPool:
getDurationBetweenEvictionRuns(), getEvictorShutdownTimeoutDuration(),
getMinEvictableIdleDuration(), getSoftMinEvictableIdleDuration(),
setMaxWait(Duration), setMinEvictableIdle(Duration),
setSoftMinEvictableIdle(Duration).
- Add and use Duration APIs in BaseObjectPoolConfig:
getDurationBetweenEvictionRuns(),
getEvictorShutdownTimeoutDuration(),getMinEvictableIdleDuration(),
getSoftMinEvictableIdleDuration().
- Add and use Duration APIs in EvictionConfig: getIdleEvictDuration(),
getIdleSoftEvictDuration().
- Add and use Duration APIs in PooledObject: getIdleDuration().
- No need to initialize instance variables to their default values.
- Update Javadocs.
- Update toString() implementations with duration labels.

13 months agoMinor Javadoc improvement.
Gary Gregory [Fri, 2 Jul 2021 13:11:49 +0000 (09:11 -0400)] 
Minor Javadoc improvement.