svn commit: r1763081 - /commons/trunks-dormant/

2016-10-02 Thread britter
Author: britter
Date: Sun Oct  2 16:29:43 2016
New Revision: 1763081

URL: http://svn.apache.org/viewvc?rev=1763081=rev
Log:
Add Commons EL to svn:externals of trunks-dormant

Modified:
commons/trunks-dormant/   (props changed)

Propchange: commons/trunks-dormant/
--
--- svn:externals (original)
+++ svn:externals Sun Oct  2 16:29:43 2016
@@ -5,6 +5,7 @@ clazz   https://svn.apache.org/r
 codec-multipart 
https://svn.apache.org/repos/asf/commons/dormant/codec-multipart/trunk
 contracthttps://svn.apache.org/repos/asf/commons/dormant/contract/trunk
 convert https://svn.apache.org/repos/asf/commons/dormant/convert/trunk
+el  https://svn.apache.org/repos/asf/commons/dormant/el/trunk
 events  https://svn.apache.org/repos/asf/commons/dormant/events/trunk
 feedparser  
https://svn.apache.org/repos/asf/commons/dormant/feedparser/trunk
 filters https://svn.apache.org/repos/asf/commons/dormant/filters/trunk




svn commit: r1763080 - /commons/trunks-proper/

2016-10-02 Thread britter
Author: britter
Date: Sun Oct  2 16:28:49 2016
New Revision: 1763080

URL: http://svn.apache.org/viewvc?rev=1763080=rev
Log:
Remove Commons EL from svn:externals of trunks-proper 

Modified:
commons/trunks-proper/   (props changed)

Propchange: commons/trunks-proper/
--
--- svn:externals (original)
+++ svn:externals Sun Oct  2 16:28:49 2016
@@ -16,7 +16,6 @@ https://svn.apache.org/repos/asf/commons
 https://svn.apache.org/repos/asf/commons/proper/dbutils/trunk dbutils
 https://svn.apache.org/repos/asf/commons/proper/digester/trunk digester
 https://svn.apache.org/repos/asf/commons/proper/discovery/trunk discovery
-https://svn.apache.org/repos/asf/commons/proper/el/trunk el
 https://svn.apache.org/repos/asf/commons/proper/email/trunk email
 https://svn.apache.org/repos/asf/commons/proper/exec/trunk exec
 https://svn.apache.org/repos/asf/commons/proper/functor/trunk functor




svn commit: r1763079 - /commons/cms-site/trunk/content/xdoc/releases/moving-to-dormant.xml

2016-10-02 Thread britter
Author: britter
Date: Sun Oct  2 16:27:05 2016
New Revision: 1763079

URL: http://svn.apache.org/viewvc?rev=1763079=rev
Log:
Document that site.xml also has to be updated when moving components to dormant

Modified:
commons/cms-site/trunk/content/xdoc/releases/moving-to-dormant.xml

Modified: commons/cms-site/trunk/content/xdoc/releases/moving-to-dormant.xml
URL: 
http://svn.apache.org/viewvc/commons/cms-site/trunk/content/xdoc/releases/moving-to-dormant.xml?rev=1763079=1763078=1763079=diff
==
--- commons/cms-site/trunk/content/xdoc/releases/moving-to-dormant.xml 
(original)
+++ commons/cms-site/trunk/content/xdoc/releases/moving-to-dormant.xml Sun Oct  
2 16:27:05 2016
@@ -89,6 +89,7 @@
 
 Update references on the main website. The following pages have to be 
modified (relative to this document):
   
+../site.xml
 components.xml
 dormant.xml
 index.xml.vm




svn commit: r1763078 - /commons/cms-site/trunk/content/site.xml

2016-10-02 Thread britter
Author: britter
Date: Sun Oct  2 16:26:14 2016
New Revision: 1763078

URL: http://svn.apache.org/viewvc?rev=1763078=rev
Log:
Update site navigation after moving Commons EL to dormant

Modified:
commons/cms-site/trunk/content/site.xml

Modified: commons/cms-site/trunk/content/site.xml
URL: 
http://svn.apache.org/viewvc/commons/cms-site/trunk/content/site.xml?rev=1763078=1763077=1763078=diff
==
--- commons/cms-site/trunk/content/site.xml (original)
+++ commons/cms-site/trunk/content/site.xml Sun Oct  2 16:26:14 2016
@@ -61,7 +61,6 @@
 
 
 
-
 
 
 
@@ -116,6 +115,7 @@
 
 
 
+
 
 
 




svn commit: r1763077 - in /commons/cms-site/trunk: conf/component_releases.properties content/xdoc/components.xml content/xdoc/dormant.xml content/xdoc/downloads/index.xml content/xdoc/index.xml.vm

2016-10-02 Thread britter
Author: britter
Date: Sun Oct  2 16:24:50 2016
New Revision: 1763077

URL: http://svn.apache.org/viewvc?rev=1763077=rev
Log:
Update main website after moving Commons EL to dormant

Modified:
commons/cms-site/trunk/conf/component_releases.properties
commons/cms-site/trunk/content/xdoc/components.xml
commons/cms-site/trunk/content/xdoc/dormant.xml
commons/cms-site/trunk/content/xdoc/downloads/index.xml
commons/cms-site/trunk/content/xdoc/index.xml.vm

Modified: commons/cms-site/trunk/conf/component_releases.properties
URL: 
http://svn.apache.org/viewvc/commons/cms-site/trunk/conf/component_releases.properties?rev=1763077=1763076=1763077=diff
==
--- commons/cms-site/trunk/conf/component_releases.properties (original)
+++ commons/cms-site/trunk/conf/component_releases.properties Sun Oct  2 
16:24:50 2016
@@ -30,8 +30,6 @@ digesterVersion=3.2
 digesterReleased=2011-12-13
 discoveryVersion=0.5
 discoveryReleased=2011-05-05
-elVersion=1.0
-elReleased=2003-06-18
 emailVersion=1.4
 emailReleased=2015-05-23
 execVersion=1.3

Modified: commons/cms-site/trunk/content/xdoc/components.xml
URL: 
http://svn.apache.org/viewvc/commons/cms-site/trunk/content/xdoc/components.xml?rev=1763077=1763076=1763077=diff
==
--- commons/cms-site/trunk/content/xdoc/components.xml (original)
+++ commons/cms-site/trunk/content/xdoc/components.xml Sun Oct  2 16:24:50 2016
@@ -69,8 +69,6 @@
 XML-to-Java-object mapping utility.
 Discovery
 Tools for locating resources by mapping service/reference 
names to resource names.
-EL
-Interpreter for the Expression Language defined by the JSP 2.0 
specification.
 Email
 Library for sending e-mail from Java.
 Exec

Modified: commons/cms-site/trunk/content/xdoc/dormant.xml
URL: 
http://svn.apache.org/viewvc/commons/cms-site/trunk/content/xdoc/dormant.xml?rev=1763077=1763076=1763077=diff
==
--- commons/cms-site/trunk/content/xdoc/dormant.xml (original)
+++ commons/cms-site/trunk/content/xdoc/dormant.xml Sun Oct  2 16:24:50 2016
@@ -50,6 +50,8 @@
 This component makes all the nice features available to the 
java programming language that come along with contract based 
programming.
 Convert
 Commons-Convert aims to provide a single library dedicated to 
the task of converting an object of one type to another.
+EL
+Interpreter for the Expression Language defined by the JSP 2.0 
specification.
 Events
 Commons-Events provides additional classes for firing and 
handling events. It focusses on the Java Collections Framework, providing 
decorators to other collections that fire events.
 Feedparser

Modified: commons/cms-site/trunk/content/xdoc/downloads/index.xml
URL: 
http://svn.apache.org/viewvc/commons/cms-site/trunk/content/xdoc/downloads/index.xml?rev=1763077=1763076=1763077=diff
==
--- commons/cms-site/trunk/content/xdoc/downloads/index.xml (original)
+++ commons/cms-site/trunk/content/xdoc/downloads/index.xml Sun Oct  2 16:24:50 
2016
@@ -34,7 +34,7 @@
   Announce
   mailing list to be notified when releases are made by the Commons 
project.
   Releases are also announced to the User and Developer lists.
- 
+
   
 
   
@@ -65,7 +65,6 @@
   DbUtils
   Digester
   Discovery
-  EL
   Email
   Exec
   FileUpload

Modified: commons/cms-site/trunk/content/xdoc/index.xml.vm
URL: 
http://svn.apache.org/viewvc/commons/cms-site/trunk/content/xdoc/index.xml.vm?rev=1763077=1763076=1763077=diff
==
--- commons/cms-site/trunk/content/xdoc/index.xml.vm (original)
+++ commons/cms-site/trunk/content/xdoc/index.xml.vm Sun Oct  2 16:24:50 2016
@@ -140,9 +140,6 @@
 Discovery
 Tools for locating resources by mapping service/reference 
names to resource names.
 ${discoveryVersion}${discoveryReleased}
-EL
-Interpreter for the Expression Language defined by the JSP 2.0 
specification.
-${elVersion}${elReleased}
 Email
 Library for sending e-mail from Java.
 ${emailVersion}${emailReleased}




[lang] changes.xml: add meaningful description for LANG-1200

2016-10-02 Thread pascalschumacher
Repository: commons-lang
Updated Branches:
  refs/heads/master 756b91060 -> 496506ded


changes.xml: add meaningful description for LANG-1200


Project: http://git-wip-us.apache.org/repos/asf/commons-lang/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-lang/commit/496506de
Tree: http://git-wip-us.apache.org/repos/asf/commons-lang/tree/496506de
Diff: http://git-wip-us.apache.org/repos/asf/commons-lang/diff/496506de

Branch: refs/heads/master
Commit: 496506dedda231ceaecb81d62bb611889ba38be9
Parents: 756b910
Author: pascalschumacher 
Authored: Sun Oct 2 18:23:42 2016 +0200
Committer: pascalschumacher 
Committed: Sun Oct 2 18:23:42 2016 +0200

--
 src/changes/changes.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/commons-lang/blob/496506de/src/changes/changes.xml
--
diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index 5a124b4..5a6c5b7 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -155,7 +155,7 @@ The  type attribute can be add,update,fix,remove.
 Fix parsing edge cases 
in FastDateParser
 StringUtils#equals fails 
with Index OOBE on non-Strings with identical leading prefix
 There are no tests for 
