[GitHub] commons-compress issue #23: Add Brotli Support

2017-05-01 Thread garydgregory
Github user garydgregory commented on the issue: https://github.com/apache/commons-compress/pull/23 Thank you for your patch. The only thing missing at first glance is a patch to `org.apache.commons.compress.compressors.CompressorStreamFactory`. --- If your project is set up for it,

[GitHub] commons-compress pull request #23: Add Brotli Support

2017-05-01 Thread bodewig
Github user bodewig commented on a diff in the pull request: https://github.com/apache/commons-compress/pull/23#discussion_r114257946 --- Diff: pom.xml --- @@ -68,6 +68,12 @@ jar, tar, zip, dump, 7z, arj. test + org.brotli + dec +

[GitHub] commons-compress issue #23: Add Brotli Support

2017-05-01 Thread bodewig
Github user bodewig commented on the issue: https://github.com/apache/commons-compress/pull/23 Many thanks Philippe see my comments on the test. Also I haven't checked whether the brotli lib is an OSGi bundle, we may need to update the bundle-plugin configuration. -

[GitHub] commons-compress pull request #23: Add Brotli Support

2017-05-01 Thread bodewig
Github user bodewig commented on a diff in the pull request: https://github.com/apache/commons-compress/pull/23#discussion_r114257473 --- Diff: pom.xml --- @@ -85,6 +91,13 @@ jar, tar, zip, dump, 7z, arj. ${powermock.version} test + +

[GitHub] commons-compress pull request #23: Add Brotli Support

2017-05-01 Thread bindul
Github user bindul commented on a diff in the pull request: https://github.com/apache/commons-compress/pull/23#discussion_r114257132 --- Diff: pom.xml --- @@ -68,6 +68,12 @@ jar, tar, zip, dump, 7z, arj. test + org.brotli + dec +

[GitHub] commons-compress issue #23: Add Brotli Support

2017-05-01 Thread coveralls
Github user coveralls commented on the issue: https://github.com/apache/commons-compress/pull/23 [![Coverage Status](https://coveralls.io/builds/11327289/badge)](https://coveralls.io/builds/11327289) Coverage decreased (-0.09%) to 84.202% when pulling **3763178324921dc41

[GitHub] commons-compress pull request #23: Add Brotli Support

2017-05-01 Thread pmouawad
GitHub user pmouawad opened a pull request: https://github.com/apache/commons-compress/pull/23 Add Brotli Support Fix for: https://issues.apache.org/jira/browse/COMPRESS-392 You can merge this pull request into a Git repository by running: $ git pull https://github.com/pmou

Re: commons-dbcp patch

2017-05-01 Thread Jochen Wiedmann
Hi, Gary, On Mon, May 1, 2017 at 12:57 AM, Gary Evesson wrote: > I have a potential bugfix/patch for DBCP but I cannot create a PR on the > GitHub site because I cannot push a branch. Any ideas on how I can get it > submitted? there is no need to do that on Github. It's perfectly fine (or even

[GitHub] commons-compress issue #22: COMPRESS-390: Expose stream offsets and size

2017-05-01 Thread coveralls
Github user coveralls commented on the issue: https://github.com/apache/commons-compress/pull/22 [![Coverage Status](https://coveralls.io/builds/11326518/badge)](https://coveralls.io/builds/11326518) Coverage increased (+0.04%) to 84.329% when pulling **0f74248f5fcfdcc4f

Re: StopWatch stop

2017-05-01 Thread Gary Gregory
Great idea! Gary On Mon, May 1, 2017 at 7:36 PM, Matt Sicker wrote: > What about a fluent package for classes like this so you can still call it > StopWatch? > > On 1 May 2017 at 21:02, Gary Gregory wrote: > > > I am down to copying StopWatch as FluentStopWatch and adding "return > this;" > >

Re: StopWatch stop

2017-05-01 Thread Matt Sicker
What about a fluent package for classes like this so you can still call it StopWatch? On 1 May 2017 at 21:02, Gary Gregory wrote: > I am down to copying StopWatch as FluentStopWatch and adding "return this;" > to all the void methods. > > I can so that in my code base but does it induce vomiting

Re: StopWatch stop

2017-05-01 Thread Gary Gregory
I am down to copying StopWatch as FluentStopWatch and adding "return this;" to all the void methods. I can so that in my code base but does it induce vomiting if Commons Lang has both StopWatch AND FluentStopWatch? Gary On Sun, Apr 30, 2017 at 2:47 PM, Gary Gregory wrote: > Sorry, Commons Lang

Re: [lang]

2017-05-01 Thread Rob Tompkins
> On May 1, 2017, at 8:25 PM, Stian Soiland-Reyes wrote: > > Adding a class with a plan to @deprecate it, something doesn't sound right. > :) > > We should not be putting much effort (and future maintainability) into > adding functionality in Lang that jdk8 already (easily) can do. The point >

Re: [lang]

2017-05-01 Thread Stian Soiland-Reyes
Adding a class with a plan to @deprecate it, something doesn't sound right. :) We should not be putting much effort (and future maintainability) into adding functionality in Lang that jdk8 already (easily) can do. The point of Lang is to complement JDK's Lang classes and friends, not to backport w

Re: [Math] JIRA issues with proposed fixes

2017-05-01 Thread Rob Tompkins
> On May 1, 2017, at 7:44 PM, Gilles wrote: > > Hi. > > There are some issues reported that come with a proposed fix. > If you think that the change is adequate, do not hesitate to > apply it. E.g.: > https://issues.apache.org/jira/browse/MATH-1381 > https://issues.apache.org/jira/browse/MATH-

