Re: svn commit: r1781587 - /commons/proper/validator/trunk/src/main/java/org/apache/commons/validator/routines/IBANValidator.java

2017-02-03 Thread Matt Sicker
Yup, found it: <
https://lists.apache.org/thread.html/095664f9bb67602f308cf1a0d492de662992462314eb1e97fbd34ec6@%3Cdev.commons.apache.org%3E
>

On 3 February 2017 at 19:05, Matt Sicker  wrote:

> I'm pretty sure you two have had almost this exact conversation before.
>
> On 3 February 2017 at 17:41, sebb  wrote:
>
>> I don't see the point; it changes only rarely and it would require
>> extra work to read the data and handle errors.
>>
>> On 3 February 2017 at 18:59, Gary Gregory  wrote:
>> > How about externalizing this in a txt file?
>> >
>> > Gary
>> >
>> > -- Forwarded message --
>> > From: 
>> > Date: Fri, Feb 3, 2017 at 10:58 AM
>> > Subject: svn commit: r1781587 -
>> > /commons/proper/validator/trunk/src/main/java/org/apache/
>> commons/validator/routines/IBANValidator.java
>> > To: comm...@commons.apache.org
>> >
>> >
>> > Author: sebb
>> > Date: Fri Feb  3 18:58:57 2017
>> > New Revision: 1781587
>> >
>> > URL: http://svn.apache.org/viewvc?rev=1781587&view=rev
>> > Log:
>> > Sort by country-code
>> >
>> > Modified:
>> > commons/proper/validator/trunk/src/main/java/org/
>> > apache/commons/validator/routines/IBANValidator.java
>> >
>> > Modified: commons/proper/validator/trunk/src/main/java/org/
>> > apache/commons/validator/routines/IBANValidator.java
>> > URL: http://svn.apache.org/viewvc/commons/proper/validator/
>> > trunk/src/main/java/org/apache/commons/validator/
>> > routines/IBANValidator.java?rev=1781587&r1=1781586&r2=1781587&view=diff
>> > 
>> > ==
>> > --- commons/proper/validator/trunk/src/main/java/org/
>> > apache/commons/validator/routines/IBANValidator.java (original)
>> > +++ commons/proper/validator/trunk/src/main/java/org/
>> > apache/commons/validator/routines/IBANValidator.java Fri Feb  3
>> 18:58:57
>> > 2017
>> > @@ -94,78 +94,78 @@ public class IBANValidator {
>> >   */
>> >
>> >  private static final Validator[] DEFAULT_FORMATS = {
>> > -new Validator("AL", 28, "AL\\d{10}[A-Z0-9]{16}"
>> >  ), // Albania
>> >  new Validator("AD", 24, "AD\\d{10}[A-Z0-9]{12}"
>> >  ), // Andorra
>> > +new Validator("AE", 23, "AE\\d{21}"
>> >  ), // United Arab Emirates
>> > +new Validator("AL", 28, "AL\\d{10}[A-Z0-9]{16}"
>> >  ), // Albania
>> >  new Validator("AT", 20, "AT\\d{18}"
>> >  ), // Austria
>> >  new Validator("AZ", 28, "AZ\\d{2}[A-Z]{4}[A-Z0-9]{20}"
>> >   ), // Republic of Azerbaijan
>> > -new Validator("BH", 22, "BH\\d{2}[A-Z]{4}[A-Z0-9]{14}"
>> >   ), // Bahrain (Kingdom of)
>> > -new Validator("BE", 16, "BE\\d{14}"
>> >  ), // Belgium
>> >  new Validator("BA", 20, "BA\\d{18}"
>> >  ), // Bosnia and Herzegovina
>> > -new Validator("BR", 29, "BR\\d{25}[A-Z]{1}[A-Z0-9]{1}"
>> >   ), // Brazil
>> > +new Validator("BE", 16, "BE\\d{14}"
>> >  ), // Belgium
>> >  new Validator("BG", 22, "BG\\d{2}[A-Z]{4}\\d{6}[A-Z0-9
>> ]{8}"
>> >  ), // Bulgaria
>> > +new Validator("BH", 22, "BH\\d{2}[A-Z]{4}[A-Z0-9]{14}"
>> >   ), // Bahrain (Kingdom of)
>> > +new Validator("BR", 29, "BR\\d{25}[A-Z]{1}[A-Z0-9]{1}"
>> >   ), // Brazil
>> > +new Validator("CH", 21, "CH\\d{7}[A-Z0-9]{12}"
>> >   ), // Switzerland
>> >  new Validator("CR", 22, "CR\\d{20}"
>> >  ), // Costa Rica
>> > -new Validator("HR", 21, "HR\\d{19}"
>> >  ), // Croatia
>> >  new Validator("CY", 28, "CY\\d{10}[A-Z0-9]{16}"
>> >  ), // Cyprus
>> >  new Validator("CZ", 24, "CZ\\d{22}"
>> >  ), // Czech Republic
>> > +new Validator("DE", 22, "DE\\d{20}"
>> >  ), // Germany
>> >  new Validator("DK", 18, "DK\\d{16}"
>> >  ), // Denmark
>> > -new Validator("FO", 18, "FO\\d{16}"
>> >  ), // Denmark (Faroes)
>> > -new Validator("GL", 18, "GL\\d{16}"
>> >  ), // Denmark (Greenland)
>> >  new Validator("DO", 28, "DO\\d{2}[A-Z0-9]{4}\\d{20}"
>> >   ), // Dominican Republic
>> >  new Validator("EE", 20, "EE\\d{18}"
>> >  ), // Estonia
>> > +new Validator("ES", 24, "ES\\d{22}"
>> >  ), // Spain
>> >  new Validator("FI", 18, "FI\\d{16}"
>> >  ), // Finland
>> > +new Validator("FO", 18, "FO\\d{16}"
>> >  ), // Denmark (Faroes)
>> >  new Validator("FR", 27, "FR\\d{12}[A-Z0-9]{11}\\d{2}"
>> >  ), // France
>> > +new Validator("GB", 22, "GB\\d{2}[A-Z]{4}\\d{14}"
>> >  ), // United Kingdom
>> >  new Validator("GE", 22, "GE\\d{2}[A-Z]{2}\\d{16}"
>> >  ), // Georgia
>> > -new Validator("DE", 22, "DE\\d{20}"
>> >  ), // Germany
>> >  new Validator("GI", 23, "GI\\d{2}[A-Z]{4}[A-Z0-9]{15}"
>> >   ), // Gibraltar
>> > +new Validator("GL", 18, "GL\\d{16}"
>> >  ), // Denmark (Greenland)
>> >  new Validator("GR", 27, "GR\\d{9}[A-Z0-9]{16}"
>> >  

Re: svn commit: r1781587 - /commons/proper/validator/trunk/src/main/java/org/apache/commons/validator/routines/IBANValidator.java

2017-02-03 Thread Matt Sicker
I'm pretty sure you two have had almost this exact conversation before.

On 3 February 2017 at 17:41, sebb  wrote:

> I don't see the point; it changes only rarely and it would require
> extra work to read the data and handle errors.
>
> On 3 February 2017 at 18:59, Gary Gregory  wrote:
> > How about externalizing this in a txt file?
> >
> > Gary
> >
> > -- Forwarded message --
> > From: 
> > Date: Fri, Feb 3, 2017 at 10:58 AM
> > Subject: svn commit: r1781587 -
> > /commons/proper/validator/trunk/src/main/java/org/
> apache/commons/validator/routines/IBANValidator.java
> > To: comm...@commons.apache.org
> >
> >
> > Author: sebb
> > Date: Fri Feb  3 18:58:57 2017
> > New Revision: 1781587
> >
> > URL: http://svn.apache.org/viewvc?rev=1781587&view=rev
> > Log:
> > Sort by country-code
> >
> > Modified:
> > commons/proper/validator/trunk/src/main/java/org/
> > apache/commons/validator/routines/IBANValidator.java
> >
> > Modified: commons/proper/validator/trunk/src/main/java/org/
> > apache/commons/validator/routines/IBANValidator.java
> > URL: http://svn.apache.org/viewvc/commons/proper/validator/
> > trunk/src/main/java/org/apache/commons/validator/
> > routines/IBANValidator.java?rev=1781587&r1=1781586&r2=1781587&view=diff
> > 
> > ==
> > --- commons/proper/validator/trunk/src/main/java/org/
> > apache/commons/validator/routines/IBANValidator.java (original)
> > +++ commons/proper/validator/trunk/src/main/java/org/
> > apache/commons/validator/routines/IBANValidator.java Fri Feb  3 18:58:57
> > 2017
> > @@ -94,78 +94,78 @@ public class IBANValidator {
> >   */
> >
> >  private static final Validator[] DEFAULT_FORMATS = {
> > -new Validator("AL", 28, "AL\\d{10}[A-Z0-9]{16}"
> >  ), // Albania
> >  new Validator("AD", 24, "AD\\d{10}[A-Z0-9]{12}"
> >  ), // Andorra
> > +new Validator("AE", 23, "AE\\d{21}"
> >  ), // United Arab Emirates
> > +new Validator("AL", 28, "AL\\d{10}[A-Z0-9]{16}"
> >  ), // Albania
> >  new Validator("AT", 20, "AT\\d{18}"
> >  ), // Austria
> >  new Validator("AZ", 28, "AZ\\d{2}[A-Z]{4}[A-Z0-9]{20}"
> >   ), // Republic of Azerbaijan
> > -new Validator("BH", 22, "BH\\d{2}[A-Z]{4}[A-Z0-9]{14}"
> >   ), // Bahrain (Kingdom of)
> > -new Validator("BE", 16, "BE\\d{14}"
> >  ), // Belgium
> >  new Validator("BA", 20, "BA\\d{18}"
> >  ), // Bosnia and Herzegovina
> > -new Validator("BR", 29, "BR\\d{25}[A-Z]{1}[A-Z0-9]{1}"
> >   ), // Brazil
> > +new Validator("BE", 16, "BE\\d{14}"
> >  ), // Belgium
> >  new Validator("BG", 22, "BG\\d{2}[A-Z]{4}\\d{6}[A-Z0-9]{8}"
> >  ), // Bulgaria
> > +new Validator("BH", 22, "BH\\d{2}[A-Z]{4}[A-Z0-9]{14}"
> >   ), // Bahrain (Kingdom of)
> > +new Validator("BR", 29, "BR\\d{25}[A-Z]{1}[A-Z0-9]{1}"
> >   ), // Brazil
> > +new Validator("CH", 21, "CH\\d{7}[A-Z0-9]{12}"
> >   ), // Switzerland
> >  new Validator("CR", 22, "CR\\d{20}"
> >  ), // Costa Rica
> > -new Validator("HR", 21, "HR\\d{19}"
> >  ), // Croatia
> >  new Validator("CY", 28, "CY\\d{10}[A-Z0-9]{16}"
> >  ), // Cyprus
> >  new Validator("CZ", 24, "CZ\\d{22}"
> >  ), // Czech Republic
> > +new Validator("DE", 22, "DE\\d{20}"
> >  ), // Germany
> >  new Validator("DK", 18, "DK\\d{16}"
> >  ), // Denmark
> > -new Validator("FO", 18, "FO\\d{16}"
> >  ), // Denmark (Faroes)
> > -new Validator("GL", 18, "GL\\d{16}"
> >  ), // Denmark (Greenland)
> >  new Validator("DO", 28, "DO\\d{2}[A-Z0-9]{4}\\d{20}"
> >   ), // Dominican Republic
> >  new Validator("EE", 20, "EE\\d{18}"
> >  ), // Estonia
> > +new Validator("ES", 24, "ES\\d{22}"
> >  ), // Spain
> >  new Validator("FI", 18, "FI\\d{16}"
> >  ), // Finland
> > +new Validator("FO", 18, "FO\\d{16}"
> >  ), // Denmark (Faroes)
> >  new Validator("FR", 27, "FR\\d{12}[A-Z0-9]{11}\\d{2}"
> >  ), // France
> > +new Validator("GB", 22, "GB\\d{2}[A-Z]{4}\\d{14}"
> >  ), // United Kingdom
> >  new Validator("GE", 22, "GE\\d{2}[A-Z]{2}\\d{16}"
> >  ), // Georgia
> > -new Validator("DE", 22, "DE\\d{20}"
> >  ), // Germany
> >  new Validator("GI", 23, "GI\\d{2}[A-Z]{4}[A-Z0-9]{15}"
> >   ), // Gibraltar
> > +new Validator("GL", 18, "GL\\d{16}"
> >  ), // Denmark (Greenland)
> >  new Validator("GR", 27, "GR\\d{9}[A-Z0-9]{16}"
> >   ), // Greece
> >  new Validator("GT", 28, "GT\\d{2}[A-Z0-9]{24}"
> >   ), // Guatemala
> > +new Validator("HR", 21, "HR\\d{19}"
> >  ), // Croatia
> >  new Validator("HU", 28, "HU\\d{26}"
> >  ), // Hungary
> > -new Validator("IS", 26, "IS\\d{24}"
> >  ), // Iceland
> >  

Re: svn commit: r1781587 - /commons/proper/validator/trunk/src/main/java/org/apache/commons/validator/routines/IBANValidator.java

2017-02-03 Thread sebb
I don't see the point; it changes only rarely and it would require
extra work to read the data and handle errors.

On 3 February 2017 at 18:59, Gary Gregory  wrote:
> How about externalizing this in a txt file?
>
> Gary
>
> -- Forwarded message --
> From: 
> Date: Fri, Feb 3, 2017 at 10:58 AM
> Subject: svn commit: r1781587 -
> /commons/proper/validator/trunk/src/main/java/org/apache/commons/validator/routines/IBANValidator.java
> To: comm...@commons.apache.org
>
>
> Author: sebb
> Date: Fri Feb  3 18:58:57 2017
> New Revision: 1781587
>
> URL: http://svn.apache.org/viewvc?rev=1781587&view=rev
> Log:
> Sort by country-code
>
> Modified:
> commons/proper/validator/trunk/src/main/java/org/
> apache/commons/validator/routines/IBANValidator.java
>
> Modified: commons/proper/validator/trunk/src/main/java/org/
> apache/commons/validator/routines/IBANValidator.java
> URL: http://svn.apache.org/viewvc/commons/proper/validator/
> trunk/src/main/java/org/apache/commons/validator/
> routines/IBANValidator.java?rev=1781587&r1=1781586&r2=1781587&view=diff
> 
> ==
> --- commons/proper/validator/trunk/src/main/java/org/
> apache/commons/validator/routines/IBANValidator.java (original)
> +++ commons/proper/validator/trunk/src/main/java/org/
> apache/commons/validator/routines/IBANValidator.java Fri Feb  3 18:58:57
> 2017
> @@ -94,78 +94,78 @@ public class IBANValidator {
>   */
>
>  private static final Validator[] DEFAULT_FORMATS = {
> -new Validator("AL", 28, "AL\\d{10}[A-Z0-9]{16}"
>  ), // Albania
>  new Validator("AD", 24, "AD\\d{10}[A-Z0-9]{12}"
>  ), // Andorra
> +new Validator("AE", 23, "AE\\d{21}"
>  ), // United Arab Emirates
> +new Validator("AL", 28, "AL\\d{10}[A-Z0-9]{16}"
>  ), // Albania
>  new Validator("AT", 20, "AT\\d{18}"
>  ), // Austria
>  new Validator("AZ", 28, "AZ\\d{2}[A-Z]{4}[A-Z0-9]{20}"
>   ), // Republic of Azerbaijan
> -new Validator("BH", 22, "BH\\d{2}[A-Z]{4}[A-Z0-9]{14}"
>   ), // Bahrain (Kingdom of)
> -new Validator("BE", 16, "BE\\d{14}"
>  ), // Belgium
>  new Validator("BA", 20, "BA\\d{18}"
>  ), // Bosnia and Herzegovina
> -new Validator("BR", 29, "BR\\d{25}[A-Z]{1}[A-Z0-9]{1}"
>   ), // Brazil
> +new Validator("BE", 16, "BE\\d{14}"
>  ), // Belgium
>  new Validator("BG", 22, "BG\\d{2}[A-Z]{4}\\d{6}[A-Z0-9]{8}"
>  ), // Bulgaria
> +new Validator("BH", 22, "BH\\d{2}[A-Z]{4}[A-Z0-9]{14}"
>   ), // Bahrain (Kingdom of)
> +new Validator("BR", 29, "BR\\d{25}[A-Z]{1}[A-Z0-9]{1}"
>   ), // Brazil
> +new Validator("CH", 21, "CH\\d{7}[A-Z0-9]{12}"
>   ), // Switzerland
>  new Validator("CR", 22, "CR\\d{20}"
>  ), // Costa Rica
> -new Validator("HR", 21, "HR\\d{19}"
>  ), // Croatia
>  new Validator("CY", 28, "CY\\d{10}[A-Z0-9]{16}"
>  ), // Cyprus
>  new Validator("CZ", 24, "CZ\\d{22}"
>  ), // Czech Republic
> +new Validator("DE", 22, "DE\\d{20}"
>  ), // Germany
>  new Validator("DK", 18, "DK\\d{16}"
>  ), // Denmark
> -new Validator("FO", 18, "FO\\d{16}"
>  ), // Denmark (Faroes)
> -new Validator("GL", 18, "GL\\d{16}"
>  ), // Denmark (Greenland)
>  new Validator("DO", 28, "DO\\d{2}[A-Z0-9]{4}\\d{20}"
>   ), // Dominican Republic
>  new Validator("EE", 20, "EE\\d{18}"
>  ), // Estonia
> +new Validator("ES", 24, "ES\\d{22}"
>  ), // Spain
>  new Validator("FI", 18, "FI\\d{16}"
>  ), // Finland
> +new Validator("FO", 18, "FO\\d{16}"
>  ), // Denmark (Faroes)
>  new Validator("FR", 27, "FR\\d{12}[A-Z0-9]{11}\\d{2}"
>  ), // France
> +new Validator("GB", 22, "GB\\d{2}[A-Z]{4}\\d{14}"
>  ), // United Kingdom
>  new Validator("GE", 22, "GE\\d{2}[A-Z]{2}\\d{16}"
>  ), // Georgia
> -new Validator("DE", 22, "DE\\d{20}"
>  ), // Germany
>  new Validator("GI", 23, "GI\\d{2}[A-Z]{4}[A-Z0-9]{15}"
>   ), // Gibraltar
> +new Validator("GL", 18, "GL\\d{16}"
>  ), // Denmark (Greenland)
>  new Validator("GR", 27, "GR\\d{9}[A-Z0-9]{16}"
>   ), // Greece
>  new Validator("GT", 28, "GT\\d{2}[A-Z0-9]{24}"
>   ), // Guatemala
> +new Validator("HR", 21, "HR\\d{19}"
>  ), // Croatia
>  new Validator("HU", 28, "HU\\d{26}"
>  ), // Hungary
> -new Validator("IS", 26, "IS\\d{24}"
>  ), // Iceland
>  new Validator("IE", 22, "IE\\d{2}[A-Z]{4}\\d{14}"
>  ), // Ireland
>  new Validator("IL", 23, "IL\\d{21}"
>  ), // Israel
> +new Validator("IS", 26, "IS\\d{24}"
>  ), // Iceland
>  new Validator("IT", 27, "IT\\d{2}[A-Z]{1}\\d{10}[A-Z0-9]{12}"
>  ), // Italy
>  new Validator("JO", 30, "JO\\d{2}[A-Z]{4}\\

JDK 9 EA Build 155 is available on java.net

2017-02-03 Thread Rory O'Donnell


Hi Benedikt,

*JDK 9 Early Access* b155   is 
available on java.net


Can you confirm fix for :

 * b155 - JDK-8167273 : Calendar.getDisplayNames inconsistent with
   DateFormatSymbols


There have been a number of fixes to bugs reported by Open Source 
projects since the last availability email  :


 * b154 - JDK-8157611 : field visiblePackages is null for the unnamed
   module producing NPE when accessed
 * b153 - JDK-8163449 : Allow per protocol setting for URLConnection
   defaultUseCaches
 * b152 - JDK-8172158 : Annotation processor not run with -source <= 8


Dalibor and I are presenting at FOSDEM this weekend, we would love to 
meet you there!


 * JDK 9 Outreach - The Awesome Parts
   


Rgds,Rory

--
Rgds,Rory O'Donnell
Quality Engineering Manager
Oracle EMEA , Dublin, Ireland



Re: [VOTE] Release Commons Text 1.0-beta-1 based on RC4

2017-02-03 Thread Oliver Heger
Hi Rob,

all my points from the previous RC have been addressed.

+1

Great work!

One minor thing I noticed: AFAIK, the md5 hashes have to be added to the
files in the distribution area.

Oliver

Am 30.01.2017 um 15:14 schrieb Rob Tompkins:
> Hello all,
> 
> This is a [VOTE] for releasing Apache Commons Text 1.0-beta-1 (from RC4).
> 
> Tag name:
>commons-text-1.0-beta-1-RC4 (signature can be checked from git using 'git 
> tag -v')
> 
> Tag URL:
>
> https://git-wip-us.apache.org/repos/asf?p=commons-text.git;a=commit;h=65e4314fbd6c3a8f5c248d07a4ccffc1f0ea8bb9
> 
> Commit ID the tag points at:
>65e4314fbd6c3a8f5c248d07a4ccffc1f0ea8bb9
> 
> Site:
>http://home.apache.org/~chtompki/commons-text-1.0-beta-1-RC4
> 
> Distribution files (committed at revision 18041):
>https://dist.apache.org/repos/dist/dev/commons/text/
> 
> Distribution files hashes (SHA1):
>commons-text-1.0-beta-1-bin.tar.gz
>(SHA: dcedb6acc9e8dee75ef9ebefc3a03d20df1d84af)
>commons-text-1.0-beta-1-bin.zip
>(SHA1: b1fa8083bfdcec354a97c23468aa63082990febe)
>commons-text-1.0-beta-1-src.tar.gz
>(SHA1: 06e7bee6a1a710fb2a68472bbbd3209bdc66802c)
>commons-text-1.0-beta-1-src.zip
>(SHA1: 62f405f55689526ca87fd228ed4ae4a4cf4ad107)
> 
> These are the Maven artifacts and their hashes:
>commons-text-1.0-beta-1-javadoc.jar
>(SHA1: 771928f5f5439dbf75d857b4a8da83646ba854e8)
>commons-text-1.0-beta-1-sources.jar
>(SHA1: 104e0d8fe8791d7e6f0653fee406150e6f80ee0e)
>commons-text-1.0-beta-1-test-sources.jar
>(SHA1: 0e0b2ea171d8f82c4775b0e472c41b316052de8f)
>commons-text-1.0-beta-1-tests.jar
>(SHA1: 664d9d71be733cc8240a4164e6a3971fc9e95578)
>commons-text-1.0-beta-1.jar
>(SHA1: 6ef0390cf936f21e07ed47f34ba7eab0d918606b)
>commons-text-1.0-beta-1.pom
>(SHA1: 7b65ac70d36c5acf3bcad87ed2df9e7eba111726)
> 
> KEYS file to check signatures:
>http://www.apache.org/dist/commons/KEYS
> 
> Maven artifacts:
>https://repository.apache.org/content/repositories/orgapachecommons-1234
> 
> Please select one of the following options[1]:
>   [ ] +1 Release it.
>   [ ] +0 Go ahead; I don't care.
>   [ ] -0 There are a few minor glitches: ...
>   [ ] -1 No, do not release it because ...
> 
> This vote will be open at least 72 hours, i.e. until 
> 2017-02-02T15:00:00Z
> (this is UTC time).
> 
> 
> Cheers,
> -Rob
> 
> [1] http://apache.org/foundation/voting.html
> -
> To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
> For additional commands, e-mail: dev-h...@commons.apache.org
> 

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



Re: [CONFIGURATION] Ready for 2.2 release?

2017-02-03 Thread Oliver Heger


Am 03.02.2017 um 12:24 schrieb Benedikt Ritter:
> Hi,
> 
> I need some fixes from trunk in one of my projects. Since I’ve not been 
> involved in the development of [CONFIGURATION], I’d like to ask what is 
> blocking the 2.2 release and whether there is someone willing to RM.
> 

AFAICT, there is nothing blocking a new release. In contrary, it would
be nice to get the current set of fixes out.

Regarding RM, I am pretty busy myself. I can put it on my TODO list, but
cannot say when I come to it.

Oliver

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

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



Fwd: svn commit: r1781587 - /commons/proper/validator/trunk/src/main/java/org/apache/commons/validator/routines/IBANValidator.java

2017-02-03 Thread Gary Gregory
How about externalizing this in a txt file?

Gary

-- Forwarded message --
From: 
Date: Fri, Feb 3, 2017 at 10:58 AM
Subject: svn commit: r1781587 -
/commons/proper/validator/trunk/src/main/java/org/apache/commons/validator/routines/IBANValidator.java
To: comm...@commons.apache.org


Author: sebb
Date: Fri Feb  3 18:58:57 2017
New Revision: 1781587

URL: http://svn.apache.org/viewvc?rev=1781587&view=rev
Log:
Sort by country-code

Modified:
commons/proper/validator/trunk/src/main/java/org/
apache/commons/validator/routines/IBANValidator.java

Modified: commons/proper/validator/trunk/src/main/java/org/
apache/commons/validator/routines/IBANValidator.java
URL: http://svn.apache.org/viewvc/commons/proper/validator/
trunk/src/main/java/org/apache/commons/validator/
routines/IBANValidator.java?rev=1781587&r1=1781586&r2=1781587&view=diff

==
--- commons/proper/validator/trunk/src/main/java/org/
apache/commons/validator/routines/IBANValidator.java (original)
+++ commons/proper/validator/trunk/src/main/java/org/
apache/commons/validator/routines/IBANValidator.java Fri Feb  3 18:58:57
2017
@@ -94,78 +94,78 @@ public class IBANValidator {
  */

 private static final Validator[] DEFAULT_FORMATS = {
-new Validator("AL", 28, "AL\\d{10}[A-Z0-9]{16}"
 ), // Albania
 new Validator("AD", 24, "AD\\d{10}[A-Z0-9]{12}"
 ), // Andorra
+new Validator("AE", 23, "AE\\d{21}"
 ), // United Arab Emirates
+new Validator("AL", 28, "AL\\d{10}[A-Z0-9]{16}"
 ), // Albania
 new Validator("AT", 20, "AT\\d{18}"
 ), // Austria
 new Validator("AZ", 28, "AZ\\d{2}[A-Z]{4}[A-Z0-9]{20}"
  ), // Republic of Azerbaijan
-new Validator("BH", 22, "BH\\d{2}[A-Z]{4}[A-Z0-9]{14}"
  ), // Bahrain (Kingdom of)
-new Validator("BE", 16, "BE\\d{14}"
 ), // Belgium
 new Validator("BA", 20, "BA\\d{18}"
 ), // Bosnia and Herzegovina
-new Validator("BR", 29, "BR\\d{25}[A-Z]{1}[A-Z0-9]{1}"
  ), // Brazil
+new Validator("BE", 16, "BE\\d{14}"
 ), // Belgium
 new Validator("BG", 22, "BG\\d{2}[A-Z]{4}\\d{6}[A-Z0-9]{8}"
 ), // Bulgaria
+new Validator("BH", 22, "BH\\d{2}[A-Z]{4}[A-Z0-9]{14}"
  ), // Bahrain (Kingdom of)
+new Validator("BR", 29, "BR\\d{25}[A-Z]{1}[A-Z0-9]{1}"
  ), // Brazil
+new Validator("CH", 21, "CH\\d{7}[A-Z0-9]{12}"
  ), // Switzerland
 new Validator("CR", 22, "CR\\d{20}"
 ), // Costa Rica
-new Validator("HR", 21, "HR\\d{19}"
 ), // Croatia
 new Validator("CY", 28, "CY\\d{10}[A-Z0-9]{16}"
 ), // Cyprus
 new Validator("CZ", 24, "CZ\\d{22}"
 ), // Czech Republic
+new Validator("DE", 22, "DE\\d{20}"
 ), // Germany
 new Validator("DK", 18, "DK\\d{16}"
 ), // Denmark
-new Validator("FO", 18, "FO\\d{16}"
 ), // Denmark (Faroes)
-new Validator("GL", 18, "GL\\d{16}"
 ), // Denmark (Greenland)
 new Validator("DO", 28, "DO\\d{2}[A-Z0-9]{4}\\d{20}"
  ), // Dominican Republic
 new Validator("EE", 20, "EE\\d{18}"
 ), // Estonia
+new Validator("ES", 24, "ES\\d{22}"
 ), // Spain
 new Validator("FI", 18, "FI\\d{16}"
 ), // Finland
+new Validator("FO", 18, "FO\\d{16}"
 ), // Denmark (Faroes)
 new Validator("FR", 27, "FR\\d{12}[A-Z0-9]{11}\\d{2}"
 ), // France
+new Validator("GB", 22, "GB\\d{2}[A-Z]{4}\\d{14}"
 ), // United Kingdom
 new Validator("GE", 22, "GE\\d{2}[A-Z]{2}\\d{16}"
 ), // Georgia
-new Validator("DE", 22, "DE\\d{20}"
 ), // Germany
 new Validator("GI", 23, "GI\\d{2}[A-Z]{4}[A-Z0-9]{15}"
  ), // Gibraltar
+new Validator("GL", 18, "GL\\d{16}"
 ), // Denmark (Greenland)
 new Validator("GR", 27, "GR\\d{9}[A-Z0-9]{16}"
  ), // Greece
 new Validator("GT", 28, "GT\\d{2}[A-Z0-9]{24}"
  ), // Guatemala
+new Validator("HR", 21, "HR\\d{19}"
 ), // Croatia
 new Validator("HU", 28, "HU\\d{26}"
 ), // Hungary
-new Validator("IS", 26, "IS\\d{24}"
 ), // Iceland
 new Validator("IE", 22, "IE\\d{2}[A-Z]{4}\\d{14}"
 ), // Ireland
 new Validator("IL", 23, "IL\\d{21}"
 ), // Israel
+new Validator("IS", 26, "IS\\d{24}"
 ), // Iceland
 new Validator("IT", 27, "IT\\d{2}[A-Z]{1}\\d{10}[A-Z0-9]{12}"
 ), // Italy
 new Validator("JO", 30, "JO\\d{2}[A-Z]{4}\\d{4}[A-Z0-9]{18}"
  ), // Jordan
-new Validator("KZ", 20, "KZ\\d{5}[A-Z0-9]{13}"
  ), // Kazakhstan
-new Validator("XK", 20, "XK\\d{18}"
 ), // Republic of Kosovo
 new Validator("KW", 30, "KW\\d{2}[A-Z]{4}[A-Z0-9]{22}"
  ), // Kuwait
-new Validator("LV", 21, "LV\\d{2}[A-Z]{4}[A-Z0-9]{13}"
  ), // Latvia
+new Validator("KZ", 20, "KZ\\d{5}[A-Z0-9]{13}

Re: [CONFIGURATION] Ready for 2.2 release?

2017-02-03 Thread Gary Gregory
Go for it :-)

Gary

On Feb 3, 2017 3:24 AM, "Benedikt Ritter"  wrote:

> Hi,
>
> I need some fixes from trunk in one of my projects. Since I’ve not been
> involved in the development of [CONFIGURATION], I’d like to ask what is
> blocking the 2.2 release and whether there is someone willing to RM.
>
> Regards,
> Benedikt
>
>
> -
> To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
> For additional commands, e-mail: dev-h...@commons.apache.org
>
>


[GitHub] commons-rdf issue #32: COMMONSRDF-55: Handle Jena's urn:x-arq:DefaultGraph a...

2017-02-03 Thread afs
Github user afs commented on the issue:

https://github.com/apache/commons-rdf/pull/32
  
I haven't looked at the code in enough detail but I was assuming there 
would be one place with two functions: Quad->JenaQuad and JenaQuad->Quad. This 
would the strategy (policy) for all of the adapter. That is what I mean by the 
boundary.

"urn:x-arq:DefaultGraph" only exists in Jena. Quad has `Optional.empty()`

`Optional.empty()` => `urn:x-arq:DefaultGraph`

Jena `Quad.isDefaultGraph` => `Optional.empty()`

`Quad.equals` works, which is very important.

or maybe I've been doing too much policy abstraction recently.



---
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 enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

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



[CONFIGURATION] Ready for 2.2 release?

2017-02-03 Thread Benedikt Ritter
Hi,

I need some fixes from trunk in one of my projects. Since I’ve not been 
involved in the development of [CONFIGURATION], I’d like to ask what is 
blocking the 2.2 release and whether there is someone willing to RM.

Regards,
Benedikt


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



Re: [VOTE] Release Commons Text 1.0-beta-1 based on RC4

2017-02-03 Thread Benedikt Ritter
Hello Robert, 

> Am 02.02.2017 um 16:41 schrieb Rob Tompkins :
> 
>> 
>> On Jan 30, 2017, at 9:14 AM, Rob Tompkins  wrote:
>> 
>> Hello all,
>> 
>> This is a [VOTE] for releasing Apache Commons Text 1.0-beta-1 (from RC4).
>> 
>> Tag name:
>>  commons-text-1.0-beta-1-RC4 (signature can be checked from git using 'git 
>> tag -v')
>> 
>> Tag URL:
>>  
>> https://git-wip-us.apache.org/repos/asf?p=commons-text.git;a=commit;h=65e4314fbd6c3a8f5c248d07a4ccffc1f0ea8bb9
>> 
>> Commit ID the tag points at:
>>  65e4314fbd6c3a8f5c248d07a4ccffc1f0ea8bb9
>> 
>> Site:
>>  http://home.apache.org/~chtompki/commons-text-1.0-beta-1-RC4
>> 
>> Distribution files (committed at revision 18041):
>>  https://dist.apache.org/repos/dist/dev/commons/text/
>> 
>> Distribution files hashes (SHA1):
>>  commons-text-1.0-beta-1-bin.tar.gz
>>  (SHA: dcedb6acc9e8dee75ef9ebefc3a03d20df1d84af)
>>  commons-text-1.0-beta-1-bin.zip
>>  (SHA1: b1fa8083bfdcec354a97c23468aa63082990febe)
>>  commons-text-1.0-beta-1-src.tar.gz
>>  (SHA1: 06e7bee6a1a710fb2a68472bbbd3209bdc66802c)
>>  commons-text-1.0-beta-1-src.zip
>>  (SHA1: 62f405f55689526ca87fd228ed4ae4a4cf4ad107)
>> 
>> These are the Maven artifacts and their hashes:
>>  commons-text-1.0-beta-1-javadoc.jar
>>  (SHA1: 771928f5f5439dbf75d857b4a8da83646ba854e8)
>>  commons-text-1.0-beta-1-sources.jar
>>  (SHA1: 104e0d8fe8791d7e6f0653fee406150e6f80ee0e)
>>  commons-text-1.0-beta-1-test-sources.jar
>>  (SHA1: 0e0b2ea171d8f82c4775b0e472c41b316052de8f)
>>  commons-text-1.0-beta-1-tests.jar
>>  (SHA1: 664d9d71be733cc8240a4164e6a3971fc9e95578)
>>  commons-text-1.0-beta-1.jar
>>  (SHA1: 6ef0390cf936f21e07ed47f34ba7eab0d918606b)
>>  commons-text-1.0-beta-1.pom
>>  (SHA1: 7b65ac70d36c5acf3bcad87ed2df9e7eba111726)
>> 
>> KEYS file to check signatures:
>>  http://www.apache.org/dist/commons/KEYS
>> 
>> Maven artifacts:
>>  https://repository.apache.org/content/repositories/orgapachecommons-1234
>> 
>> Please select one of the following options[1]:
>> [ ] +1 Release it.
>> [ ] +0 Go ahead; I don't care.
>> [ ] -0 There are a few minor glitches: ...
>> [ ] -1 No, do not release it because ...
>> 
>> This vote will be open at least 72 hours, i.e. until 
>> 2017-02-02T15:00:00Z
>> (this is UTC time).
>> 
>> 
>> Cheers,
>> -Rob
>> 
>> [1] http://apache.org/foundation/voting.html
> 
> I haven’t heard anyone on this release candidate, and I was wondering if some 
> folks could take a look. I’d be happy with any votes regardless of direction.

Sorry we have crunch time in my project. I hope to get around to it later today.

BR,
Benedikt

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