CharSequenceUtils.regionMatches
-[GitHub PR] modify note at line 1230 #120
+StringUtils.ordinalIndexOf: Add missing right parenthesis in 
JavaDoc example
 Incorrect Javadoc StringUtils.containsAny(CharSequence, 
CharSequence...)
 Added new property 
IS_OS_MAC_OSX_EL_CAPITAN in SystemUtils
   



svn commit: r1763076 - in /commons: dormant/el/ proper/el/

2016-10-02 Thread britter
Author: britter
Date: Sun Oct  2 16:20:49 2016
New Revision: 1763076

URL: http://svn.apache.org/viewvc?rev=1763076=rev
Log:
Move Apache Commons EL to dormant

Added:
commons/dormant/el/
  - copied from r1763075, commons/proper/el/
Removed:
commons/proper/el/



svn commit: r1763075 - /commons/cms-site/trunk/content/xdoc/releases/moving-to-dormant.xml

2016-10-02 Thread britter
Author: britter
Date: Sun Oct  2 16:20:29 2016
New Revision: 1763075

URL: http://svn.apache.org/viewvc?rev=1763075=rev
Log:
Correct SVN URL

Modified:
commons/cms-site/trunk/content/xdoc/releases/moving-to-dormant.xml

Modified: commons/cms-site/trunk/content/xdoc/releases/moving-to-dormant.xml
URL: 
http://svn.apache.org/viewvc/commons/cms-site/trunk/content/xdoc/releases/moving-to-dormant.xml?rev=1763075=1763074=1763075=diff
==
--- commons/cms-site/trunk/content/xdoc/releases/moving-to-dormant.xml 
(original)
+++ commons/cms-site/trunk/content/xdoc/releases/moving-to-dormant.xml Sun Oct  
2 16:20:29 2016
@@ -74,8 +74,8 @@
 After the synchronization has been deactivated, move the code base in 
SVN:
   
   svn mv -m "Move commons foo to dormant"
-  https://svn.apache.org/repos/commons/proper/foo
-  https://svn.apache.org/repos/commons/dormant/
+  https://svn.apache.org/repos/asf/commons/proper/foo
+  https://svn.apache.org/repos/asf/commons/dormant/
   
   Then remove the entry of the component from svn:externals on 
https://svn.apache.org/repos/commons/trunks-proper
   and add it to svn:externals of 
https://svn.apache.org/repos/commons/trunks-dormant.




svn commit: r1763074 - /commons/cms-site/trunk/content/xdoc/releases/moving-to-dormant.xml

2016-10-02 Thread britter
Author: britter
Date: Sun Oct  2 16:15:33 2016
New Revision: 1763074

URL: http://svn.apache.org/viewvc?rev=1763074=rev
Log:
Document to update svn:externals when moving components to dormant

Modified:
commons/cms-site/trunk/content/xdoc/releases/moving-to-dormant.xml

Modified: commons/cms-site/trunk/content/xdoc/releases/moving-to-dormant.xml
URL: 
http://svn.apache.org/viewvc/commons/cms-site/trunk/content/xdoc/releases/moving-to-dormant.xml?rev=1763074=1763073=1763074=diff
==
--- commons/cms-site/trunk/content/xdoc/releases/moving-to-dormant.xml 
(original)
+++ commons/cms-site/trunk/content/xdoc/releases/moving-to-dormant.xml Sun Oct  
2 16:15:33 2016
@@ -46,14 +46,14 @@
 
   Hi all,
 
-  as discussed, I'd like to propose to move Apache Commons Foo to dormant. 
+  as discussed, I'd like to propose to move Apache Commons Foo to dormant.
 
   Reasons:
   - some reasons
   - ...
 
   So please cast your votes:
-  This vote will close no sooner that 72 hours from now, 
+  This vote will close no sooner that 72 hours from now,
   i.e. after 21:30CET 14 March 2014
 
   [ ] +1 Move Commons Foo to dormant
@@ -68,20 +68,22 @@
 
   If the vote for moving the component to dormant was successful you can 
start with the actual work.
 
-
+
 Ask Infra to deactivate the http://git.apache.org;>git 
mirror. You can use https://issues.apache.org/jira/browse/INFRA-7454;>INFRA-7454 as a 
template.
 
 After the synchronization has been deactivated, move the code base in 
SVN:
   
-  svn mv -m "Move commons foo to dormant" 
-  https://svn.apache.org/repos/commons/proper/foo 
+  svn mv -m "Move commons foo to dormant"
+  https://svn.apache.org/repos/commons/proper/foo
   https://svn.apache.org/repos/commons/dormant/
   
+  Then remove the entry of the component from svn:externals on 
https://svn.apache.org/repos/commons/trunks-proper
+  and add it to svn:externals of 
https://svn.apache.org/repos/commons/trunks-dormant.
 
 Move the website:
   
-  svn mv -m "Move commons foo website to dormant" 
-  
https://svn.apache.org/repos/infra/websites/production/commons/content/proper/commons-foo
 
+  svn mv -m "Move commons foo website to dormant"
+  
https://svn.apache.org/repos/infra/websites/production/commons/content/proper/commons-foo
   
https://svn.apache.org/repos/infra/websites/production/commons/content/dormant/
   
 
@@ -101,7 +103,7 @@
 
   Hi,
 
-  since no development has happened for a long while, the Apache Commons 
Foo component 
+  since no development has happened for a long while, the Apache Commons 
Foo component
   has been moved to dormant. No further development is expected.
 
   The SVN location has changed from:




[lang] changes.xml: correct entry type of LANG-1133

2016-10-02 Thread pascalschumacher
Repository: commons-lang
Updated Branches:
  refs/heads/master 43e5f9982 -> 756b91060


changes.xml: correct entry type of LANG-1133