Re: [Math] JIRA issues with proposed fixes

2017-05-01 Thread Gilles
On Tue, 02 May 2017 01:44:28 +0200, Gilles wrote: Hi. There are some issues reported that come with a proposed fix. If you think that the change is adequate, do not hesitate to apply it. E.g.: https://issues.apache.org/jira/browse/MATH-1381 https://issues.apache.org/jira/browse/MATH-1400 Als

[GitHub] commons-io pull request #36: FileAlternationMonitor#stop() not stop the thre...

2017-05-01 Thread anthonyraymond
GitHub user anthonyraymond opened a pull request: https://github.com/apache/commons-io/pull/36 FileAlternationMonitor#stop() not stop the thread The thread if FileAlterationMonitor wasn't stopped by the `stop(int)` method, which forbid application to shutdown unless all `Thread` are

[Math] JIRA issues with proposed fixes

2017-05-01 Thread Gilles
Hi. There are some issues reported that come with a proposed fix. If you think that the change is adequate, do not hesitate to apply it. E.g.: https://issues.apache.org/jira/browse/MATH-1381 https://issues.apache.org/jira/browse/MATH-1400 Some may be fixed already. If you can confirm it, do no

Re: [lang]

2017-05-01 Thread Gary Gregory
In my mind, we target a given platform, in this case its Java 7. So the proposal is valid IMO. Then when switch to Java 8, we can mark the class as deprecated and remove it in 4.0. I'm not hard set on including this specific class, it's just something I use. Gary On Mon, May 1, 2017 at 1:36 PM, R

Re: [lang]

2017-05-01 Thread Rob Tompkins
> On May 1, 2017, at 4:33 PM, Gary Gregory wrote: > > True. I wonder if we need to make some kind of documented statement that we > will not provide utils for things easily done in Java 8? > I wonder if we would want to wait until Java 9 general availability to make such a statement. But tha

[GitHub] commons-codec pull request #6: Add Brotli support

2017-05-01 Thread pmouawad
Github user pmouawad closed the pull request at: https://github.com/apache/commons-codec/pull/6 --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature

Re: [lang]

2017-05-01 Thread Gary Gregory
True. I wonder if we need to make some kind of documented statement that we will not provide utils for things easily done in Java 8? Gary On Mon, May 1, 2017 at 1:13 PM, Matt Benson wrote: > This is dead easy in Java 8: > > Comparator.comparing(Object::toString) > > Granted, you have to do a li

Re: [lang]

2017-05-01 Thread Matt Benson
This is dead easy in Java 8: Comparator.comparing(Object::toString) Granted, you have to do a little more for null handling, but I'm not sure it's worth writing out a class definition in this form. If we are intending to cater to pre Java 8 clients, okay, but it seems a little late in the game to

[GitHub] commons-codec pull request #6: Add Brotli support

2017-05-01 Thread pmouawad
GitHub user pmouawad opened a pull request: https://github.com/apache/commons-codec/pull/6 Add Brotli support You can merge this pull request into a Git repository by running: $ git pull https://github.com/pmouawad/commons-codec BROTLI_SUPPORT Alternatively you can review and

[lang]

2017-05-01 Thread Gary Gregory
Hi All: Do you think this is general enough for [lang]? /** * Implements {@code Comparator} using toString()s. * */ public final class ObjectToStringComparator implements Comparator, Serializable { private static final long serialVersionUID = 1L; @Override public int compare(fina

[GitHub] commons-io pull request #34: IO-367: Add convenience methods for copyToDirec...

2017-05-01 Thread asfgit
Github user asfgit closed the pull request at: https://github.com/apache/commons-io/pull/34 --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is e

[GitHub] commons-io pull request #18: Added CopyToDirectory convenience method

2017-05-01 Thread asfgit
Github user asfgit closed the pull request at: https://github.com/apache/commons-io/pull/18 --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is e

Re: commons-dbcp patch

2017-05-01 Thread sebb
See https://github.com/apache/commons-dbcp/blob/master/CONTRIBUTING.md for details On 1 May 2017 at 00:17, Matt Sicker wrote: > You can fork the repo and make a PR that way. The GitHub repos are > read-only mirrors. > > On 30 April 2017 at 17:57, Gary Evesson wrote: > >> I have a potential bugf

Re: [Numbers] Java version?

2017-05-01 Thread Gilles
On Mon, 1 May 2017 09:08:23 +1000, Peter Ansell wrote: Jenkins now requires Java-8 as its base runtime environment on the regular release channel, with its LTS channel moving to Java-8 in a few weeks: https://jenkins.io/blog/2017/04/10/jenkins-has-upgraded-to-java-8/ Thanks for the notice. As

Re: [lang] Add StringUtils#isMixedCase?

2017-05-01 Thread Pascal Schumacher
The purposed implementation at https://github.com/apache/commons-lang/pull/223 returns false if the string contains any non-alphabetic characters. e.g.: StringUtils.isMixedCase(null)= false StringUtils.isMixedCase("") = false StringUtils.isMixedCase("aBc") = true StringUtils.isMixedC

Re: [lang] Add StringUtils#getDigits?

2017-05-01 Thread Pascal Schumacher
O.k., I have just merged the pull request. Am 29.04.2017 um 11:26 schrieb Benedikt Ritter: +1, add it! Am 28.04.2017 um 17:07 schrieb Matt Sicker : This one I like. Could be handy in implementing things like permissive configuration parsing and other similar things. On 28 April 2017 at 09:57