ImmutablePair and compareTo()

2017-03-02 Thread Gary Gregory
I was going to replace my custom pair class with ImmutablePair but it looks like the compareTo() methods in the superclass creates a LOT of objects on each call. Any thoughts on a custom implementation that would not create to much garbage to collect? -- E-Mail: garydgreg...@gmail.com | ggreg...@

Re: [ALL][Math] git pull requests: how?

2017-03-02 Thread Gilles
On Thu, 2 Mar 2017 09:35:53 -0600, Matt Sicker wrote: Is the different behavior caused by svn versus git mirroring? The "Math" and "Numbers" projects both use git. Gilles That read-only branch feature is really cool. Some of this info might be useful to include in the template readme files a

Re: [ALL][Math] git pull requests: how?

2017-03-02 Thread Matt Sicker
Is the different behavior caused by svn versus git mirroring? That read-only branch feature is really cool. Some of this info might be useful to include in the template readme files and such for commons. On 2 March 2017 at 06:09, Gilles wrote: > On Thu, 2 Mar 2017 11:30:17 +, sebb wrote: >

Re: [ALL][Math] git pull requests: how?

2017-03-02 Thread Gilles
On Thu, 2 Mar 2017 11:30:17 +, sebb wrote: This info (when validated) should be added to the Wiki: https://wiki.apache.org/commons/UsingGIT ... Oh, it already is there at the end Indeed, there is information there. That works: $ git fetch github pull/72/head:fix-foo-in-bar But is it s

Re: [ALL][Math] git pull requests: how?

2017-03-02 Thread sebb
This info (when validated) should be added to the Wiki: https://wiki.apache.org/commons/UsingGIT ... Oh, it already is there at the end On 2 March 2017 at 10:50, Gilles wrote: > On Wed, 1 Mar 2017 22:51:54 -0600, Matt Sicker wrote: >> >> Normally the GitHub email gives you the proper command

Re: [ALL][Math] git pull requests: how?

2017-03-02 Thread Gilles
On Wed, 1 Mar 2017 22:51:54 -0600, Matt Sicker wrote: Normally the GitHub email gives you the proper command to use to pull the PR into your local git which you can merge and push (which merges the PR once GitHub gets updated from apache.org). As for making sure that email gets sent, if it's n