(side-effect: close #39)


Project: http://git-wip-us.apache.org/repos/asf/commons-lang/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-lang/commit/756b9106
Tree: http://git-wip-us.apache.org/repos/asf/commons-lang/tree/756b9106
Diff: http://git-wip-us.apache.org/repos/asf/commons-lang/diff/756b9106

Branch: refs/heads/master
Commit: 756b910603ce94ae30e98954676477c14ed1a7d1
Parents: 43e5f99
Author: pascalschumacher 
Authored: Sun Oct 2 17:58:54 2016 +0200
Committer: pascalschumacher 
Committed: Sun Oct 2 17:58:54 2016 +0200

--
 src/changes/changes.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/commons-lang/blob/756b9106/src/changes/changes.xml
--
diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index 1d3fb64..5a124b4 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -126,7 +126,7 @@ The  type attribute can be add,update,fix,remove.
 EnumUtils *BitVector issue with more than 32 values Enum
 Capitalize javadoc is incorrect
 Add check for duplicate event listener in EventListenerSupport
-FastDateParser_TimeZoneStrategyTest#testTimeZoneStrategyPattern 
fails on Windows with German Locale
+FastDateParser_TimeZoneStrategyTest#testTimeZoneStrategyPattern 
fails on Windows with German Locale
 Add method containsAllWords to WordUtils
 ReflectionToStringBuilder doesn't throw IllegalArgumentException when the 
constructor's object param is null
 Inconsistent behavior of swap for malformed inputs



svn commit: r1763070 - /commons/cms-site/trunk/content/xdoc/releases/prepare.xml

2016-10-02 Thread britter
Author: britter
Date: Sun Oct  2 15:25:26 2016
New Revision: 1763070

URL: http://svn.apache.org/viewvc?rev=1763070=rev
Log:
Release notes should be located in the RC directory

Modified:
commons/cms-site/trunk/content/xdoc/releases/prepare.xml

Modified: commons/cms-site/trunk/content/xdoc/releases/prepare.xml
URL: 
http://svn.apache.org/viewvc/commons/cms-site/trunk/content/xdoc/releases/prepare.xml?rev=1763070=1763069=1763070=diff
==
--- commons/cms-site/trunk/content/xdoc/releases/prepare.xml (original)
+++ commons/cms-site/trunk/content/xdoc/releases/prepare.xml Sun Oct  2 
15:25:26 2016
@@ -674,7 +674,7 @@
 cp ${repo_path}/*-bin.tar.gz* ${release_path}/FOO_1_2_RC1
 cp ${repo_path}/*-src.zip* ${release_path}/FOO_1_2_RC1
 cp ${repo_path}/*-src.tar.gz* ${release_path}/FOO_1_2_RC1
-cp RELEASE-NOTES.txt ${release_path}
+cp RELEASE-NOTES.txt ${release_path}/FOO_1_2_RC1
   
   svn add the files and commit them.  Again, record the 
revision number for the vote email.
   There is a script which can be used to do all of this at:




svn commit: r16326 - in /dev/commons/lang: LANG_3_5_RC1/RELEASE-NOTES.txt RELEASE-NOTES.txt

2016-10-02 Thread britter
Author: britter
Date: Sun Oct  2 15:23:58 2016
New Revision: 16326

Log:
Move release notes to the right location

Added:
dev/commons/lang/LANG_3_5_RC1/RELEASE-NOTES.txt
  - copied unchanged from r16325, dev/commons/lang/RELEASE-NOTES.txt
Removed:
dev/commons/lang/RELEASE-NOTES.txt



Nexus: Staging Completed

2016-10-02 Thread Nexus Repository Manager
Message from: https://repository.apache.orgDescription:Apache Commons Lang 3.5 RC1Deployer properties:"userAgent" = "Apache-Maven/3.2.5 (Java 1.8.0_102; Mac OS X 10.11.6), Apache-Maven/3.2.5 (Java 1.8.0_102; Mac OS X 10.11.6)""userId" = "britter""ip" = "188.109.13.160"Details:The following artifacts have been staged/org/apache/commons/commons-lang3/3.5/commons-lang3-3.5-tests.jar(SHA1: aa4653a9342ac9f49d147699d13e3bc27488b00f)/org/apache/commons/commons-lang3/3.5/commons-lang3-3.5.jar(SHA1: cef2bb5803f0325d88263ae2566ef5a31b28fad7)/org/apache/commons/commons-lang3/3.5/commons-lang3-3.5-sources.jar(SHA1: 505b17dd8097ad6d5a536197b38786aafb04b41b)/org/apache/commons/commons-lang3/3.5/commons-lang3-3.5-sources.jar.asc(SHA1: 384d3051a535f371c54006642a735f488f1b7737)/org/apache/commons/commons-lang3/3.5/commons-lang3-3.5-javadoc.jar.asc(SHA1: 4fcd6e7e80f9e51611dab083125c703dd767f7b8)/org/apache/commons/commons-lang3/3.5/commons-lang3-3.5-test-sources.jar(SHA1: c56a478f2c46640239e7453a98e646b94e6198e2)/org/apache/commons/commons-lang3/3.5/commons-lang3-3.5.pom.asc(SHA1: c67ab5117a086a083f23e97897797b3184c0fcd1)/org/apache/commons/commons-lang3/3.5/commons-lang3-3.5-test-sources.jar.asc(SHA1: 9ad6263ba0664a0335db27810c58134711c0fdcd)/org/apache/commons/commons-lang3/3.5/commons-lang3-3.5.pom(SHA1: 08b969f02dfa03fa493fd6eba4cb9dcceea5aefd)/org/apache/commons/commons-lang3/3.5/commons-lang3-3.5-javadoc.jar(SHA1: 9a5aff3c756701522cdd812a21d1947c54857491)/org/apache/commons/commons-lang3/3.5/commons-lang3-3.5.jar.asc(SHA1: 379a3d14d06cd06c306edff3cb30c552abf90e13)/org/apache/commons/commons-lang3/3.5/commons-lang3-3.5-tests.jar.asc(SHA1: 402a75b20c3d2df1e39f320d44a8a06bc8b3011c)Action performed by Benedikt Ritter (britter)

svn commit: r16325 - in /dev/commons/lang: ./ LANG_3_5_RC1/

2016-10-02 Thread britter
Author: britter
Date: Sun Oct  2 14:21:04 2016
New Revision: 16325

Log:
Add Apache Commons Lang 3.5 RC1

Added:
dev/commons/lang/LANG_3_5_RC1/
dev/commons/lang/LANG_3_5_RC1/commons-lang3-3.5-bin.tar.gz   (with props)
dev/commons/lang/LANG_3_5_RC1/commons-lang3-3.5-bin.tar.gz.asc
dev/commons/lang/LANG_3_5_RC1/commons-lang3-3.5-bin.tar.gz.md5
dev/commons/lang/LANG_3_5_RC1/commons-lang3-3.5-bin.tar.gz.sha1
dev/commons/lang/LANG_3_5_RC1/commons-lang3-3.5-bin.zip   (with props)
dev/commons/lang/LANG_3_5_RC1/commons-lang3-3.5-bin.zip.asc
dev/commons/lang/LANG_3_5_RC1/commons-lang3-3.5-bin.zip.md5
dev/commons/lang/LANG_3_5_RC1/commons-lang3-3.5-bin.zip.sha1
dev/commons/lang/LANG_3_5_RC1/commons-lang3-3.5-src.tar.gz   (with props)
dev/commons/lang/LANG_3_5_RC1/commons-lang3-3.5-src.tar.gz.asc
dev/commons/lang/LANG_3_5_RC1/commons-lang3-3.5-src.tar.gz.md5
dev/commons/lang/LANG_3_5_RC1/commons-lang3-3.5-src.tar.gz.sha1
dev/commons/lang/LANG_3_5_RC1/commons-lang3-3.5-src.zip   (with props)
dev/commons/lang/LANG_3_5_RC1/commons-lang3-3.5-src.zip.asc
dev/commons/lang/LANG_3_5_RC1/commons-lang3-3.5-src.zip.md5
dev/commons/lang/LANG_3_5_RC1/commons-lang3-3.5-src.zip.sha1
dev/commons/lang/RELEASE-NOTES.txt   (with props)

Added: dev/commons/lang/LANG_3_5_RC1/commons-lang3-3.5-bin.tar.gz
==
Binary file - no diff available.

Propchange: dev/commons/lang/LANG_3_5_RC1/commons-lang3-3.5-bin.tar.gz
--
svn:mime-type = application/x-gzip

Added: dev/commons/lang/LANG_3_5_RC1/commons-lang3-3.5-bin.tar.gz.asc
==
--- dev/commons/lang/LANG_3_5_RC1/commons-lang3-3.5-bin.tar.gz.asc (added)
+++ dev/commons/lang/LANG_3_5_RC1/commons-lang3-3.5-bin.tar.gz.asc Sun Oct  2 
14:21:04 2016
@@ -0,0 +1,16 @@
+-BEGIN PGP SIGNATURE-
+
+iQIcBAABCgAGBQJX8RaSAAoJEJ2q3ByfzILQln4P/1qJil/gDiVKyuOXQn/vFV/s
+9lb71qqRbUaDauiV7ML5gXoO4rFUOFXTVXGm2Is87wB1kTMxoRjJcCGXlKOQteS+
+IeKx8Hz6hRe+ScwB9HnJ5cInZSu8eMH1i2RmKwkd8SEYs8XJ6NpGdWeTE9AaiAGs
+dsOzWghcOr6pEnorrdpa41/4KkYCmm493cBIG9oOWPruTDJtqXuJ56YmNLBMvHlo
+BRotivIhgqADbcW9lBRhFlpiakaDB6e0X8R5b3+aOc9hxb7pcSGOoe8cNE2sOnjq
+OXMjfmYn6DBgQDIrZbRlGKZz66WHBwvmFRxJePop6OlypqUvLQGYWmHOBPETpWiw
+XuZ2yLy+hLFU9wW6qEqk9qNtY0aAUb6BW0rzGZp2mKSApxJq55flKsEtP5/wyfE4
+r680ZlzciQoJRH6ObL/b7Oyrz2+yEWdzqk/3qPcU5B4vdR9ANgdYdymE9tEExJxw
+SwGxFXhRVneEgQrhm7oQO0MEqszM1jX6Aq63O2xHv6K5IIdBXifw7LiiSaAXWIjR
+s9Daf60fptI652NDmk14zAsIJbuVBAz+mFxkoJ6p16fKBMFrtSBxfHrZ+yoIXdyf
+0NluN8n7CZUMSsM14zXhiToVxMeLs9jYtUypO8lMBKG2+Zy7oXRKEFezaj5VYFKR
+gZb7cx/+UBe8in7XEBuo
+=dQXf
+-END PGP SIGNATURE-

Added: dev/commons/lang/LANG_3_5_RC1/commons-lang3-3.5-bin.tar.gz.md5
==
--- dev/commons/lang/LANG_3_5_RC1/commons-lang3-3.5-bin.tar.gz.md5 (added)
+++ dev/commons/lang/LANG_3_5_RC1/commons-lang3-3.5-bin.tar.gz.md5 Sun Oct  2 
14:21:04 2016
@@ -0,0 +1 @@
+38be946acbb43281a26e3c49795583ab
\ No newline at end of file

Added: dev/commons/lang/LANG_3_5_RC1/commons-lang3-3.5-bin.tar.gz.sha1
==
--- dev/commons/lang/LANG_3_5_RC1/commons-lang3-3.5-bin.tar.gz.sha1 (added)
+++ dev/commons/lang/LANG_3_5_RC1/commons-lang3-3.5-bin.tar.gz.sha1 Sun Oct  2 
14:21:04 2016
@@ -0,0 +1 @@
+bb46fe8a73eb10c9985c83d2d9dbc927a2cc8f61
\ No newline at end of file

Added: dev/commons/lang/LANG_3_5_RC1/commons-lang3-3.5-bin.zip
==
Binary file - no diff available.

Propchange: dev/commons/lang/LANG_3_5_RC1/commons-lang3-3.5-bin.zip
--
svn:mime-type = application/octet-stream

Added: dev/commons/lang/LANG_3_5_RC1/commons-lang3-3.5-bin.zip.asc
==
--- dev/commons/lang/LANG_3_5_RC1/commons-lang3-3.5-bin.zip.asc (added)
+++ dev/commons/lang/LANG_3_5_RC1/commons-lang3-3.5-bin.zip.asc Sun Oct  2 
14:21:04 2016
@@ -0,0 +1,16 @@
+-BEGIN PGP SIGNATURE-
+
+iQIcBAABCgAGBQJX8RaVAAoJEJ2q3ByfzILQN/0QAK84gpIzp8nPECaKYCqmiZBL
+x0oOksP56kDObm9MurzfGkdXwMR+W3I8qTMlGBRfbrma4KIZHksvCRRfQfzsB2eX
+krXycLQ/Pzs9hudINBdgnqGAyuCUTmvu8KaS1JnfuOqCcCEM4qJwebrRfkX3tRIw
+FyVMw49BQlgJt5Hid8P62BSLnTqMEK6k8Gzognf+wPPx/RPiq3dt+grEkbQXBIhg
+5Am1oQ3vYyIb/Dg0BPIZya/g7Kc5frZ5qUItEIzuXUGBggBsyKSde2VGlpxu0hN2
+LS5Oj17XGWTA7hjXrf73WMRgLFUwZKQyO3hCVU8ZnkHEgeFBXosFqGqBDzh26OPx
+dXNwrrXOhJnpd/w19tlPcmt7eYPsig6YOrkt8Tt54j3+sygHIjWuelN0FXQ34g2y
+LF7RqMRIZ9HV8IZ6fxf0fDiko1/q/w5zeAzrdM2GycA3rhJYI1ihWg3ytOLFJzCJ
+ihSqYHawHrIN8XG+OoLPVsNgq59F++bBA0uB0I8oLCdL7Bj6vxSuKv6PQWNqAKS0

[lang] Update version numbers for Commons Lang release 3.5

2016-10-02 Thread britter
Repository: commons-lang
Updated Branches:
  refs/heads/release 92ee7a176 -> 4b2ec0798
Updated Tags:  refs/tags/LANG_3_5_RC1 [created] 4ce4ee48e


Update version numbers for Commons Lang release 3.5


Project: http://git-wip-us.apache.org/repos/asf/commons-lang/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-lang/commit/4b2ec079
Tree: http://git-wip-us.apache.org/repos/asf/commons-lang/tree/4b2ec079
Diff: http://git-wip-us.apache.org/repos/asf/commons-lang/diff/4b2ec079

Branch: refs/heads/release
Commit: 4b2ec07989753b8f5e97cf0fdaa6cdd866ac30f5
Parents: 92ee7a1
Author: Benedikt Ritter 
Authored: Sun Oct 2 16:10:18 2016 +0200
Committer: Benedikt Ritter 
Committed: Sun Oct 2 16:10:18 2016 +0200

--
 pom.xml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/commons-lang/blob/4b2ec079/pom.xml
--
diff --git a/pom.xml b/pom.xml
index 540e011..d78a87b 100644
--- a/pom.xml
+++ b/pom.xml
@@ -27,7 +27,7 @@
   4.0.0
   org.apache.commons
   commons-lang3
-  3.5-SNAPSHOT
+  3.5
   Apache Commons Lang
 
   2001
@@ -48,6 +48,7 @@
 
scm:git:http://git-wip-us.apache.org/repos/asf/commons-lang.git
 
scm:git:https://git-wip-us.apache.org/repos/asf/commons-lang.git
 https://git-wip-us.apache.org/repos/asf?p=commons-lang.git
+LANG_3_5
   
 
   



svn commit: r16324 - in /dev/commons/lang: LANG_3_5_RC1/ RELEASE-NOTES.txt

2016-10-02 Thread britter
Author: britter
Date: Sun Oct  2 14:09:28 2016
New Revision: 16324

Log:
Drop Apache Commons Lang 3.5 RC1 to pick up latest changes

Removed:
dev/commons/lang/LANG_3_5_RC1/
dev/commons/lang/RELEASE-NOTES.txt



Nexus: Staging Repository Dropped

2016-10-02 Thread Nexus Repository Manager
Message from: https://repository.apache.orgDescription:Drop Apache Commons Lang 3.5 RC1 in order to pick up one latest changeDeployer properties:"userAgent" = "Apache-Maven/3.2.5 (Java 1.8.0_102; Mac OS X 10.11.6), Apache-Maven/3.2.5 (Java 1.8.0_102; Mac OS X 10.11.6)""userId" = "britter""ip" = "188.109.13.160"Details:The orgapachecommons-1203 staging repository has been dropped.Action performed by Benedikt Ritter (britter)

[lang] Add rat ignore for .htaccess file [Forced Update!]

2016-10-02 Thread britter
Repository: commons-lang
Updated Branches:
  refs/heads/release 24f3ccf23 -> 92ee7a176 (forced update)


Add rat ignore for .htaccess file


Project: http://git-wip-us.apache.org/repos/asf/commons-lang/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-lang/commit/92ee7a17
Tree: http://git-wip-us.apache.org/repos/asf/commons-lang/tree/92ee7a17
Diff: http://git-wip-us.apache.org/repos/asf/commons-lang/diff/92ee7a17

Branch: refs/heads/release
Commit: 92ee7a17603bbbe72915b6fb94bb6e9ae48e7b45
Parents: 873a227
Author: Benedikt Ritter 
Authored: Sun Oct 2 16:06:23 2016 +0200
Committer: Benedikt Ritter 
Committed: Sun Oct 2 16:06:23 2016 +0200

--
 pom.xml | 1 +
 1 file changed, 1 insertion(+)
--


http://git-wip-us.apache.org/repos/asf/commons-lang/blob/92ee7a17/pom.xml
--
diff --git a/pom.xml b/pom.xml
index 9e6d308..540e011 100644
--- a/pom.xml
+++ b/pom.xml
@@ -723,6 +723,7 @@
 
   
 site-content/**
+src/site/resources/.htaccess
 src/site/resources/download_lang.cgi
 
src/site/resources/release-notes/RELEASE-NOTES-*.txt
 src/test/resources/lang-708-input.txt



svn commit: r16321 - in /dev/commons/lang: ./ LANG_3_5_RC1/ binaries/ source/

2016-10-02 Thread britter
Author: britter
Date: Sun Oct  2 13:08:32 2016
New Revision: 16321

Log:
Add Apache Commons Lang 3.5 RC1

Added:
dev/commons/lang/LANG_3_5_RC1/
dev/commons/lang/LANG_3_5_RC1/commons-lang3-3.5-bin.tar.gz   (with props)
dev/commons/lang/LANG_3_5_RC1/commons-lang3-3.5-bin.tar.gz.asc
dev/commons/lang/LANG_3_5_RC1/commons-lang3-3.5-bin.tar.gz.md5
dev/commons/lang/LANG_3_5_RC1/commons-lang3-3.5-bin.tar.gz.sha1
dev/commons/lang/LANG_3_5_RC1/commons-lang3-3.5-bin.zip   (with props)
dev/commons/lang/LANG_3_5_RC1/commons-lang3-3.5-bin.zip.asc
dev/commons/lang/LANG_3_5_RC1/commons-lang3-3.5-bin.zip.md5
dev/commons/lang/LANG_3_5_RC1/commons-lang3-3.5-bin.zip.sha1
dev/commons/lang/LANG_3_5_RC1/commons-lang3-3.5-src.tar.gz   (with props)
dev/commons/lang/LANG_3_5_RC1/commons-lang3-3.5-src.tar.gz.asc
dev/commons/lang/LANG_3_5_RC1/commons-lang3-3.5-src.tar.gz.md5
dev/commons/lang/LANG_3_5_RC1/commons-lang3-3.5-src.tar.gz.sha1
dev/commons/lang/LANG_3_5_RC1/commons-lang3-3.5-src.zip   (with props)
dev/commons/lang/LANG_3_5_RC1/commons-lang3-3.5-src.zip.asc
dev/commons/lang/LANG_3_5_RC1/commons-lang3-3.5-src.zip.md5
dev/commons/lang/LANG_3_5_RC1/commons-lang3-3.5-src.zip.sha1
dev/commons/lang/RELEASE-NOTES.txt   (with props)
Removed:
dev/commons/lang/binaries/
dev/commons/lang/source/

Added: dev/commons/lang/LANG_3_5_RC1/commons-lang3-3.5-bin.tar.gz
==
Binary file - no diff available.

Propchange: dev/commons/lang/LANG_3_5_RC1/commons-lang3-3.5-bin.tar.gz
--
svn:mime-type = application/x-gzip

Added: dev/commons/lang/LANG_3_5_RC1/commons-lang3-3.5-bin.tar.gz.asc
==
--- dev/commons/lang/LANG_3_5_RC1/commons-lang3-3.5-bin.tar.gz.asc (added)
+++ dev/commons/lang/LANG_3_5_RC1/commons-lang3-3.5-bin.tar.gz.asc Sun Oct  2 
13:08:32 2016
@@ -0,0 +1,16 @@
+-BEGIN PGP SIGNATURE-
+
+iQIcBAABCgAGBQJX8QS1AAoJEJ2q3ByfzILQWrQP/iq6aoyxwaC7kSNjc3yekbpX
+b4bkOK9C4fYB5qlB7CMJwPTRd63o5uQijLIL3XK7eJtyYmSOnwkcvYJOOif4Ezbf
+gXNbt3vE+Hs8QKlxuoRs0LYA2qJ1n/29VJFecGoDNNPKz3mvSFXD8VN+PXtlcT++
+dCzwUIBniQzBF9XOi8aW+YZqsMvAFU61te80Ta2RVE8/Ndxciqjoxy4bt734VyEH
+t2wG/JVtOOxb8d+iTYfn5ZZGxeT0Bz1Mt9IBCQ+Fya2zI2ZJ210r0sgXzutooznD
+8lKUwuB4TJu2DdRMPjxWYDf1A/+NAfXSt0F/r/klmHKigln3yXAVq1u2AL5UKGNr
+HbSC9eEXWn58580GlwTIwKo8TqU2zlcmcLKc4CTKBUZm3URJKLXE3OhNm67t9zj5
+Vo7G37+yvS15aK93O5t2cwMfTwsLCLocir1P9b+HJyENu6OxCHDljslWCCobEAKg
+ey4rvw+eVkUP5GJQdtYQZMjpqJPuCu08TBZNNCsn5nJhpRmKb6vRs/ZyKq8lQeoh
+B+mT3O/t6qi5PnyPfKc8ZoQpedzHZ9vIQtlU2E881eNp9S8tSrSKh15gEHAg7ytH
+aw1KIOhU7KQdGkOdEvgZKosYoDd+E3NpjhDwZG2QB86fLIi1uEJXk46JoPSFh3vN
+MUVuyCfLlN7z7uDiiQh6
+=4KxA
+-END PGP SIGNATURE-

Added: dev/commons/lang/LANG_3_5_RC1/commons-lang3-3.5-bin.tar.gz.md5
==
--- dev/commons/lang/LANG_3_5_RC1/commons-lang3-3.5-bin.tar.gz.md5 (added)
+++ dev/commons/lang/LANG_3_5_RC1/commons-lang3-3.5-bin.tar.gz.md5 Sun Oct  2 
13:08:32 2016
@@ -0,0 +1 @@
+21818da8b46f6bd98a8151473474449e
\ No newline at end of file

Added: dev/commons/lang/LANG_3_5_RC1/commons-lang3-3.5-bin.tar.gz.sha1
==
--- dev/commons/lang/LANG_3_5_RC1/commons-lang3-3.5-bin.tar.gz.sha1 (added)
+++ dev/commons/lang/LANG_3_5_RC1/commons-lang3-3.5-bin.tar.gz.sha1 Sun Oct  2 
13:08:32 2016
@@ -0,0 +1 @@
+8e312672eccb1a11ede0452f2bdb45dd99baf727
\ No newline at end of file

Added: dev/commons/lang/LANG_3_5_RC1/commons-lang3-3.5-bin.zip
==
Binary file - no diff available.

Propchange: dev/commons/lang/LANG_3_5_RC1/commons-lang3-3.5-bin.zip
--
svn:mime-type = application/octet-stream

Added: dev/commons/lang/LANG_3_5_RC1/commons-lang3-3.5-bin.zip.asc
==
--- dev/commons/lang/LANG_3_5_RC1/commons-lang3-3.5-bin.zip.asc (added)
+++ dev/commons/lang/LANG_3_5_RC1/commons-lang3-3.5-bin.zip.asc Sun Oct  2 
13:08:32 2016
@@ -0,0 +1,16 @@
+-BEGIN PGP SIGNATURE-
+
+iQIcBAABCgAGBQJX8QS4AAoJEJ2q3ByfzILQid4QALPmavJS0weKDOozo4fEzNFW
+TXaCSwfciixiFj4Vo1NKaviFjvmAKpezRY4YR37b49Q7+pziFCFuss4W4lJNtRKZ
+bQfmvmU9NRJKkH9olp7HfLM20uGO0LwIC1CwFBbJLfxpEAMhL39mW3JIhgVdkhh5
+tyvZy3WLBhWHp6dKuvjH9DMoEga3Rq2uRs/kjwvX/KFaOsg25PZhEE3G5gm3BwZy
+KtDAwNM3BvP+Ayzh4LUnUpL5MdhVX+4FUK1GeXQmGhWgeX4ZOPTvgaD5URIGr6I4
+/ve8aWyYmMHnWrX+LEjK2z2AaX0z8CEVOarj0Wi4FFE5gyfa4LtFFuuiwCE5gzAu
+1b5jFMqQ7F2gPZBwcQ+0qQmmPEGBTkDFbTlrpDxVdaK1zHU7AR0Gs/JwQFaB9m8L
+zqIdDE6Xp/pDHCQnFCpUNI3s9SJjWeWsnPuaC+18Jo9rdVWw95RSYAyDaO+YcTZL

[4/5] [lang] Update documentation for release 3.5

2016-10-02 Thread britter
Update documentation for release 3.5


Project: http://git-wip-us.apache.org/repos/asf/commons-lang/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-lang/commit/873a2274
Tree: http://git-wip-us.apache.org/repos/asf/commons-lang/tree/873a2274
Diff: http://git-wip-us.apache.org/repos/asf/commons-lang/diff/873a2274

Branch: refs/heads/release
Commit: 873a2274192bdacab643b264cea6210d656ca9c0
Parents: 7672b4b
Author: Benedikt Ritter 
Authored: Sun Oct 2 14:40:29 2016 +0200
Committer: Benedikt Ritter 
Committed: Sun Oct 2 14:40:29 2016 +0200

--
 README.md |  2 +-
 src/changes/changes.xml   |  2 +-
 src/site/xdoc/index.xml   | 10 +-
 src/site/xdoc/release-history.xml |  3 +++
 4 files changed, 10 insertions(+), 7 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/commons-lang/blob/873a2274/README.md
--
diff --git a/README.md b/README.md
index 216c07b..c3763fd 100644
--- a/README.md
+++ b/README.md
@@ -69,7 +69,7 @@ Alternatively you can pull it from the central Maven 
repositories:
 
   org.apache.commons
   commons-lang3
-  3.4
+  3.5
 
 ```
 

http://git-wip-us.apache.org/repos/asf/commons-lang/blob/873a2274/src/changes/changes.xml
--
diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index 1d3fb64..56f50f6 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -45,7 +45,7 @@ The  type attribute can be add,update,fix,remove.
   
   
 
-  
+  
 Added 
a new property IS_OS_MAC_OSX_EL_CAPITAN in SystemUtils
 Add DateUtils.toCalendar(Date, TimeZone)
 Add WordUtils.wrap overload with customizable breakable 
character

http://git-wip-us.apache.org/repos/asf/commons-lang/blob/873a2274/src/site/xdoc/index.xml
--
diff --git a/src/site/xdoc/index.xml b/src/site/xdoc/index.xml
index 197a33d..b1fb5e6 100644
--- a/src/site/xdoc/index.xml
+++ b/src/site/xdoc/index.xml
@@ -50,7 +50,7 @@ and various project 
reports are provided.
 The JavaDoc API documents are available online:
 
 
-The current stable release 3.4 
[Java 6.0+]
+The current stable release 3.5 
[Java 6.0+]
 The legacy release 2.6 [Java 
1.2+]
 Older releases - see the Release 
History page
 
@@ -64,10 +64,10 @@ The code base is monitored by a Sonar instance running on 
https://analy
 
 
 
-The latest stable release of Lang is 3.4. You may: 
+The latest stable release of Lang is 3.5. You may: 
 
-Download http://commons.apache.org/lang/download_lang.cgi;>3.4
-Read the 3.4 release 
notes
+Download http://commons.apache.org/lang/download_lang.cgi;>3.5
+Read the 3.5 release 
notes
 Examine the 2.x to 3.0 upgrade notes
 Compare major versions via the Lang2 to Lang3 Clirr report
 
@@ -77,7 +77,7 @@ Alternatively you can pull it from the central Maven 
repositories:
 dependency
   groupIdorg.apache.commons/groupId
   artifactIdcommons-lang3/artifactId
-  version3.4/version
+  version3.5/version
 /dependency
 
 

http://git-wip-us.apache.org/repos/asf/commons-lang/blob/873a2274/src/site/xdoc/release-history.xml
--
diff --git a/src/site/xdoc/release-history.xml 
b/src/site/xdoc/release-history.xml
index 2fe4679..8a805e1 100644
--- a/src/site/xdoc/release-history.xml
+++ b/src/site/xdoc/release-history.xml
@@ -32,6 +32,9 @@ limitations under the License.
   VersionRelease dateRequired Java 
VersionJavadocRelease notes
 
 
+  3.52016-10-026.0api-3.5release notes for 3.5
+
+
   3.42014-04-066.0api-3.4release notes for 3.4
 
 



[1/5] [lang] Update pom.xml in preparation for 3.5 release

2016-10-02 Thread britter
Repository: commons-lang
Updated Branches:
  refs/heads/release [created] 24f3ccf23


Update pom.xml in preparation for 3.5 release


Project: http://git-wip-us.apache.org/repos/asf/commons-lang/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-lang/commit/a5a7418c
Tree: http://git-wip-us.apache.org/repos/asf/commons-lang/tree/a5a7418c
Diff: http://git-wip-us.apache.org/repos/asf/commons-lang/diff/a5a7418c

Branch: refs/heads/release
Commit: a5a7418cf2b7094eaae4bd98a45e4dda25121483
Parents: 43e5f99
Author: Benedikt Ritter 
Authored: Sun Sep 25 20:30:21 2016 +0200
Committer: Benedikt Ritter 
Committed: Sun Oct 2 14:37:09 2016 +0200

--
 pom.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/commons-lang/blob/a5a7418c/pom.xml
--
diff --git a/pom.xml b/pom.xml
index 856cf26..9e6d308 100644
--- a/pom.xml
+++ b/pom.xml
@@ -559,7 +559,7 @@
 -->
 lang3
 
-3.4
+3.5
 (Java 6.0+)
 
 2.6



[2/5] [lang] Updated download page in preparation for 3.5 release.

2016-10-02 Thread britter
Updated download page in preparation for 3.5 release.


Project: http://git-wip-us.apache.org/repos/asf/commons-lang/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-lang/commit/523fbf30
Tree: http://git-wip-us.apache.org/repos/asf/commons-lang/tree/523fbf30
Diff: http://git-wip-us.apache.org/repos/asf/commons-lang/diff/523fbf30

Branch: refs/heads/release
Commit: 523fbf303d29e1f14f58cc2acf9dd73de7eb8c23
Parents: a5a7418
Author: Benedikt Ritter 
Authored: Sun Sep 25 20:34:27 2016 +0200
Committer: Benedikt Ritter 
Committed: Sun Oct 2 14:37:12 2016 +0200

--
 src/site/xdoc/download_lang.xml | 76 ++--
 1 file changed, 46 insertions(+), 30 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/commons-lang/blob/523fbf30/src/site/xdoc/download_lang.xml
--
diff --git a/src/site/xdoc/download_lang.xml b/src/site/xdoc/download_lang.xml
index d9d686e..ca32024 100644
--- a/src/site/xdoc/download_lang.xml
+++ b/src/site/xdoc/download_lang.xml
@@ -31,10 +31,21 @@ limitations under the License.
  | 2) Set the following properties in the component's pom:  |
  |- commons.componentid (required, alphabetic, lower case)  |
  |- commons.release.version (required)  |
- |- commons.binary.suffix (optional)|
+ |- commons.release.name(required)  |
+ |- commons.binary.suffix   (optional)  |
  |  (defaults to "-bin", set to "" for pre-maven2 releases) |
+ |- commons.release.desc(optional)  |
+ |- commons.release.subdir  (optional)  |
+ |  |
+ |- commons.release.2/3.version   (conditional) |
+ |- commons.release.2/3.name  (conditional) |
+ |- commons.release.2/3.binary.suffix (optional)|
+ |- commons.release.2/3.desc  (optional)|
+ |- commons.release.2/3.subdir(optional)|
  |  |
  | 3) Example Properties|
+ |(commons.release.name inherited by parent:|
+ | ${project.artifactId}-${commons.release.version} |
  |  |
  |  |
  |math   |
@@ -46,17 +57,17 @@ limitations under the License.
 
   
 Download Apache Commons Lang
-Commons Documentation Team
+Apache Commons Documentation 
Team
   
   
 
 
   
 We recommend you use a mirror to download our release
-builds, but you must verify the integrity of
+builds, but you must http://www.apache.org/info/verification.html;>verify the integrity of
 the downloaded files using signatures downloaded from our main
 distribution directories. Recent releases (48 hours) may not yet
-be available from the mirrors.
+be available from all the mirrors.
   
 
   
@@ -88,39 +99,44 @@ limitations under the License.
   
 
   
-The http://www.apache.org/dist/commons/KEYS;>KEYS
-link links to the code signing keys used to sign the product.
-The PGP link downloads the OpenPGP compatible signature 
from our main site.
-The MD5 link downloads the checksum from the main site.
+It is essential that you
+https://www.apache.org/info/verification.html;>verify the 
integrity
+of downloaded files, preferably using the PGP signature 
(*.asc files);
+failing that using the MD5 hash (*.md5 
checksum files).
+  
+  
+The https://www.apache.org/dist/commons/KEYS;>KEYS
+file contains the public PGP keys used by Apache Commons developers
+to sign releases.
   
 
 
-
+
   
 
   
-  commons-lang3-3.4-bin.tar.gz
-  http://www.apache.org/dist/commons/lang/binaries/commons-lang3-3.4-bin.tar.gz.md5;>md5
-  http://www.apache.org/dist/commons/lang/binaries/commons-lang3-3.4-bin.tar.gz.asc;>pgp
+  commons-lang3-3.5-bin.tar.gz
+  https://www.apache.org/dist/commons/lang/binaries/commons-lang3-3.5-bin.tar.gz.md5;>md5
+  https://www.apache.org/dist/commons/lang/binaries/commons-lang3-3.5-bin.tar.gz.asc;>pgp
   
   
-  commons-lang3-3.4-bin.zip
-  

[3/5] [lang] Update release notes for release 3.5

2016-10-02 Thread britter
Update release notes for release 3.5


Project: http://git-wip-us.apache.org/repos/asf/commons-lang/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-lang/commit/7672b4b0
Tree: http://git-wip-us.apache.org/repos/asf/commons-lang/tree/7672b4b0
Diff: http://git-wip-us.apache.org/repos/asf/commons-lang/diff/7672b4b0

Branch: refs/heads/release
Commit: 7672b4b00bcdc83ed820d7cb0ab9aec434ffd932
Parents: 523fbf3
Author: Benedikt Ritter 
Authored: Sun Oct 2 14:27:17 2016 +0200
Committer: Benedikt Ritter 
Committed: Sun Oct 2 14:37:15 2016 +0200

--
 RELEASE-NOTES.txt | 312 +++--
 1 file changed, 304 insertions(+), 8 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/commons-lang/blob/7672b4b0/RELEASE-NOTES.txt
--
diff --git a/RELEASE-NOTES.txt b/RELEASE-NOTES.txt
index eb149d7..5cca88b 100644
--- a/RELEASE-NOTES.txt
+++ b/RELEASE-NOTES.txt
@@ -1,28 +1,324 @@
Apache Commons Lang
-   Version 3.4
+   Version 3.5
   Release Notes
 
 
 INTRODUCTION:
 
-This document contains the release notes for the 3.4 version of
-Apache Commons Lang. Commons Lang is a set of utility functions and reusable 
-components that should be of use in any Java environment. Commons Lang 3.4
-at least requires Java 6.0.
+This document contains the release notes for the 3.5 version of
+Apache Commons Lang as well as a history all changes in the Commons Lang 3.x
+release line. Commons Lang is a set of utility functions and reusable
+components that should be of use in any Java environment. Commons Lang 3.5 at
+least requires Java 6.0.
 
 For the advice on upgrading from 2.x to 3.x, see the following page:
 
 http://commons.apache.org/lang/article3_0.html
 
+HIGHLIGHTS
+==
+
+Some of the highlights in this release include:
+
+o Added Java 9 detection to org.apache.commons.lang3.SystemUtils.
+o Support for shifting and swapping elements in
+org.apache.commons.lang3.ArrayUtils.
+o New methods for generating random strings from different character classes
+including alphabetic, alpha-numeric and ASCII added to
+org.apache.commons.lang3.RandomStringUtils.
+o Numerous extensions to org.apache.commons.lang3.StringUtils including
+null safe compare variants, more remove and replace variants, rotation and
+truncation.
+o Added org.apache.commons.lang3.ThreadUtils - a utility class to work with
+instances of java.lang.Thread and java.lang.ThreadGroup.
+o Added annotations @EqualsExclude, @HashCodeExclude and @ToStringEclude to
+mark fields which should be ignored by the reflective builders in the
+org.apache.commons.lang3.builder package.
+o Support for various modify and retrieve value use cases added to the classes
+in org.apache.commons.lang3.mutable.
+
+COMPATIBILITY
+=
+
+Apache Commons Lang 3.5 is binary compatible with the 3.4 release. Users
+should not experience any problems when upgrading vom 3.4 to 3.5.
+
+There has been an addition to the org.apache.commons.lang3.time.DatePrinter
+interface:
+
+o Added method 'public boolean parse(java.lang.String, java.text.ParsePosition,
+java.util.Calendar)'
+o Added method 'public java.lang.Appendable format(long, java.lang.Appendable)'
+o Added method 'public java.lang.Appendable format(java.util.Date,
+java.lang.Appendable)'
+o Added method 'public java.lang.Appendable format(java.util.Calendar,
+java.lang.Appendable)'
+
+For this reason 3.5 is not strictly source compatible to 3.4. Since the
+DatePrinter interface is not meant to be implemented by clients, this
+change it not considered to cause any problems.
+
+JAVA 9 SUPPORT
+==
+
+Java 9 introduces a new version-string scheme. Details of this new scheme are
+documented in JEP-223 (http://openjdk.java.net/jeps/223). In order to support
+JEP-223 two classes had to be changed:
+
+o org.apache.commons.lang3.JavaVersion
+deprecated enum constant JAVA_1_9
+introduced enum constant JAVA_9
+
+o org.apache.commons.lang3.SystemUtils
+deprecated constant IS_JAVA_1_9
+introduced constant IS_JAVA_9
+
+For more information see LANG-1197
+(https://issues.apache.org/jira/browse/LANG-1197). All other APIs are expected
+to work with Java 9.
+
+BUILDING ON JAVA 9
+==
+
+Java 8 introduced the Unicode Consortium's Common Locale Data Repository as
+alternative source for locale data. Java 9 will use the CLDR provider as
+default provider for locale data (see http://openjdk.java.net/jeps/252). This
+causes an number of locale-sensitive test in Commons Lang to fail. In order
+to build Commons Lang 3.5 on Java 9, the locale provider has to be set to

[5/5] [lang] Update version numbers for Commons Lang release 3.5

2016-10-02 Thread britter
Update version numbers for Commons Lang release 3.5


Project: http://git-wip-us.apache.org/repos/asf/commons-lang/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-lang/commit/24f3ccf2
Tree: http://git-wip-us.apache.org/repos/asf/commons-lang/tree/24f3ccf2
Diff: http://git-wip-us.apache.org/repos/asf/commons-lang/diff/24f3ccf2

Branch: refs/heads/release
Commit: 24f3ccf23f3473589fd5b847462e8cff03b1906a
Parents: 873a227
Author: Benedikt Ritter 
Authored: Sun Oct 2 14:42:30 2016 +0200
Committer: Benedikt Ritter 
Committed: Sun Oct 2 14:42:30 2016 +0200

--
 pom.xml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/commons-lang/blob/24f3ccf2/pom.xml
--
diff --git a/pom.xml b/pom.xml
index 9e6d308..7222465 100644
--- a/pom.xml
+++ b/pom.xml
@@ -27,7 +27,7 @@
   4.0.0
   org.apache.commons
   commons-lang3
-  3.5-SNAPSHOT
+  3.5
   Apache Commons Lang
 
   2001
@@ -48,6 +48,7 @@
 
scm:git:http://git-wip-us.apache.org/repos/asf/commons-lang.git
 
scm:git:https://git-wip-us.apache.org/repos/asf/commons-lang.git
 https://git-wip-us.apache.org/repos/asf?p=commons-lang.git
+LANG_3_5
   
 
   



[lang] Override clirr version from parent pom to be able to build site on Java 8

2016-10-02 Thread britter
Repository: commons-lang
Updated Branches:
  refs/heads/master 9177ddde8 -> 43e5f9982


Override clirr version from parent pom to be able to build site on Java 8


Project: http://git-wip-us.apache.org/repos/asf/commons-lang/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-lang/commit/43e5f998
Tree: http://git-wip-us.apache.org/repos/asf/commons-lang/tree/43e5f998
Diff: http://git-wip-us.apache.org/repos/asf/commons-lang/diff/43e5f998

Branch: refs/heads/master
Commit: 43e5f99828f1d831a36cdad66ef2331a548dd4b9
Parents: 9177ddd
Author: Benedikt Ritter 
Authored: Sun Oct 2 14:36:53 2016 +0200
Committer: Benedikt Ritter 
Committed: Sun Oct 2 14:36:53 2016 +0200

--
 pom.xml | 3 +++
 1 file changed, 3 insertions(+)
--


http://git-wip-us.apache.org/repos/asf/commons-lang/blob/43e5f998/pom.xml
--
diff --git a/pom.xml b/pom.xml
index d6213ee..856cf26 100644
--- a/pom.xml
+++ b/pom.xml
@@ -573,6 +573,9 @@
 
https://svn.apache.org/repos/infra/websites/production/commons/content/proper/commons-lang
 
site-content
 utf-8
+
+
+2.8
   
 
 



[lang] Add LANG-1273 to changes.xml

2016-10-02 Thread britter
Repository: commons-lang
Updated Branches:
  refs/heads/master 33bb9fe25 -> 9177ddde8


Add LANG-1273 to changes.xml


Project: http://git-wip-us.apache.org/repos/asf/commons-lang/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-lang/commit/9177ddde
Tree: http://git-wip-us.apache.org/repos/asf/commons-lang/tree/9177ddde
Diff: http://git-wip-us.apache.org/repos/asf/commons-lang/diff/9177ddde

Branch: refs/heads/master
Commit: 9177ddde8e5268a48fc20d83d185f4c21da4dc43
Parents: 33bb9fe
Author: Benedikt Ritter 
Authored: Sun Oct 2 14:28:28 2016 +0200
Committer: Benedikt Ritter 
Committed: Sun Oct 2 14:28:28 2016 +0200

--
 src/changes/changes.xml | 1 +
 1 file changed, 1 insertion(+)
--


http://git-wip-us.apache.org/repos/asf/commons-lang/blob/9177ddde/src/changes/changes.xml
--
diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index 39a2d27..1d3fb64 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -46,6 +46,7 @@ The  type attribute can be add,update,fix,remove.
   
 
   
+Added 
a new property IS_OS_MAC_OSX_EL_CAPITAN in SystemUtils
 Add DateUtils.toCalendar(Date, TimeZone)
 Add WordUtils.wrap overload with customizable breakable 
character
 Add method removeIgnoreCase(String, String) to 
StringUtils



[4/6] [lang] Handle Comments

2016-10-02 Thread britter
Handle Comments


Project: http://git-wip-us.apache.org/repos/asf/commons-lang/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-lang/commit/8ac857c4
Tree: http://git-wip-us.apache.org/repos/asf/commons-lang/tree/8ac857c4
Diff: http://git-wip-us.apache.org/repos/asf/commons-lang/diff/8ac857c4

Branch: refs/heads/master
Commit: 8ac857c41ec8ae02e57eb0c1c1a012525e7e14b9
Parents: d9a2c69
Author: Kaiyuan Wang 
Authored: Sun Sep 25 13:13:03 2016 -0500
Committer: Kaiyuan Wang 
Committed: Sun Sep 25 13:13:03 2016 -0500

--
 .../commons/lang3/time/DateUtilsTest.java   | 45 
 1 file changed, 9 insertions(+), 36 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/commons-lang/blob/8ac857c4/src/test/java/org/apache/commons/lang3/time/DateUtilsTest.java
--
diff --git a/src/test/java/org/apache/commons/lang3/time/DateUtilsTest.java 
b/src/test/java/org/apache/commons/lang3/time/DateUtilsTest.java
index d4d1917..bb6e59f 100644
--- a/src/test/java/org/apache/commons/lang3/time/DateUtilsTest.java
+++ b/src/test/java/org/apache/commons/lang3/time/DateUtilsTest.java
@@ -695,56 +695,29 @@ public class DateUtilsTest {
 }
 
 //---
-@Test
-public void testToCalendarWithDateNotNull() {
-assertEquals("Convert Date and TimeZone to a Calendar, but failed to 
get the Date back", date1, DateUtils.toCalendar(date1, zone).getTime());
-}
-
-//---
-@Test
+@Test(expected=NullPointerException.class)
 public void testToCalendarWithDateNull() {
-try {
-DateUtils.toCalendar(null, zone);
-fail("Expected NullPointerException to be thrown when Date is 
null");
-} catch(final NullPointerException npe) {
-// expected
-}
-}
-
-//---
-@Test
-public void testToCalendarWithTimeZoneNotNull() {
-   assertEquals("Convert Date and TimeZone to a Calendar, but failed to 
get the TimeZone back", zone, DateUtils.toCalendar(date1, zone).getTimeZone());
+DateUtils.toCalendar(null, zone);
 }
 
 //---
-@Test
+@Test(expected=NullPointerException.class)
 public void testToCalendarWithTimeZoneNull() {
-try {
-DateUtils.toCalendar(date1, null);
-fail("Expected NullPointerException to be thrown when TimeZone is 
null");
-} catch(final NullPointerException npe) {
-// expected
-}
+DateUtils.toCalendar(date1, null);
 }
 
 //---
 @Test
 public void testToCalendarWithDateAndTimeZoneNotNull() {
-   Calendar c = DateUtils.toCalendar(date2, defaultZone);
-   assertEquals("Convert Date and TimeZone to a Calendar, but failed to 
get the Date back", date2, c.getTime());
-   assertEquals("Convert Date and TimeZone to a Calendar, but failed to 
get the TimeZone back", defaultZone, c.getTimeZone());
+Calendar c = DateUtils.toCalendar(date2, defaultZone);
+assertEquals("Convert Date and TimeZone to a Calendar, but failed to 
get the Date back", date2, c.getTime());
+assertEquals("Convert Date and TimeZone to a Calendar, but failed to 
get the TimeZone back", defaultZone, c.getTimeZone());
 }
 
 //---
-@Test
+@Test(expected=NullPointerException.class)
 public void testToCalendarWithDateAndTimeZoneNull() {
-   try {
-   DateUtils.toCalendar(null, null);
-fail("Expected NullPointerException to be thrown when both Date 
and TimeZone are null");
-} catch(final NullPointerException npe) {
-// expected
-}
+DateUtils.toCalendar(null, null);
 }
 
 //---



[6/6] [lang] Merge branch 'LANG-1255'

2016-10-02 Thread britter
Merge branch 'LANG-1255'


Project: http://git-wip-us.apache.org/repos/asf/commons-lang/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-lang/commit/33bb9fe2
Tree: http://git-wip-us.apache.org/repos/asf/commons-lang/tree/33bb9fe2
Diff: http://git-wip-us.apache.org/repos/asf/commons-lang/diff/33bb9fe2

Branch: refs/heads/master
Commit: 33bb9fe25b9200e75cc4bf2483b17a35df960034
Parents: 86a5960 9209e23
Author: Benedikt Ritter 
Authored: Sun Oct 2 12:28:09 2016 +0200
Committer: Benedikt Ritter 
Committed: Sun Oct 2 12:28:09 2016 +0200

--
 src/changes/changes.xml |  1 +
 .../apache/commons/lang3/time/DateUtils.java| 14 +++
 .../commons/lang3/time/DateUtilsTest.java   | 26 
 3 files changed, 41 insertions(+)
--


http://git-wip-us.apache.org/repos/asf/commons-lang/blob/33bb9fe2/src/changes/changes.xml
--
diff --cc src/changes/changes.xml
index dde81f6,8a9861e..39a2d27
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@@ -46,8 -46,7 +46,9 @@@ The  type attribute can be add,

  

+ Add DateUtils.toCalendar(Date, TimeZone)
 +Add WordUtils.wrap overload with customizable breakable 
character
 +Add method removeIgnoreCase(String, String) to 
StringUtils
  ArrayUtils.contains returns false for instances of subtypes
  Prepare Java 9 
detection
  Rename NumberUtils.isNumber, isCreatable to better reflect 
createNumber. Also, accommodated for "+" symbol as prefix in isCreatable and 
isNumber.



[1/6] [lang] Add DateUtils.toCalendar(Date, TimeZone)

2016-10-02 Thread britter
Repository: commons-lang
Updated Branches:
  refs/heads/master 86a59601b -> 33bb9fe25


Add DateUtils.toCalendar(Date, TimeZone)


Project: http://git-wip-us.apache.org/repos/asf/commons-lang/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-lang/commit/1eecfc94
Tree: http://git-wip-us.apache.org/repos/asf/commons-lang/tree/1eecfc94
Diff: http://git-wip-us.apache.org/repos/asf/commons-lang/diff/1eecfc94

Branch: refs/heads/master
Commit: 1eecfc948bf6f4cbb9a2481313ca7368ec653056
Parents: db6f7c1
Author: Kaiyuan Wang 
Authored: Tue Sep 20 23:58:36 2016 -0500
Committer: Kaiyuan Wang 
Committed: Tue Sep 20 23:58:36 2016 -0500

--
 .../java/org/apache/commons/lang3/time/DateUtils.java  | 13 +
 1 file changed, 13 insertions(+)
--


http://git-wip-us.apache.org/repos/asf/commons-lang/blob/1eecfc94/src/main/java/org/apache/commons/lang3/time/DateUtils.java
--
diff --git a/src/main/java/org/apache/commons/lang3/time/DateUtils.java 
b/src/main/java/org/apache/commons/lang3/time/DateUtils.java
index c242bd5..e9ae23f 100644
--- a/src/main/java/org/apache/commons/lang3/time/DateUtils.java
+++ b/src/main/java/org/apache/commons/lang3/time/DateUtils.java
@@ -668,6 +668,19 @@ public class DateUtils {
 
 //---
 /**
+ * Converts a {@code Date} of a given {@code TimeZone} into a {@code 
Calendar}
+ * @param date the date to convert to a Calendar
+ * @param timeZone the time zone of the @{code date}
+ * @return
+ */
+public static Calendar toCalendar(final Date date, final TimeZone tz) {
+   final Calendar c = Calendar.getInstance(tz);
+   c.setTime(date);
+   return c;
+}
+
+//---
+/**
  * Rounds a date, leaving the field specified as the most
  * significant field.
  *



[5/6] [lang] Add LANG-1255 to changes.xml

2016-10-02 Thread britter
Add LANG-1255 to changes.xml


Project: http://git-wip-us.apache.org/repos/asf/commons-lang/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-lang/commit/9209e235
Tree: http://git-wip-us.apache.org/repos/asf/commons-lang/tree/9209e235
Diff: http://git-wip-us.apache.org/repos/asf/commons-lang/diff/9209e235

Branch: refs/heads/master
Commit: 9209e235a57d1b801b5da527b298f6387e311b34
Parents: 8ac857c
Author: Benedikt Ritter 
Authored: Sun Oct 2 12:26:19 2016 +0200
Committer: Benedikt Ritter 
Committed: Sun Oct 2 12:26:19 2016 +0200

--
 src/changes/changes.xml | 1 +
 1 file changed, 1 insertion(+)
--


http://git-wip-us.apache.org/repos/asf/commons-lang/blob/9209e235/src/changes/changes.xml
--
diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index bc720f7..8a9861e 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -46,6 +46,7 @@ The  type attribute can be add,update,fix,remove.
   
 
   
+Add DateUtils.toCalendar(Date, TimeZone)
 ArrayUtils.contains returns false for instances of subtypes
 Prepare Java 9 
detection
 Rename NumberUtils.isNumber, isCreatable to better reflect 
createNumber. Also, accommodated for "+" symbol as prefix in isCreatable and 
isNumber.



[3/6] [lang] Handle Benedikt Ritter's comments

2016-10-02 Thread britter
Handle Benedikt Ritter's comments


Project: http://git-wip-us.apache.org/repos/asf/commons-lang/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-lang/commit/d9a2c69a
Tree: http://git-wip-us.apache.org/repos/asf/commons-lang/tree/d9a2c69a
Diff: http://git-wip-us.apache.org/repos/asf/commons-lang/diff/d9a2c69a

Branch: refs/heads/master
Commit: d9a2c69a9d1db6072e1d7b7ea4fcbd5c15d20b5d
Parents: ac5a216
Author: Kaiyuan Wang 
Authored: Sat Sep 24 10:01:41 2016 -0500
Committer: Kaiyuan Wang 
Committed: Sat Sep 24 10:01:41 2016 -0500

--
 .../apache/commons/lang3/time/DateUtils.java|  5 ++-
 .../commons/lang3/time/DateUtilsTest.java   | 40 ++--
 2 files changed, 31 insertions(+), 14 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/commons-lang/blob/d9a2c69a/src/main/java/org/apache/commons/lang3/time/DateUtils.java
--
diff --git a/src/main/java/org/apache/commons/lang3/time/DateUtils.java 
b/src/main/java/org/apache/commons/lang3/time/DateUtils.java
index e9ae23f..8349c25 100644
--- a/src/main/java/org/apache/commons/lang3/time/DateUtils.java
+++ b/src/main/java/org/apache/commons/lang3/time/DateUtils.java
@@ -670,8 +670,9 @@ public class DateUtils {
 /**
  * Converts a {@code Date} of a given {@code TimeZone} into a {@code 
Calendar}
  * @param date the date to convert to a Calendar
- * @param timeZone the time zone of the @{code date}
- * @return
+ * @param tz the time zone of the @{code date}
+ * @return the created Calendar
+ * @throws NullPointerException if {@code date} or {@code tz} is null
  */
 public static Calendar toCalendar(final Date date, final TimeZone tz) {
final Calendar c = Calendar.getInstance(tz);

http://git-wip-us.apache.org/repos/asf/commons-lang/blob/d9a2c69a/src/test/java/org/apache/commons/lang3/time/DateUtilsTest.java
--
diff --git a/src/test/java/org/apache/commons/lang3/time/DateUtilsTest.java 
b/src/test/java/org/apache/commons/lang3/time/DateUtilsTest.java
index 280d681..d4d1917 100644
--- a/src/test/java/org/apache/commons/lang3/time/DateUtilsTest.java
+++ b/src/test/java/org/apache/commons/lang3/time/DateUtilsTest.java
@@ -696,11 +696,16 @@ public class DateUtilsTest {
 
 //---
 @Test
-public void testToCalendarWithDate() {
+public void testToCalendarWithDateNotNull() {
 assertEquals("Convert Date and TimeZone to a Calendar, but failed to 
get the Date back", date1, DateUtils.toCalendar(date1, zone).getTime());
+}
+
+//---
+@Test
+public void testToCalendarWithDateNull() {
 try {
 DateUtils.toCalendar(null, zone);
-fail("Expected NullPointerException to be thrown");
+fail("Expected NullPointerException to be thrown when Date is 
null");
 } catch(final NullPointerException npe) {
 // expected
 }
@@ -708,26 +713,37 @@ public class DateUtilsTest {
 
 //---
 @Test
-public void testToCalendarWithTimeZone() {
+public void testToCalendarWithTimeZoneNotNull() {
assertEquals("Convert Date and TimeZone to a Calendar, but failed to 
get the TimeZone back", zone, DateUtils.toCalendar(date1, zone).getTimeZone());
+}
+
+//---
+@Test
+public void testToCalendarWithTimeZoneNull() {
 try {
 DateUtils.toCalendar(date1, null);
-fail("Expected NullPointerException to be thrown");
+fail("Expected NullPointerException to be thrown when TimeZone is 
null");
 } catch(final NullPointerException npe) {
 // expected
 }
 }
 
-  //---
+//---
 @Test
-public void testToCalendarWithDateAndTimeZone() {
-try {
-   Calendar c = DateUtils.toCalendar(date2, defaultZone);
-   assertEquals("Convert Date and TimeZone to a Calendar, but 
failed to get the Date back", date2, c.getTime());
-   assertEquals("Convert Date and TimeZone to a Calendar, but 
failed to get the TimeZone back", defaultZone, c.getTimeZone());
-   // expected
+public void testToCalendarWithDateAndTimeZoneNotNull() {
+   Calendar c = DateUtils.toCalendar(date2, defaultZone);
+   assertEquals("Convert Date and TimeZone to 

[2/6] [lang] Add unit tests for DateUtils.toCalendar(Date, TimeZone)

2016-10-02 Thread britter
Add unit tests for DateUtils.toCalendar(Date, TimeZone)


Project: http://git-wip-us.apache.org/repos/asf/commons-lang/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-lang/commit/ac5a216f
Tree: http://git-wip-us.apache.org/repos/asf/commons-lang/tree/ac5a216f
Diff: http://git-wip-us.apache.org/repos/asf/commons-lang/diff/ac5a216f

Branch: refs/heads/master
Commit: ac5a216f767c6defa4da720c6ecb3baa05e30254
Parents: 1eecfc9
Author: Kaiyuan Wang 
Authored: Tue Sep 20 23:59:04 2016 -0500
Committer: Kaiyuan Wang 
Committed: Tue Sep 20 23:59:04 2016 -0500

--
 .../commons/lang3/time/DateUtilsTest.java   | 37 
 1 file changed, 37 insertions(+)
--


http://git-wip-us.apache.org/repos/asf/commons-lang/blob/ac5a216f/src/test/java/org/apache/commons/lang3/time/DateUtilsTest.java
--
diff --git a/src/test/java/org/apache/commons/lang3/time/DateUtilsTest.java 
b/src/test/java/org/apache/commons/lang3/time/DateUtilsTest.java
index 0b80ab6..280d681 100644
--- a/src/test/java/org/apache/commons/lang3/time/DateUtilsTest.java
+++ b/src/test/java/org/apache/commons/lang3/time/DateUtilsTest.java
@@ -693,6 +693,43 @@ public class DateUtilsTest {
 // expected
 }
 }
+
+//---
+@Test
+public void testToCalendarWithDate() {
+assertEquals("Convert Date and TimeZone to a Calendar, but failed to 
get the Date back", date1, DateUtils.toCalendar(date1, zone).getTime());
+try {
+DateUtils.toCalendar(null, zone);
+fail("Expected NullPointerException to be thrown");
+} catch(final NullPointerException npe) {
+// expected
+}
+}
+
+//---
+@Test
+public void testToCalendarWithTimeZone() {
+   assertEquals("Convert Date and TimeZone to a Calendar, but failed to 
get the TimeZone back", zone, DateUtils.toCalendar(date1, zone).getTimeZone());
+try {
+DateUtils.toCalendar(date1, null);
+fail("Expected NullPointerException to be thrown");
+} catch(final NullPointerException npe) {
+// expected
+}
+}
+
+  //---
+@Test
+public void testToCalendarWithDateAndTimeZone() {
+try {
+   Calendar c = DateUtils.toCalendar(date2, defaultZone);
+   assertEquals("Convert Date and TimeZone to a Calendar, but 
failed to get the Date back", date2, c.getTime());
+   assertEquals("Convert Date and TimeZone to a Calendar, but 
failed to get the TimeZone back", defaultZone, c.getTimeZone());
+   // expected
+} catch(final NullPointerException npe) {
+   fail("Expected NullPointerException to be thrown");
+}
+}
 
 //---
 /**



[text] TEXT-19 update changes.xml

2016-10-02 Thread kinow
Repository: commons-text
Updated Branches:
  refs/heads/master c05e0251a -> ad2c0bf5d


TEXT-19 update changes.xml


Project: http://git-wip-us.apache.org/repos/asf/commons-text/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-text/commit/ad2c0bf5
Tree: http://git-wip-us.apache.org/repos/asf/commons-text/tree/ad2c0bf5
Diff: http://git-wip-us.apache.org/repos/asf/commons-text/diff/ad2c0bf5

Branch: refs/heads/master
Commit: ad2c0bf5d89817258b05881f676fec3c06c2855a
Parents: c05e025
Author: Bruno P. Kinoshita 
Authored: Sun Oct 2 20:26:42 2016 +1300
Committer: Bruno P. Kinoshita 
Committed: Sun Oct 2 20:26:42 2016 +1300

--
 src/changes/changes.xml | 1 +
 1 file changed, 1 insertion(+)
--


http://git-wip-us.apache.org/repos/asf/commons-text/blob/ad2c0bf5/src/changes/changes.xml
--
diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index 8b14bdf..6963e62 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -22,6 +22,7 @@
   
 
   
+Add 
alphabet converter
 Create Commons Text 
logo
 Improve 
HumanNameParser
 IP clearance for the names 
package



[text] TEXT-19 Add alphabet converter

2016-10-02 Thread kinow
Repository: commons-text
Updated Branches:
  refs/heads/master 07f4dd9a8 -> c05e0251a


TEXT-19 Add alphabet converter

closes #5


Project: http://git-wip-us.apache.org/repos/asf/commons-text/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-text/commit/c05e0251
Tree: http://git-wip-us.apache.org/repos/asf/commons-text/tree/c05e0251
Diff: http://git-wip-us.apache.org/repos/asf/commons-text/diff/c05e0251

Branch: refs/heads/master
Commit: c05e0251a0178f8544696e3d1451826b4d66cc40
Parents: 07f4dd9
Author: eallweil 
Authored: Mon Sep 19 09:51:00 2016 +0300
Committer: Bruno P. Kinoshita 
Committed: Sun Oct 2 20:14:13 2016 +1300

--
 .../apache/commons/text/AlphabetConverter.java  | 436 +++
 .../commons/text/AlphabetConverterTest.java | 204 +
 2 files changed, 640 insertions(+)
--


http://git-wip-us.apache.org/repos/asf/commons-text/blob/c05e0251/src/main/java/org/apache/commons/text/AlphabetConverter.java
--
diff --git a/src/main/java/org/apache/commons/text/AlphabetConverter.java 
b/src/main/java/org/apache/commons/text/AlphabetConverter.java
new file mode 100644
index 000..5fc3528
--- /dev/null
+++ b/src/main/java/org/apache/commons/text/AlphabetConverter.java
@@ -0,0 +1,436 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *  http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.commons.text;
+
+import java.io.UnsupportedEncodingException;
+import java.util.Arrays;
+import java.util.Collection;
+import java.util.Collections;
+import java.util.HashMap;
+import java.util.Iterator;
+import java.util.LinkedHashMap;
+import java.util.LinkedHashSet;
+import java.util.Map;
+import java.util.Map.Entry;
+import java.util.Objects;
+import java.util.Set;
+
+/**
+ * 
+ * Convert from one alphabet to another, with the possibility of leaving 
certain characters unencoded.
+ * 
+ *
+ * 
+ * The target and do not encode languages must be in the Unicode BMP, but the 
source language does not.
+ * 
+ *
+ * 
+ * The encoding will all be of a fixed length, except for the 'do not encode' 
chars, which will be of length 1
+ * 
+ *
+ * Sample usage
+ *
+ * 
+ * Character[] originals; // a, b, c, d
+ * Character[] encoding; // 0, 1, d
+ * Character[] doNotEncode; // d
+ *
+ * AlphabetConverter ac = 
AlphabetConverter.createConverterFromChars(originals, encoding, doNotEncode);
+ *
+ * ac.encode("a"); // 00
+ * ac.encode("b"); // 01
+ * ac.encode("c"); // 0d
+ * ac.encode("d"); // d
+ * ac.encode("abcd"); // 00010dd
+ * 
+ *
+ * 
+ * #ThreadSafe# AlphabetConverter class methods are threadsafe as they do not 
change internal state.
+ * 
+ *
+ * @since 0.1
+ */
+public class AlphabetConverter {
+
+private final Map originalToEncoded;
+private final Map encodedToOriginal;
+
+private final int encodedLetterLength;
+
+private static final String ARROW = " -> ";
+private static final String LINE_SEPARATOR = 
System.getProperty("line.separator");
+
+/**
+ * Hidden constructor for alphabet converter. Used by static helper 
methods.
+ *
+ * @param originalToEncoded original string to be encoded
+ * @param encodedToOriginal encoding alphabet
+ * @param doNotEncodeMap encoding black list
+ * @param encodedLetterLength length of the encoded letter
+ */
+private AlphabetConverter(Map originalToEncoded, 
Map encodedToOriginal,
+Map doNotEncodeMap, int encodedLetterLength) {
+
+this.originalToEncoded = originalToEncoded;
+this.encodedToOriginal = encodedToOriginal;
+this.encodedLetterLength = encodedLetterLength;
+}
+
+/**
+ * Encode a given string.
+ *
+ * @param original the string to be encoded
+ * @return the encoded string, {@code null} if the given string is null
+ * @throws UnsupportedEncodingException if chars that are not supported 
are encountered
+ */
+public String encode(String original) throws