[ANNOUNCEMENT] Apache Commons Pool 2.10.0

2021-06-02 Thread Gary Gregory
The Apache Commons Pool team is pleased to announce the release of
Apache Commons Pool 2.10.0.

Apache Commons Pool provides an object-pooling API and a number of
object pool implementations.
Version 2 contains a completely re-written pooling implementation
compared to the 1.x series.
In addition to performance and scalability improvements, version 2
includes robust instance
tracking and pool monitoring.

Version 2.10.x requires Java 8 or above.
Version 2.9.x requires Java 8 or above.
Version 2.8.x requires Java 8 or above.
Version 2.7.x requires Java 8 or above.
Version 2.6.x requires Java 7 or above.
Version 2.5.x requires Java 7 or above.
Version 2.0 requires 6 or above.

No client code changes are required to migrate from versions 2.0-2.3
to version 2.4.3.
Users of version 1.x should consult the migration guide on the Commons
Pool web site.

NOTE: The MBean interfaces (DefaultPooledObjectInfoMBean,
GenericKeyedObjectPoolMXBean
  and GenericKeyedObjectPoolMXBean) exist only to define the
attributes and methods
  that will be made available via JMX. They must not be
implemented by clients as
  they are subject to change between major, minor and patch
version releases of
  Commons Pool. Clients that implement any of these interfaces may
not, therefore,
  be able to upgrade to a new minor or patch release without requiring code
  changes.

This release requires Java 8.

Changes in version 2.10.0 include:

New features:
oAdd and use java.time.Duration APIs timeouts instead of
using ints for seconds.
 See the site and its API comparison report for a list of
the new Duration-based APIs. Thanks to Gary Gregory.
oImplement AbandonedConfig for GenericKeyedObjectPool #67.
Thanks to JSurf, Gary Gregory, Phil Steitz.

Fixed Bugs:
oSimplify Assertions in tests #77. Thanks to Arturo Bernal.
oReplace C-style array declaration with Java style #80.
Thanks to Arturo Bernal.
oUse Objects.equals(); Use Anonymous type; Use method
reference instead Lambda; Replace Loop with Collection.removeIf().
#81. Thanks to Arturo Bernal.
oUse diamond operator. #82. Thanks to Arturo Bernal.
oCode clean ups. #83. Thanks to Arturo Bernal.

Changes:
oBump spotbugs-maven-plugin from 4.0.4 to 4.2.1 #48, #53,
#59, #62. Thanks to Dependabot.
oBump actions/setup-java from v1.4.2 to v2, #47. Thanks to
Dependabot, Gary Gregory.
oBump junit from 4.13 to 4.13.1 #50. Thanks to Dependabot.
oBump biz.aQute.bndlib from 5.1.2 to 5.3.0, #51, #66.
Thanks to Dependabot.
o POOL-389:  Migrate to JUnit 5 #57. Thanks to Arturo Bernal.
o POOL-389:  Minor Improvements #58, #60. Thanks to Arturo Bernal.
oBump actions/checkout from v2.3.3 to v2.3.4 #54. Thanks
to Dependabot.
oBump maven-pmd-plugin from 3.13.0 to 3.14.0 #55. Thanks
to Dependabot.
oUpdate commons.japicmp.version 0.14.3 -> 0.15.3. Thanks
to Gary Gregory.
oBump actions/cache from v2 to v2.1.6 #65, #75, #84.
Thanks to Dependabot, Gary Gregory.
oBump maven-checkstyle-plugin from 3.1.1 to 3.1.2 #61.
Thanks to Dependabot.
oBump asm-util from 9.0 to 9.1 #64. Thanks to Dependabot.
oBump spotbugs from 4.2.1 to 4.2.3 #68, #73, #74. Thanks
to Dependabot.
oBump junit-bom from 5.7.1 to 5.8.0-M1 #76. Thanks to
Dependabot, Gary Gregory.
oBump maven-bundle-plugin from 5.1.1 to 5.1.2 #70. Thanks
to Dependabot.
oBump animal-sniffer-maven-plugin from 1.19 to 1.20.
Thanks to Dependabot.


For complete information on Apache Commons Pool, including
instructions on how to submit bug reports,
patches, or suggestions for improvement, see the Apache Apache Commons
Pool website:

https://commons.apache.org/proper/commons-pool/

Download page: https://commons.apache.org/proper/commons-pool/download_pool.cgi
--

-
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org



Re: [commons-numbers] branch master updated: NUMBERS-161: Class "Angle" (holding the user-supplied value without round-off).

2021-06-02 Thread Alex Herbert
On Wed, 2 Jun 2021 at 23:48,  wrote:

-- SNIP --

 

> -
> +
>  
>  
>  
>

Disabling the checkstyle rule applies to all code. Some of the code in
numbers should conform to this rule (Complex, Fraction, etc). This case
should use the checkstyle exclusions file instead.

You can mark the exclusions with a note to state that the hash code method
is in the super class (Angle) for the Angle implementations, none of which
have additional fields to include in the hash.

Alex


Re: [commons-numbers] branch master updated: NUMBERS-161: Class "Angle" (holding the user-supplied value without round-off).

2021-06-02 Thread Gilles Sadowski
Le jeu. 3 juin 2021 à 01:17, Alex Herbert  a écrit :
>
> On Wed, 2 Jun 2021 at 23:48,  wrote:
>
> -- SNIP --
>
>  
>
> > -
> > +
> >  
> >  
> >  
> >
>
> Disabling the checkstyle rule applies to all code. Some of the code in
> numbers should conform to this rule (Complex, Fraction, etc). This case
> should use the checkstyle exclusions file instead.
>
> You can mark the exclusions with a note to state that the hash code method
> is in the super class (Angle) for the Angle implementations, none of which
> have additional fields to include in the hash.

Done.

Thanks,
Gilles

-
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org