[text] TEXT-83: Document that commons-csv should be used in preference to CsvTranslators
Repository: commons-text Updated Branches: refs/heads/master 9ce255f89 -> 0029f139b TEXT-83: Document that commons-csv should be used in preference to CsvTranslators clarify statement Project: http://git-wip-us.apache.org/repos/asf/commons-text/repo Commit: http://git-wip-us.apache.org/repos/asf/commons-text/commit/0029f139 Tree: http://git-wip-us.apache.org/repos/asf/commons-text/tree/0029f139 Diff: http://git-wip-us.apache.org/repos/asf/commons-text/diff/0029f139 Branch: refs/heads/master Commit: 0029f139bdb3f2653cdf1e9971238d00656926c6 Parents: 9ce255f Author: Pascal SchumacherAuthored: Mon Jun 12 20:41:34 2017 +0200 Committer: Pascal Schumacher Committed: Mon Jun 12 20:41:34 2017 +0200 -- src/changes/changes.xml | 4 ++-- .../org/apache/commons/text/translate/CsvTranslators.java | 9 ++--- 2 files changed, 4 insertions(+), 9 deletions(-) -- http://git-wip-us.apache.org/repos/asf/commons-text/blob/0029f139/src/changes/changes.xml -- diff --git a/src/changes/changes.xml b/src/changes/changes.xml index 90c494d..9d9971e 100644 --- a/src/changes/changes.xml +++ b/src/changes/changes.xml @@ -46,8 +46,8 @@ The type attribute can be add,update,fix,remove. -Document CsvTranslators from from commons text in favor of Commons CSV -NumericEntityUnescaper.options - TODO +Document that commons-csv should be used in preference to CsvTranslators +NumericEntityUnescaper.options - fix TODO RandomStringGenerator claims to be immutable, but isn't http://git-wip-us.apache.org/repos/asf/commons-text/blob/0029f139/src/main/java/org/apache/commons/text/translate/CsvTranslators.java -- diff --git a/src/main/java/org/apache/commons/text/translate/CsvTranslators.java b/src/main/java/org/apache/commons/text/translate/CsvTranslators.java index 081aa82..2987ead 100644 --- a/src/main/java/org/apache/commons/text/translate/CsvTranslators.java +++ b/src/main/java/org/apache/commons/text/translate/CsvTranslators.java @@ -24,15 +24,10 @@ import org.apache.commons.lang3.StringUtils; /** * This class holds inner classes for escaping/unescaping Comma Separated Values. * - * In favor of Commons CSV which is responsible for all csv operations its always - * recommended to use API given in commons-csv. - * - * {@link CsvTranslators} have made by keeping in mind it will be useful to make high - * level and more complex API around CSV files. All low level API working on Text and - * with CSV are present in this class. + * In general the use a high level API like commons-csv should be preferred over these + * low level classes. * * @see http://commons.apache.org/proper/commons-csv/apidocs/index.html;>commons-csv - * */ public final class CsvTranslators {
svn commit: r1798504 - /commons/proper/collections/trunk/pom.xml
Author: chtompki Date: Mon Jun 12 18:35:54 2017 New Revision: 1798504 URL: http://svn.apache.org/viewvc?rev=1798504=rev Log: (fix) adding slash to pom Modified: commons/proper/collections/trunk/pom.xml Modified: commons/proper/collections/trunk/pom.xml URL: http://svn.apache.org/viewvc/commons/proper/collections/trunk/pom.xml?rev=1798504=1798503=1798504=diff == --- commons/proper/collections/trunk/pom.xml (original) +++ commons/proper/collections/trunk/pom.xml Mon Jun 12 18:35:54 2017 @@ -438,7 +438,7 @@ Vamsi Kavuri - +
svn commit: r1798499 - in /commons/proper/collections/trunk: README.md pom.xml src/changes/changes.xml
Author: chtompki Date: Mon Jun 12 18:10:06 2017 New Revision: 1798499 URL: http://svn.apache.org/viewvc?rev=1798499=rev Log: COLLECTIONS-606: README.md fix, thanks to Vamsi, closes #23 Modified: commons/proper/collections/trunk/README.md commons/proper/collections/trunk/pom.xml commons/proper/collections/trunk/src/changes/changes.xml Modified: commons/proper/collections/trunk/README.md URL: http://svn.apache.org/viewvc/commons/proper/collections/trunk/README.md?rev=1798499=1798498=1798499=diff == --- commons/proper/collections/trunk/README.md (original) +++ commons/proper/collections/trunk/README.md Mon Jun 12 18:10:06 2017 @@ -42,6 +42,9 @@ ---> Apache Commons Collections === +[![Build Status](https://travis-ci.org/apache/commons-collections.svg?branch=trunk)](https://travis-ci.org/apache/commons-collections) +[![Coverage Status](https://coveralls.io/repos/apache/commons-collections/badge.svg?branch=trunk)](https://coveralls.io/r/apache/commons-collections) +[![Maven Central](https://maven-badges.herokuapp.com/maven-central/org.apache.commons/commons-collections4/badge.svg)](https://maven-badges.herokuapp.com/maven-central/org.apache.commons/commons-collections4/) The Apache Commons Collections package contains types that extend and augment the Java Collections Framework. Modified: commons/proper/collections/trunk/pom.xml URL: http://svn.apache.org/viewvc/commons/proper/collections/trunk/pom.xml?rev=1798499=1798498=1798499=diff == --- commons/proper/collections/trunk/pom.xml (original) +++ commons/proper/collections/trunk/pom.xml Mon Jun 12 18:10:06 2017 @@ -436,6 +436,9 @@ Goncalo Marques + + Vamsi Kavuri + Modified: commons/proper/collections/trunk/src/changes/changes.xml URL: http://svn.apache.org/viewvc/commons/proper/collections/trunk/src/changes/changes.xml?rev=1798499=1798498=1798499=diff == --- commons/proper/collections/trunk/src/changes/changes.xml (original) +++ commons/proper/collections/trunk/src/changes/changes.xml Mon Jun 12 18:10:06 2017 @@ -21,6 +21,9 @@ + + Build status, Coverage status and Maven central weren't in README.md + Improve efficiency of DefaultedMap.get
commons-compress git commit: COMPRESS-406 record fix
Repository: commons-compress Updated Branches: refs/heads/master 304b164c9 -> 0d8ab18c8 COMPRESS-406 record fix closes #29 Project: http://git-wip-us.apache.org/repos/asf/commons-compress/repo Commit: http://git-wip-us.apache.org/repos/asf/commons-compress/commit/0d8ab18c Tree: http://git-wip-us.apache.org/repos/asf/commons-compress/tree/0d8ab18c Diff: http://git-wip-us.apache.org/repos/asf/commons-compress/diff/0d8ab18c Branch: refs/heads/master Commit: 0d8ab18c86f4edb38a73de1512483bb5b876bb1f Parents: 304b164 Author: Stefan BodewigAuthored: Mon Jun 12 16:18:26 2017 +0200 Committer: Stefan Bodewig Committed: Mon Jun 12 16:18:26 2017 +0200 -- src/changes/changes.xml | 4 1 file changed, 4 insertions(+) -- http://git-wip-us.apache.org/repos/asf/commons-compress/blob/0d8ab18c/src/changes/changes.xml -- diff --git a/src/changes/changes.xml b/src/changes/changes.xml index 0e6af6c..1c4d192 100644 --- a/src/changes/changes.xml +++ b/src/changes/changes.xml @@ -62,6 +62,10 @@ The type attribute can be add,update,fix,remove. The MANIFEST of 1.14 lacks an OSGi Import-Package for XZ for Java. + +BUILDING.md now passes the RAT check. +
commons-compress git commit: COMPRESS-406 BUILDING.md is missing license header
Repository: commons-compress Updated Branches: refs/heads/master 223b5d9f7 -> 304b164c9 COMPRESS-406 BUILDING.md is missing license header Signed-off-by: Simon SperoProject: http://git-wip-us.apache.org/repos/asf/commons-compress/repo Commit: http://git-wip-us.apache.org/repos/asf/commons-compress/commit/304b164c Tree: http://git-wip-us.apache.org/repos/asf/commons-compress/tree/304b164c Diff: http://git-wip-us.apache.org/repos/asf/commons-compress/diff/304b164c Branch: refs/heads/master Commit: 304b164c9a0b26dd7f6b34a68942715e172bacbf Parents: 223b5d9 Author: Simon Spero Authored: Sun Jun 11 12:43:36 2017 -0400 Committer: Stefan Bodewig Committed: Mon Jun 12 16:14:25 2017 +0200 -- BUILDING.md | 16 1 file changed, 16 insertions(+) -- http://git-wip-us.apache.org/repos/asf/commons-compress/blob/304b164c/BUILDING.md -- diff --git a/BUILDING.md b/BUILDING.md index b99fbee..616e271 100644 --- a/BUILDING.md +++ b/BUILDING.md @@ -1,3 +1,19 @@ + # Building Apache Commons Compress In order to build Commons Compress a JDK implementation 1.7 or higher
[text] (fix) changes.xml syntax error
Repository: commons-text Updated Branches: refs/heads/master 125b93bf5 -> 9ce255f89 (fix) changes.xml syntax error Project: http://git-wip-us.apache.org/repos/asf/commons-text/repo Commit: http://git-wip-us.apache.org/repos/asf/commons-text/commit/9ce255f8 Tree: http://git-wip-us.apache.org/repos/asf/commons-text/tree/9ce255f8 Diff: http://git-wip-us.apache.org/repos/asf/commons-text/diff/9ce255f8 Branch: refs/heads/master Commit: 9ce255f89f6cdadf934b4e12f7c2139f93351419 Parents: 125b93b Author: Rob TompkinsAuthored: Mon Jun 12 08:09:55 2017 -0400 Committer: Rob Tompkins Committed: Mon Jun 12 08:09:55 2017 -0400 -- src/changes/changes.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- http://git-wip-us.apache.org/repos/asf/commons-text/blob/9ce255f8/src/changes/changes.xml -- diff --git a/src/changes/changes.xml b/src/changes/changes.xml index cd163db..90c494d 100644 --- a/src/changes/changes.xml +++ b/src/changes/changes.xml @@ -46,7 +46,7 @@ The type attribute can be add,update,fix,remove. -Document CsvTranslators from from commons text in favor of Commons CSV +Document CsvTranslators from from commons text in favor of Commons CSV NumericEntityUnescaper.options - TODO RandomStringGenerator claims to be immutable, but isn't
[2/3] [text] Merge branch 'improveTestCoverage' of https://github.com/arunvinudss/commons-text
Merge branch 'improveTestCoverage' of https://github.com/arunvinudss/commons-text Project: http://git-wip-us.apache.org/repos/asf/commons-text/repo Commit: http://git-wip-us.apache.org/repos/asf/commons-text/commit/597a8adc Tree: http://git-wip-us.apache.org/repos/asf/commons-text/tree/597a8adc Diff: http://git-wip-us.apache.org/repos/asf/commons-text/diff/597a8adc Branch: refs/heads/master Commit: 597a8adcb69045a680884a8b9f99cae7b71efc86 Parents: bfbf2c7 65f5889 Author: Rob TompkinsAuthored: Mon Jun 12 08:00:47 2017 -0400 Committer: Rob Tompkins Committed: Mon Jun 12 08:00:47 2017 -0400 -- .../apache/commons/text/StrTokenizerTest.java | 29 ++-- 1 file changed, 27 insertions(+), 2 deletions(-) --
[1/3] [text] Improved test coverage for StrTokenizer class
Repository: commons-text Updated Branches: refs/heads/master bfbf2c756 -> 125b93bf5 Improved test coverage for StrTokenizer class Project: http://git-wip-us.apache.org/repos/asf/commons-text/repo Commit: http://git-wip-us.apache.org/repos/asf/commons-text/commit/65f5889f Tree: http://git-wip-us.apache.org/repos/asf/commons-text/tree/65f5889f Diff: http://git-wip-us.apache.org/repos/asf/commons-text/diff/65f5889f Branch: refs/heads/master Commit: 65f5889f501f784264606f0e087fe8afb653c40d Parents: 5f498c0 Author: Arun VinudAuthored: Sun Jun 11 12:43:43 2017 -0400 Committer: Arun Vinud Committed: Sun Jun 11 12:43:43 2017 -0400 -- .../apache/commons/text/StrTokenizerTest.java | 29 ++-- 1 file changed, 27 insertions(+), 2 deletions(-) -- http://git-wip-us.apache.org/repos/asf/commons-text/blob/65f5889f/src/test/java/org/apache/commons/text/StrTokenizerTest.java -- diff --git a/src/test/java/org/apache/commons/text/StrTokenizerTest.java b/src/test/java/org/apache/commons/text/StrTokenizerTest.java index 7e86084..8f870d1 100644 --- a/src/test/java/org/apache/commons/text/StrTokenizerTest.java +++ b/src/test/java/org/apache/commons/text/StrTokenizerTest.java @@ -19,13 +19,13 @@ package org.apache.commons.text; import org.junit.Test; -import static org.junit.Assert.*; - import java.util.Arrays; import java.util.Collections; import java.util.List; import java.util.NoSuchElementException; +import static org.junit.Assert.*; + /** * Unit test for {@link StrTokenizer}. */ @@ -910,4 +910,29 @@ public class StrTokenizerTest { assertEquals("StrTokenizer[a, b, c, d, e]", tkn.toString()); } +//--- +@Test +public void testStringTokenizerStringMatcher() { +char chars[]=new char[]{'a', 'b', 'c', 'd'}; +final StrTokenizer tokens= new StrTokenizer(chars, "bc"); +assertEquals("a", tokens.next()); +assertEquals("d", tokens.next()); +} + +//--- +@Test +public void testStringTokenizerStrMatcher() { +char chars[]=new char[]{'a', ',', 'c'}; +final StrTokenizer tokens= new StrTokenizer(chars, StrMatcher.commaMatcher()); +assertEquals("a", tokens.next()); +assertEquals("c", tokens.next()); +} + +//--- +@Test +public void testStringTokenizerQuoteMatcher() { +char chars[]=new char[]{'\'','a', 'c','\'','d'}; +final StrTokenizer tokens= new StrTokenizer(chars, StrMatcher.commaMatcher(), StrMatcher.quoteMatcher()); +assertEquals("acd", tokens.next()); +} }
[3/3] [text] Arun get's credit for contributing
Arun get's credit for contributing Project: http://git-wip-us.apache.org/repos/asf/commons-text/repo Commit: http://git-wip-us.apache.org/repos/asf/commons-text/commit/125b93bf Tree: http://git-wip-us.apache.org/repos/asf/commons-text/tree/125b93bf Diff: http://git-wip-us.apache.org/repos/asf/commons-text/diff/125b93bf Branch: refs/heads/master Commit: 125b93bf562ef4c254bdeb3bfab477ff12b85055 Parents: 597a8ad Author: Rob TompkinsAuthored: Mon Jun 12 08:01:54 2017 -0400 Committer: Rob Tompkins Committed: Mon Jun 12 08:01:54 2017 -0400 -- pom.xml | 3 +++ 1 file changed, 3 insertions(+) -- http://git-wip-us.apache.org/repos/asf/commons-text/blob/125b93bf/pom.xml -- diff --git a/pom.xml b/pom.xml index b4d2c82..809d105 100644 --- a/pom.xml +++ b/pom.xml @@ -92,6 +92,9 @@ Amey Jadiye + + Arun Vinud S S +
svn commit: r1798444 - in /commons/cms-site/trunk: conf/component_releases.properties doap/doap_lang.rdf
Author: britter Date: Mon Jun 12 12:00:26 2017 New Revision: 1798444 URL: http://svn.apache.org/viewvc?rev=1798444=rev Log: Add Apache Commons Lang 3.6 release to main web site Modified: commons/cms-site/trunk/conf/component_releases.properties commons/cms-site/trunk/doap/doap_lang.rdf Modified: commons/cms-site/trunk/conf/component_releases.properties URL: http://svn.apache.org/viewvc/commons/cms-site/trunk/conf/component_releases.properties?rev=1798444=1798443=1798444=diff == --- commons/cms-site/trunk/conf/component_releases.properties (original) +++ commons/cms-site/trunk/conf/component_releases.properties Mon Jun 12 12:00:26 2017 @@ -52,8 +52,8 @@ jexlVersion=3.1 jexlReleased=2017-04-14 jxpathVersion=1.3 jxpathReleased=2008-08-14 -langVersion=3.5 -langReleased=2016-10-14 +langVersion=3.6 +langReleased=2017-06-08 launcherVersion=1.1 launcherReleased=2004-08-22 loggingVersion=1.2 Modified: commons/cms-site/trunk/doap/doap_lang.rdf URL: http://svn.apache.org/viewvc/commons/cms-site/trunk/doap/doap_lang.rdf?rev=1798444=1798443=1798444=diff == --- commons/cms-site/trunk/doap/doap_lang.rdf (original) +++ commons/cms-site/trunk/doap/doap_lang.rdf Mon Jun 12 12:00:26 2017 @@ -40,6 +40,13 @@ commons-lang +2017-06-08 +3.6 + + + + +commons-lang 2016-10-14 3.5
[5/6] [text] using official dockerhub repo for ibmjava8
using official dockerhub repo for ibmjava8 Project: http://git-wip-us.apache.org/repos/asf/commons-text/repo Commit: http://git-wip-us.apache.org/repos/asf/commons-text/commit/f8114528 Tree: http://git-wip-us.apache.org/repos/asf/commons-text/tree/f8114528 Diff: http://git-wip-us.apache.org/repos/asf/commons-text/diff/f8114528 Branch: refs/heads/master Commit: f81145284707270547a859b0f3bac650b32e2bf6 Parents: 5cb5d36 Author: Amey JadiyeAuthored: Fri Jun 9 23:17:29 2017 +0530 Committer: Amey Jadiye Committed: Fri Jun 9 23:17:29 2017 +0530 -- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- http://git-wip-us.apache.org/repos/asf/commons-text/blob/f8114528/.travis.yml -- diff --git a/.travis.yml b/.travis.yml index 6ddc48a..a80fc2e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -28,8 +28,8 @@ before_install: - docker pull ibmcom/ibmjava:8-sdk script: - - mvn test apache-rat:check clirr:check checkstyle:check findbugs:check javadoc:javadoc - - docker run -v `pwd`:/work ibmcom/ibmjava:8-sdk /bin/bash -c "apt-get update && cd work && apt-get install -y maven && mvn" + - mvn + - docker run -v `pwd`:/work library/ibmjava:8-sdk /bin/bash -c "apt-get update && cd work && apt-get install -y maven && mvn" after_success: - mvn clean test jacoco:report coveralls:report
[6/6] [text] Merge branch 'travis-ibmjdk8' of https://github.com/ameyjadiye/commons-text
Merge branch 'travis-ibmjdk8' of https://github.com/ameyjadiye/commons-text Project: http://git-wip-us.apache.org/repos/asf/commons-text/repo Commit: http://git-wip-us.apache.org/repos/asf/commons-text/commit/bfbf2c75 Tree: http://git-wip-us.apache.org/repos/asf/commons-text/tree/bfbf2c75 Diff: http://git-wip-us.apache.org/repos/asf/commons-text/diff/bfbf2c75 Branch: refs/heads/master Commit: bfbf2c75679257eb1c04d6748a5c9d095b0bee2a Parents: 6a5fcfc f811452 Author: Rob TompkinsAuthored: Mon Jun 12 07:58:18 2017 -0400 Committer: Rob Tompkins Committed: Mon Jun 12 07:58:18 2017 -0400 -- .travis.yml | 9 - pom.xml | 2 +- 2 files changed, 9 insertions(+), 2 deletions(-) -- http://git-wip-us.apache.org/repos/asf/commons-text/blob/bfbf2c75/pom.xml --
[1/6] [text] adding ibmjdk8 support to commons-text
Repository: commons-text Updated Branches: refs/heads/master 6a5fcfcba -> bfbf2c756 adding ibmjdk8 support to commons-text Project: http://git-wip-us.apache.org/repos/asf/commons-text/repo Commit: http://git-wip-us.apache.org/repos/asf/commons-text/commit/4774bb19 Tree: http://git-wip-us.apache.org/repos/asf/commons-text/tree/4774bb19 Diff: http://git-wip-us.apache.org/repos/asf/commons-text/diff/4774bb19 Branch: refs/heads/master Commit: 4774bb19f318ee15232f4d5f3cc08245eb9b9b3a Parents: e85959f Author: Amey JadiyeAuthored: Fri Jun 9 01:20:27 2017 +0530 Committer: Amey Jadiye Committed: Fri Jun 9 01:20:27 2017 +0530 -- .travis.yml | 7 +++ 1 file changed, 7 insertions(+) -- http://git-wip-us.apache.org/repos/asf/commons-text/blob/4774bb19/.travis.yml -- diff --git a/.travis.yml b/.travis.yml index 3c5ac3c..3b4aaf2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -21,8 +21,15 @@ jdk: - oraclejdk7 - oraclejdk8 +services: + - docker + +before_install: + - docker pull ibmcom/ibmjava:8-sdk + script: - mvn test apache-rat:check clirr:check checkstyle:check findbugs:check javadoc:javadoc + - docker run -v `pwd`:/work ibmcom/ibmjava:8-sdk /bin/bash -c "apt-get update && cd work && apt-get install maven && mvn test apache-rat:check clirr:check checkstyle:check findbugs:check javadoc:javadoc" after_success: - mvn clean test jacoco:report coveralls:report
[2/6] [text] assume yes for all apt-get install
assume yes for all apt-get install Project: http://git-wip-us.apache.org/repos/asf/commons-text/repo Commit: http://git-wip-us.apache.org/repos/asf/commons-text/commit/90b5426b Tree: http://git-wip-us.apache.org/repos/asf/commons-text/tree/90b5426b Diff: http://git-wip-us.apache.org/repos/asf/commons-text/diff/90b5426b Branch: refs/heads/master Commit: 90b5426b33476d091b19eb50de8d352a2295b8c7 Parents: 4774bb1 Author: Amey JadiyeAuthored: Fri Jun 9 01:29:59 2017 +0530 Committer: Amey Jadiye Committed: Fri Jun 9 01:29:59 2017 +0530 -- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- http://git-wip-us.apache.org/repos/asf/commons-text/blob/90b5426b/.travis.yml -- diff --git a/.travis.yml b/.travis.yml index 3b4aaf2..befca55 100644 --- a/.travis.yml +++ b/.travis.yml @@ -29,7 +29,7 @@ before_install: script: - mvn test apache-rat:check clirr:check checkstyle:check findbugs:check javadoc:javadoc - - docker run -v `pwd`:/work ibmcom/ibmjava:8-sdk /bin/bash -c "apt-get update && cd work && apt-get install maven && mvn test apache-rat:check clirr:check checkstyle:check findbugs:check javadoc:javadoc" + - docker run -v `pwd`:/work ibmcom/ibmjava:8-sdk /bin/bash -c "apt-get update && cd work && apt-get install -y maven && mvn test apache-rat:check clirr:check checkstyle:check findbugs:check javadoc:javadoc" after_success: - mvn clean test jacoco:report coveralls:report
[3/6] [text] using maven defaultGoal rather specifying explicitly.
using maven defaultGoal rather specifying explicitly. Project: http://git-wip-us.apache.org/repos/asf/commons-text/repo Commit: http://git-wip-us.apache.org/repos/asf/commons-text/commit/52a25248 Tree: http://git-wip-us.apache.org/repos/asf/commons-text/tree/52a25248 Diff: http://git-wip-us.apache.org/repos/asf/commons-text/diff/52a25248 Branch: refs/heads/master Commit: 52a252489717d241dc845c402f87516c499669ed Parents: 90b5426 Author: Amey JadiyeAuthored: Fri Jun 9 12:41:31 2017 +0530 Committer: GitHub Committed: Fri Jun 9 12:41:31 2017 +0530 -- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- http://git-wip-us.apache.org/repos/asf/commons-text/blob/52a25248/.travis.yml -- diff --git a/.travis.yml b/.travis.yml index befca55..6ddc48a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -29,7 +29,7 @@ before_install: script: - mvn test apache-rat:check clirr:check checkstyle:check findbugs:check javadoc:javadoc - - docker run -v `pwd`:/work ibmcom/ibmjava:8-sdk /bin/bash -c "apt-get update && cd work && apt-get install -y maven && mvn test apache-rat:check clirr:check checkstyle:check findbugs:check javadoc:javadoc" + - docker run -v `pwd`:/work ibmcom/ibmjava:8-sdk /bin/bash -c "apt-get update && cd work && apt-get install -y maven && mvn" after_success: - mvn clean test jacoco:report coveralls:report
[4/6] [text] replaced test with verify
replaced test with verify Project: http://git-wip-us.apache.org/repos/asf/commons-text/repo Commit: http://git-wip-us.apache.org/repos/asf/commons-text/commit/5cb5d36d Tree: http://git-wip-us.apache.org/repos/asf/commons-text/tree/5cb5d36d Diff: http://git-wip-us.apache.org/repos/asf/commons-text/diff/5cb5d36d Branch: refs/heads/master Commit: 5cb5d36daf303162bc2a79e4a567ca3d90681350 Parents: 52a2524 Author: Amey JadiyeAuthored: Fri Jun 9 13:06:22 2017 +0530 Committer: GitHub Committed: Fri Jun 9 13:06:22 2017 +0530 -- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- http://git-wip-us.apache.org/repos/asf/commons-text/blob/5cb5d36d/pom.xml -- diff --git a/pom.xml b/pom.xml index 87534ba..7a9cb3f 100644 --- a/pom.xml +++ b/pom.xml @@ -150,7 +150,7 @@ -clean test apache-rat:check clirr:check checkstyle:check findbugs:check javadoc:javadoc +clean verify apache-rat:check clirr:check checkstyle:check findbugs:check javadoc:javadoc
[4/4] [text] TEXT-83: thanks to Amey Jadiye
TEXT-83: thanks to Amey Jadiye Project: http://git-wip-us.apache.org/repos/asf/commons-text/repo Commit: http://git-wip-us.apache.org/repos/asf/commons-text/commit/6a5fcfcb Tree: http://git-wip-us.apache.org/repos/asf/commons-text/tree/6a5fcfcb Diff: http://git-wip-us.apache.org/repos/asf/commons-text/diff/6a5fcfcb Branch: refs/heads/master Commit: 6a5fcfcba32f055dde1cce15cea84c25fe15cf4e Parents: 2bf184f Author: Rob TompkinsAuthored: Mon Jun 12 07:41:47 2017 -0400 Committer: Rob Tompkins Committed: Mon Jun 12 07:41:47 2017 -0400 -- src/changes/changes.xml | 1 + 1 file changed, 1 insertion(+) -- http://git-wip-us.apache.org/repos/asf/commons-text/blob/6a5fcfcb/src/changes/changes.xml -- diff --git a/src/changes/changes.xml b/src/changes/changes.xml index 9000680..cd163db 100644 --- a/src/changes/changes.xml +++ b/src/changes/changes.xml @@ -46,6 +46,7 @@ The type attribute can be add,update,fix,remove. +Document CsvTranslators from from commons text in favor of Commons CSV NumericEntityUnescaper.options - TODO RandomStringGenerator claims to be immutable, but isn't
[3/4] [text] Merge branch 'TEXT-83' of https://github.com/ameyjadiye/commons-text
Merge branch 'TEXT-83' of https://github.com/ameyjadiye/commons-text Project: http://git-wip-us.apache.org/repos/asf/commons-text/repo Commit: http://git-wip-us.apache.org/repos/asf/commons-text/commit/2bf184f5 Tree: http://git-wip-us.apache.org/repos/asf/commons-text/tree/2bf184f5 Diff: http://git-wip-us.apache.org/repos/asf/commons-text/diff/2bf184f5 Branch: refs/heads/master Commit: 2bf184f52fa1c7075ed8a8bffd8f68fdbcfcb42c Parents: 6400975 c71a5cd Author: Rob TompkinsAuthored: Mon Jun 12 07:39:32 2017 -0400 Committer: Rob Tompkins Committed: Mon Jun 12 07:39:32 2017 -0400 -- .../commons/text/translate/CsvTranslators.java | 17 + 1 file changed, 13 insertions(+), 4 deletions(-) --
[1/4] [text] Deprecate CsvTranslators from from commons text in favor of Commons CSV
Repository: commons-text Updated Branches: refs/heads/master 640097555 -> 6a5fcfcba Deprecate CsvTranslators from from commons text in favor of Commons CSV Project: http://git-wip-us.apache.org/repos/asf/commons-text/repo Commit: http://git-wip-us.apache.org/repos/asf/commons-text/commit/c9cfd335 Tree: http://git-wip-us.apache.org/repos/asf/commons-text/tree/c9cfd335 Diff: http://git-wip-us.apache.org/repos/asf/commons-text/diff/c9cfd335 Branch: refs/heads/master Commit: c9cfd335f314e61a6c7f56cae4a4f818ffa5d75b Parents: 343b4a9 Author: Amey JadiyeAuthored: Wed May 24 19:55:56 2017 +0530 Committer: Amey Jadiye Committed: Wed May 24 19:55:56 2017 +0530 -- .../org/apache/commons/text/translate/CsvTranslators.java| 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) -- http://git-wip-us.apache.org/repos/asf/commons-text/blob/c9cfd335/src/main/java/org/apache/commons/text/translate/CsvTranslators.java -- diff --git a/src/main/java/org/apache/commons/text/translate/CsvTranslators.java b/src/main/java/org/apache/commons/text/translate/CsvTranslators.java index a7a98e4..0c3c9c2 100644 --- a/src/main/java/org/apache/commons/text/translate/CsvTranslators.java +++ b/src/main/java/org/apache/commons/text/translate/CsvTranslators.java @@ -16,15 +16,15 @@ */ package org.apache.commons.text.translate; -import org.apache.commons.lang3.CharUtils; -import org.apache.commons.lang3.StringUtils; - import java.io.IOException; import java.io.Writer; +import org.apache.commons.lang3.CharUtils; +import org.apache.commons.lang3.StringUtils; /** * This class holds inner classes for escaping/unescaping Comma Separated Values. */ +@Deprecated public final class CsvTranslators { /** Comma character. */ @@ -45,6 +45,7 @@ public final class CsvTranslators { /** * Translator for escaping Comma Separated Values. */ +@Deprecated public static class CsvEscaper extends SinglePassTranslator { @Override @@ -64,6 +65,7 @@ public final class CsvTranslators { /** * Translator for unescaping escaped Comma Separated Value entries. */ +@Deprecated public static class CsvUnescaper extends SinglePassTranslator { @Override
[2/4] [text] [TEXT-83]: canceled depreciation and added more documentation
[TEXT-83]: canceled depreciation and added more documentation Project: http://git-wip-us.apache.org/repos/asf/commons-text/repo Commit: http://git-wip-us.apache.org/repos/asf/commons-text/commit/c71a5cd4 Tree: http://git-wip-us.apache.org/repos/asf/commons-text/tree/c71a5cd4 Diff: http://git-wip-us.apache.org/repos/asf/commons-text/diff/c71a5cd4 Branch: refs/heads/master Commit: c71a5cd470d937e270361cf2a379b0f4c3baecc4 Parents: c9cfd33 Author: Amey JadiyeAuthored: Thu Jun 1 23:48:45 2017 +0530 Committer: Amey Jadiye Committed: Thu Jun 1 23:48:45 2017 +0530 -- .../commons/text/translate/CsvTranslators.java | 15 +++ 1 file changed, 11 insertions(+), 4 deletions(-) -- http://git-wip-us.apache.org/repos/asf/commons-text/blob/c71a5cd4/src/main/java/org/apache/commons/text/translate/CsvTranslators.java -- diff --git a/src/main/java/org/apache/commons/text/translate/CsvTranslators.java b/src/main/java/org/apache/commons/text/translate/CsvTranslators.java index 0c3c9c2..081aa82 100644 --- a/src/main/java/org/apache/commons/text/translate/CsvTranslators.java +++ b/src/main/java/org/apache/commons/text/translate/CsvTranslators.java @@ -22,9 +22,18 @@ import java.io.Writer; import org.apache.commons.lang3.CharUtils; import org.apache.commons.lang3.StringUtils; /** - * This class holds inner classes for escaping/unescaping Comma Separated Values. + * This class holds inner classes for escaping/unescaping Comma Separated Values. + * + * In favor of Commons CSV which is responsible for all csv operations its always + * recommended to use API given in commons-csv. + * + * {@link CsvTranslators} have made by keeping in mind it will be useful to make high + * level and more complex API around CSV files. All low level API working on Text and + * with CSV are present in this class. + * + * @see http://commons.apache.org/proper/commons-csv/apidocs/index.html;>commons-csv + * */ -@Deprecated public final class CsvTranslators { /** Comma character. */ @@ -45,7 +54,6 @@ public final class CsvTranslators { /** * Translator for escaping Comma Separated Values. */ -@Deprecated public static class CsvEscaper extends SinglePassTranslator { @Override @@ -65,7 +73,6 @@ public final class CsvTranslators { /** * Translator for unescaping escaped Comma Separated Value entries. */ -@Deprecated public static class CsvUnescaper extends SinglePassTranslator { @Override
[lang] Add empty changes entry for next development version
Repository: commons-lang Updated Branches: refs/heads/master 9e38b04b9 -> ac3abadf5 Add empty changes entry for next development version Project: http://git-wip-us.apache.org/repos/asf/commons-lang/repo Commit: http://git-wip-us.apache.org/repos/asf/commons-lang/commit/ac3abadf Tree: http://git-wip-us.apache.org/repos/asf/commons-lang/tree/ac3abadf Diff: http://git-wip-us.apache.org/repos/asf/commons-lang/diff/ac3abadf Branch: refs/heads/master Commit: ac3abadf5d338596a2503fc8d18d4e3e1319a79e Parents: 9e38b04 Author: Benedikt RitterAuthored: Mon Jun 12 13:39:30 2017 +0200 Committer: Benedikt Ritter Committed: Mon Jun 12 13:39:30 2017 +0200 -- src/changes/changes.xml | 3 +++ 1 file changed, 3 insertions(+) -- http://git-wip-us.apache.org/repos/asf/commons-lang/blob/ac3abadf/src/changes/changes.xml -- diff --git a/src/changes/changes.xml b/src/changes/changes.xml index 0ac4019..d4d251d 100644 --- a/src/changes/changes.xml +++ b/src/changes/changes.xml @@ -45,6 +45,9 @@ The type attribute can be add,update,fix,remove. + + + Add Automatic-Module-Name MANIFEST entry for Java 9 compatibility Add NUL Byte To CharUtils
[4/6] [lang] Update website for 3.6 release
Update website for 3.6 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/35288d10 Tree: http://git-wip-us.apache.org/repos/asf/commons-lang/tree/35288d10 Diff: http://git-wip-us.apache.org/repos/asf/commons-lang/diff/35288d10 Branch: refs/heads/master Commit: 35288d109e106c55f7bce280b775ff07ada126f7 Parents: 844d02c Author: Benedikt RitterAuthored: Mon Apr 17 14:12:54 2017 +0200 Committer: Benedikt Ritter Committed: Fri Jun 9 11:38:15 2017 +0200 -- README.md | 2 +- RELEASE-NOTES.txt | 2 +- pom.xml | 2 +- src/changes/changes.xml | 6 +++--- src/site/xdoc/download_lang.xml | 2 +- src/site/xdoc/index.xml | 10 +- src/site/xdoc/release-history.xml | 3 +++ 7 files changed, 15 insertions(+), 12 deletions(-) -- http://git-wip-us.apache.org/repos/asf/commons-lang/blob/35288d10/README.md -- diff --git a/README.md b/README.md index dd44aab..ae5aee2 100644 --- a/README.md +++ b/README.md @@ -68,7 +68,7 @@ Alternatively you can pull it from the central Maven repositories: org.apache.commons commons-lang3 - 3.5 + 3.6 ``` http://git-wip-us.apache.org/repos/asf/commons-lang/blob/35288d10/RELEASE-NOTES.txt -- diff --git a/RELEASE-NOTES.txt b/RELEASE-NOTES.txt index f871142..1639447 100644 --- a/RELEASE-NOTES.txt +++ b/RELEASE-NOTES.txt @@ -9,7 +9,7 @@ This document contains the release notes for the 3.6 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.6 at -least requires Java 7. Note that this has changed from Commons Lang 3.5, which +least requires Java 7.0. Note that this has changed from Commons Lang 3.5, which only required Java 1.6. For the advice on upgrading from 2.x to 3.x, see the following page: http://git-wip-us.apache.org/repos/asf/commons-lang/blob/35288d10/pom.xml -- diff --git a/pom.xml b/pom.xml index be3c2cf..bdcfef5 100644 --- a/pom.xml +++ b/pom.xml @@ -579,7 +579,7 @@ org.apache.commons.lang3 3.6 -(Java 6.0+) +(Java 7.0+) 2.6 (Requires Java 1.2 or later) http://git-wip-us.apache.org/repos/asf/commons-lang/blob/35288d10/src/changes/changes.xml -- diff --git a/src/changes/changes.xml b/src/changes/changes.xml index 56c2071..0ac4019 100644 --- a/src/changes/changes.xml +++ b/src/changes/changes.xml @@ -45,7 +45,7 @@ The type attribute can be add,update,fix,remove. - + Add Automatic-Module-Name MANIFEST entry for Java 9 compatibility Add NUL Byte To CharUtils Fix test failures in IBM JDK 8 for ToStringBuilderTest @@ -95,8 +95,8 @@ The type attribute can be add,update,fix,remove. Add ArchUtils - An utility class for the "os.arch" system property Add shuffle methods to ArrayUtils Add MethodUtils#findAnnotation and extend MethodUtils#getMethodsWithAnnotation for non-public, super-class and interface methods -Add ImmutablePair.nullPair() -Add ImmutableTriple.nullTriple() +Add ImmutablePair.nullPair() +Add ImmutableTriple.nullTriple() http://git-wip-us.apache.org/repos/asf/commons-lang/blob/35288d10/src/site/xdoc/download_lang.xml -- diff --git a/src/site/xdoc/download_lang.xml b/src/site/xdoc/download_lang.xml index 3f752c8..55e00dd 100644 --- a/src/site/xdoc/download_lang.xml +++ b/src/site/xdoc/download_lang.xml @@ -111,7 +111,7 @@ limitations under the License. - + http://git-wip-us.apache.org/repos/asf/commons-lang/blob/35288d10/src/site/xdoc/index.xml -- diff --git a/src/site/xdoc/index.xml b/src/site/xdoc/index.xml index e85850b..2d8b15e 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.5 [Java 6.0+] +The current stable release 3.6 [Java 7.0+] The legacy release 2.6 [Java 1.2+] Older releases - see the Release History page @@ -61,10 +61,10 @@ The git repository can be -The latest stable release of Lang is 3.5. You may: +The latest stable release of Lang is
[2/6] [lang] Update download page in preparation for 3.6 release
Update download page in preparation for 3.6 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/000d2297 Tree: http://git-wip-us.apache.org/repos/asf/commons-lang/tree/000d2297 Diff: http://git-wip-us.apache.org/repos/asf/commons-lang/diff/000d2297 Branch: refs/heads/master Commit: 000d22973c1b3fa7db891b80e86e06d945b5fa58 Parents: 5ffb662 Author: Benedikt RitterAuthored: Mon Apr 17 13:21:13 2017 +0200 Committer: Benedikt Ritter Committed: Fri Jun 9 11:38:14 2017 +0200 -- pom.xml | 2 +- src/site/xdoc/download_lang.xml | 26 +- 2 files changed, 14 insertions(+), 14 deletions(-) -- http://git-wip-us.apache.org/repos/asf/commons-lang/blob/000d2297/pom.xml -- diff --git a/pom.xml b/pom.xml index ac5beca..be3c2cf 100644 --- a/pom.xml +++ b/pom.xml @@ -578,7 +578,7 @@ lang3 org.apache.commons.lang3 -3.5 +3.6 (Java 6.0+) 2.6 http://git-wip-us.apache.org/repos/asf/commons-lang/blob/000d2297/src/site/xdoc/download_lang.xml -- diff --git a/src/site/xdoc/download_lang.xml b/src/site/xdoc/download_lang.xml index ca32024..3f752c8 100644 --- a/src/site/xdoc/download_lang.xml +++ b/src/site/xdoc/download_lang.xml @@ -111,32 +111,32 @@ limitations under the License. - + - 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.6-bin.tar.gz + https://www.apache.org/dist/commons/lang/binaries/commons-lang3-3.6-bin.tar.gz.md5;>md5 + https://www.apache.org/dist/commons/lang/binaries/commons-lang3-3.6-bin.tar.gz.asc;>pgp - commons-lang3-3.5-bin.zip - https://www.apache.org/dist/commons/lang/binaries/commons-lang3-3.5-bin.zip.md5;>md5 - https://www.apache.org/dist/commons/lang/binaries/commons-lang3-3.5-bin.zip.asc;>pgp + commons-lang3-3.6-bin.zip + https://www.apache.org/dist/commons/lang/binaries/commons-lang3-3.6-bin.zip.md5;>md5 + https://www.apache.org/dist/commons/lang/binaries/commons-lang3-3.6-bin.zip.asc;>pgp - commons-lang3-3.5-src.tar.gz - https://www.apache.org/dist/commons/lang/source/commons-lang3-3.5-src.tar.gz.md5;>md5 - https://www.apache.org/dist/commons/lang/source/commons-lang3-3.5-src.tar.gz.asc;>pgp + commons-lang3-3.6-src.tar.gz + https://www.apache.org/dist/commons/lang/source/commons-lang3-3.6-src.tar.gz.md5;>md5 + https://www.apache.org/dist/commons/lang/source/commons-lang3-3.6-src.tar.gz.asc;>pgp - commons-lang3-3.5-src.zip - https://www.apache.org/dist/commons/lang/source/commons-lang3-3.5-src.zip.md5;>md5 - https://www.apache.org/dist/commons/lang/source/commons-lang3-3.5-src.zip.asc;>pgp + commons-lang3-3.6-src.zip + https://www.apache.org/dist/commons/lang/source/commons-lang3-3.6-src.zip.md5;>md5 + https://www.apache.org/dist/commons/lang/source/commons-lang3-3.6-src.zip.asc;>pgp
[5/6] [lang] Bump to next development version
Bump to next development version Project: http://git-wip-us.apache.org/repos/asf/commons-lang/repo Commit: http://git-wip-us.apache.org/repos/asf/commons-lang/commit/9615bc50 Tree: http://git-wip-us.apache.org/repos/asf/commons-lang/tree/9615bc50 Diff: http://git-wip-us.apache.org/repos/asf/commons-lang/diff/9615bc50 Branch: refs/heads/master Commit: 9615bc5019ebc80b8f2a6c1b4a138a0cec3dad4e Parents: 09043bf Author: Benedikt RitterAuthored: Mon Jun 12 13:36:57 2017 +0200 Committer: Benedikt Ritter Committed: Mon Jun 12 13:36:57 2017 +0200 -- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- http://git-wip-us.apache.org/repos/asf/commons-lang/blob/9615bc50/pom.xml -- diff --git a/pom.xml b/pom.xml index 7005e8f..afc84d6 100644 --- a/pom.xml +++ b/pom.xml @@ -26,7 +26,7 @@ 4.0.0 commons-lang3 - 3.6 + 3.7-SNAPSHOT Apache Commons Lang 2001
[6/6] [lang] Merge branch 'release-3.6'
Merge branch 'release-3.6' Project: http://git-wip-us.apache.org/repos/asf/commons-lang/repo Commit: http://git-wip-us.apache.org/repos/asf/commons-lang/commit/9e38b04b Tree: http://git-wip-us.apache.org/repos/asf/commons-lang/tree/9e38b04b Diff: http://git-wip-us.apache.org/repos/asf/commons-lang/diff/9e38b04b Branch: refs/heads/master Commit: 9e38b04b9a26556b6b9c39c6cc33b9e8c49fa04f Parents: 5ffb662 9615bc5 Author: Benedikt RitterAuthored: Mon Jun 12 13:37:32 2017 +0200 Committer: Benedikt Ritter Committed: Mon Jun 12 13:37:32 2017 +0200 -- README.md | 2 +- RELEASE-NOTES.txt | 176 - pom.xml | 8 +- src/changes/changes.xml | 6 +- src/site/xdoc/download_lang.xml | 26 ++--- src/site/xdoc/index.xml | 10 +- src/site/xdoc/release-history.xml | 3 + 7 files changed, 201 insertions(+), 30 deletions(-) --
[1/6] [lang] Add release notes for 3.6 release
Repository: commons-lang Updated Branches: refs/heads/master 5ffb66201 -> 9e38b04b9 Add release notes for 3.6 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/844d02c6 Tree: http://git-wip-us.apache.org/repos/asf/commons-lang/tree/844d02c6 Diff: http://git-wip-us.apache.org/repos/asf/commons-lang/diff/844d02c6 Branch: refs/heads/master Commit: 844d02c6ac53fad2c31e05678a8850e8b613026b Parents: 000d229 Author: Benedikt RitterAuthored: Mon Apr 17 14:05:42 2017 +0200 Committer: Benedikt Ritter Committed: Fri Jun 9 11:38:14 2017 +0200 -- RELEASE-NOTES.txt | 176 +++-- 1 file changed, 172 insertions(+), 4 deletions(-) -- http://git-wip-us.apache.org/repos/asf/commons-lang/blob/844d02c6/RELEASE-NOTES.txt -- diff --git a/RELEASE-NOTES.txt b/RELEASE-NOTES.txt index 141203a..f871142 100644 --- a/RELEASE-NOTES.txt +++ b/RELEASE-NOTES.txt @@ -1,15 +1,16 @@ Apache Commons Lang - Version 3.5 + Version 3.6 Release Notes INTRODUCTION: -This document contains the release notes for the 3.5 version of +This document contains the release notes for the 3.6 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. +components that should be of use in any Java environment. Commons Lang 3.6 at +least requires Java 7. Note that this has changed from Commons Lang 3.5, which +only required Java 1.6. For the advice on upgrading from 2.x to 3.x, see the following page: @@ -20,6 +21,173 @@ HIGHLIGHTS Some of the highlights in this release include: +o The class org.apache.commons.lang3.concurrent.Memoizer is an implementation +of the Memoizer pattern as shown in +Goetz, Brian et al. (2006) - Java Concurrency in Practice, p. 108. +o The class org.apache.commons.lang3.ArchUtils has been added. ArchUtils is +a utility class for the "os.arch" system property. + +DEPRECATIONS + + +The Apache Commons Community has recently set up the Commons Text component +as a home for algorithms working on strings. For this reason most of the string +focused functionality in Commons Lang has been deprecated and moved to +Commons Text. This includes: + +o All classes in the org.apache.commons.lang3.text and the +org.apache.commons.lang3.text.translate packages +o org.apache.commons.lang3.StringEscapeUtils +o org.apache.commons.lang3.RandomStringUtils +o The methods org.apache.commons.lang3.StringUtils.getJaroWinklerDistance and +org.apache.commons.lang3.StringUtils.getLevenshteinDistance + +For more information see the Commons Text website: + +http://commons.apache.org/text + +The class org.apache.commons.lang3.CharEncoding has been deprecated in favor of +java.nio.charset.StandardCharsets. + +The following methods have been deprecated in +org.apache.commons.lang3.ArrayUtils in favor of the corresponding insert +methods. Note that the handling for null inputs differs between add and insert. + +o add(boolean[], int, boolean) -> insert(int, boolean[], boolean...) +o add(byte[], int, boolean)-> insert(int, byte[], byte...) +o add(char[], int, boolean)-> insert(int, char[], char...) +o add(double[], int, boolean) -> insert(int, double[], double...) +o add(float[], int, boolean) -> insert(int, float[], float...) +o add(int[], int, boolean) -> insert(int, int[], int...) +o add(long[], int, boolean)-> insert(int, long[], long...) +o add(short[], int, boolean) -> insert(int, short[], short...) +o add(T[], int, boolean) -> insert(int, T[], T...) + + +COMPATIBILITY WITH JAVA 9 +== + +The MANIFEST.MF now contains an additional entry: + + Automatic-Module-Name: org.apache.commons.lang3 + +This should make it possible to use Commons Lang 3.6 as a module in the Java 9 +module system. For more information see the corresponding issue and the +referenced mailing list discussions: + +https://issues.apache.org/jira/browse/LANG-1338 + +The build problems present in the 3.5 release have been resolved. Building +Commons Lang 3.6 should work out of the box with the latest Java 9 EA build. +Please report any Java 9 related issues at: + +https://issues.apache.org/jira/browse/LANG + +NEW FEATURES + + +o LANG-1336: Add NUL Byte To CharUtils. Thanks to Beluga Behr. +o LANG-1304: Add method in StringUtils to determine if string contains both + mixed
[commons-lang] Git Push Summary
Repository: commons-lang Updated Tags: refs/tags/LANG_3_6 [created] 0cfcd99f0
[3/6] [lang] Update version numbers for release 3.6
Update version numbers for release 3.6 Project: http://git-wip-us.apache.org/repos/asf/commons-lang/repo Commit: http://git-wip-us.apache.org/repos/asf/commons-lang/commit/09043bfa Tree: http://git-wip-us.apache.org/repos/asf/commons-lang/tree/09043bfa Diff: http://git-wip-us.apache.org/repos/asf/commons-lang/diff/09043bfa Branch: refs/heads/master Commit: 09043bfa6f1f9ebb946c7b159735c83259e3a89f Parents: 35288d1 Author: Benedikt RitterAuthored: Mon Apr 17 14:17:38 2017 +0200 Committer: Benedikt Ritter Committed: Fri Jun 9 11:38:15 2017 +0200 -- pom.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- http://git-wip-us.apache.org/repos/asf/commons-lang/blob/09043bfa/pom.xml -- diff --git a/pom.xml b/pom.xml index bdcfef5..7005e8f 100644 --- a/pom.xml +++ b/pom.xml @@ -26,7 +26,7 @@ 4.0.0 commons-lang3 - 3.6-SNAPSHOT + 3.6 Apache Commons Lang 2001 @@ -47,7 +47,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 -HEAD +LANG_3_6
Nexus: Promotion Completed
Message from: https://repository.apache.orgDescription:Release Apache Commons Lang 3.6 based on RC4Deployer properties:"userAgent" = "Apache-Maven/3.5.0 (Java 1.8.0_112; Mac OS X 10.12.4)""userId" = "britter""ip" = "87.191.39.154"Details:The following artifacts have been promoted to the "Releases" [id=releases] repository/org/apache/commons/commons-lang3/3.6/commons-lang3-3.6-javadoc.jar(SHA1: 988675c1853c2a4f2cd8e7056eaa5bd6985ccd06)/org/apache/commons/commons-lang3/3.6/commons-lang3-3.6-sources.jar.asc(SHA1: b71e4c9b540e85627170e9f3675571389652d294)/org/apache/commons/commons-lang3/3.6/commons-lang3-3.6.pom.asc(SHA1: a1dfabbc0e81555ef0f832c159919613d4db942c)/org/apache/commons/commons-lang3/3.6/commons-lang3-3.6.pom(SHA1: 0fb4499188c94c63b3cba44f12481e193708c4a8)/org/apache/commons/commons-lang3/3.6/commons-lang3-3.6.jar.asc(SHA1: 96c33aedaa5ae5c795b00cc3dc5a38784f2ecf55)/org/apache/commons/commons-lang3/3.6/commons-lang3-3.6-javadoc.jar.asc(SHA1: 9e9cd1d38a8a0483a58d8da392c6e5e3c26d3347)/org/apache/commons/commons-lang3/3.6/commons-lang3-3.6-sources.jar(SHA1: 4765e418c9084c4e01233cb5f09bdd6b5f311ccc)/org/apache/commons/commons-lang3/3.6/commons-lang3-3.6.jar(SHA1: 9d28a6b23650e8a7e9063c04588ace6cf7012c17)/org/apache/commons/commons-lang3/3.6/commons-lang3-3.6-tests.jar.asc(SHA1: 5eda68b1db192cd8a1732f1e652fd219682d7b37)/org/apache/commons/commons-lang3/3.6/commons-lang3-3.6-test-sources.jar.asc(SHA1: 796bb7c5783e814f17daf9423b5ba83e38727c71)/org/apache/commons/commons-lang3/3.6/commons-lang3-3.6-test-sources.jar(SHA1: 80303a5a53413c13b1491a6c5728e0a1bf2d7b91)/org/apache/commons/commons-lang3/3.6/commons-lang3-3.6-tests.jar(SHA1: ad971e62b400b400702433445d22264e3816dec2)Action performed by Benedikt Ritter (britter)
svn commit: r20001 - /dev/commons/lang/ /dev/commons/lang/binaries/ /dev/commons/lang/source/ /release/commons/lang/ /release/commons/lang/binaries/ /release/commons/lang/source/
Author: britter Date: Mon Jun 12 11:34:06 2017 New Revision: 20001 Log: Publish commons-lang3 3.6 Release Added: release/commons/lang/RELEASE-NOTES.txt - copied unchanged from r2, dev/commons/lang/RELEASE-NOTES.txt release/commons/lang/binaries/commons-lang3-3.6-bin.tar.gz - copied unchanged from r2, dev/commons/lang/binaries/commons-lang3-3.6-bin.tar.gz release/commons/lang/binaries/commons-lang3-3.6-bin.tar.gz.asc - copied unchanged from r2, dev/commons/lang/binaries/commons-lang3-3.6-bin.tar.gz.asc release/commons/lang/binaries/commons-lang3-3.6-bin.tar.gz.md5 - copied unchanged from r2, dev/commons/lang/binaries/commons-lang3-3.6-bin.tar.gz.md5 release/commons/lang/binaries/commons-lang3-3.6-bin.tar.gz.sha1 - copied unchanged from r2, dev/commons/lang/binaries/commons-lang3-3.6-bin.tar.gz.sha1 release/commons/lang/binaries/commons-lang3-3.6-bin.zip - copied unchanged from r2, dev/commons/lang/binaries/commons-lang3-3.6-bin.zip release/commons/lang/binaries/commons-lang3-3.6-bin.zip.asc - copied unchanged from r2, dev/commons/lang/binaries/commons-lang3-3.6-bin.zip.asc release/commons/lang/binaries/commons-lang3-3.6-bin.zip.md5 - copied unchanged from r2, dev/commons/lang/binaries/commons-lang3-3.6-bin.zip.md5 release/commons/lang/binaries/commons-lang3-3.6-bin.zip.sha1 - copied unchanged from r2, dev/commons/lang/binaries/commons-lang3-3.6-bin.zip.sha1 release/commons/lang/source/commons-lang3-3.6-src.tar.gz - copied unchanged from r2, dev/commons/lang/source/commons-lang3-3.6-src.tar.gz release/commons/lang/source/commons-lang3-3.6-src.tar.gz.asc - copied unchanged from r2, dev/commons/lang/source/commons-lang3-3.6-src.tar.gz.asc release/commons/lang/source/commons-lang3-3.6-src.tar.gz.md5 - copied unchanged from r2, dev/commons/lang/source/commons-lang3-3.6-src.tar.gz.md5 release/commons/lang/source/commons-lang3-3.6-src.tar.gz.sha1 - copied unchanged from r2, dev/commons/lang/source/commons-lang3-3.6-src.tar.gz.sha1 release/commons/lang/source/commons-lang3-3.6-src.zip - copied unchanged from r2, dev/commons/lang/source/commons-lang3-3.6-src.zip release/commons/lang/source/commons-lang3-3.6-src.zip.asc - copied unchanged from r2, dev/commons/lang/source/commons-lang3-3.6-src.zip.asc release/commons/lang/source/commons-lang3-3.6-src.zip.md5 - copied unchanged from r2, dev/commons/lang/source/commons-lang3-3.6-src.zip.md5 release/commons/lang/source/commons-lang3-3.6-src.zip.sha1 - copied unchanged from r2, dev/commons/lang/source/commons-lang3-3.6-src.zip.sha1 Removed: dev/commons/lang/RELEASE-NOTES.txt dev/commons/lang/binaries/commons-lang3-3.6-bin.tar.gz dev/commons/lang/binaries/commons-lang3-3.6-bin.tar.gz.asc dev/commons/lang/binaries/commons-lang3-3.6-bin.tar.gz.md5 dev/commons/lang/binaries/commons-lang3-3.6-bin.tar.gz.sha1 dev/commons/lang/binaries/commons-lang3-3.6-bin.zip dev/commons/lang/binaries/commons-lang3-3.6-bin.zip.asc dev/commons/lang/binaries/commons-lang3-3.6-bin.zip.md5 dev/commons/lang/binaries/commons-lang3-3.6-bin.zip.sha1 dev/commons/lang/source/commons-lang3-3.6-src.tar.gz dev/commons/lang/source/commons-lang3-3.6-src.tar.gz.asc dev/commons/lang/source/commons-lang3-3.6-src.tar.gz.md5 dev/commons/lang/source/commons-lang3-3.6-src.tar.gz.sha1 dev/commons/lang/source/commons-lang3-3.6-src.zip dev/commons/lang/source/commons-lang3-3.6-src.zip.asc dev/commons/lang/source/commons-lang3-3.6-src.zip.md5 dev/commons/lang/source/commons-lang3-3.6-src.zip.sha1
[text] TEXT-67 add changes.xml entry
Repository: commons-text Updated Branches: refs/heads/master 2a9d97036 -> 640097555 TEXT-67 add changes.xml entry Project: http://git-wip-us.apache.org/repos/asf/commons-text/repo Commit: http://git-wip-us.apache.org/repos/asf/commons-text/commit/64009755 Tree: http://git-wip-us.apache.org/repos/asf/commons-text/tree/64009755 Diff: http://git-wip-us.apache.org/repos/asf/commons-text/diff/64009755 Branch: refs/heads/master Commit: 6400975551fac740e5ac7544df59bd25b167fb5e Parents: 2a9d970 Author: Bruno P. KinoshitaAuthored: Mon Jun 12 20:54:45 2017 +1200 Committer: Bruno P. Kinoshita Committed: Mon Jun 12 20:54:45 2017 +1200 -- src/changes/changes.xml | 1 + 1 file changed, 1 insertion(+) -- http://git-wip-us.apache.org/repos/asf/commons-text/blob/64009755/src/changes/changes.xml -- diff --git a/src/changes/changes.xml b/src/changes/changes.xml index 7b65a6d..9000680 100644 --- a/src/changes/changes.xml +++ b/src/changes/changes.xml @@ -46,6 +46,7 @@ The type attribute can be add,update,fix,remove. +NumericEntityUnescaper.options - TODO RandomStringGenerator claims to be immutable, but isn't
[2/2] [text] Merge branch 'pr/41'
Merge branch 'pr/41' This closes #41 Project: http://git-wip-us.apache.org/repos/asf/commons-text/repo Commit: http://git-wip-us.apache.org/repos/asf/commons-text/commit/2a9d9703 Tree: http://git-wip-us.apache.org/repos/asf/commons-text/tree/2a9d9703 Diff: http://git-wip-us.apache.org/repos/asf/commons-text/diff/2a9d9703 Branch: refs/heads/master Commit: 2a9d97036ca7d06a032888d1e2718d0db0c20b59 Parents: 1304d79 9493dfb Author: Bruno P. KinoshitaAuthored: Mon Jun 12 20:50:47 2017 +1200 Committer: Bruno P. Kinoshita Committed: Mon Jun 12 20:50:47 2017 +1200 -- .../text/translate/NumericEntityEscaper.java| 23 ++-- 1 file changed, 7 insertions(+), 16 deletions(-) --
[1/2] [text] TEXT-67: use [lang]'s Range to replace if/else logic
Repository: commons-text Updated Branches: refs/heads/master 1304d79eb -> 2a9d97036 TEXT-67: use [lang]'s Range to replace if/else logic Project: http://git-wip-us.apache.org/repos/asf/commons-text/repo Commit: http://git-wip-us.apache.org/repos/asf/commons-text/commit/9493dfb2 Tree: http://git-wip-us.apache.org/repos/asf/commons-text/tree/9493dfb2 Diff: http://git-wip-us.apache.org/repos/asf/commons-text/diff/9493dfb2 Branch: refs/heads/master Commit: 9493dfb271c140ba9bbc0ace0ae0e89f4a8b7d4a Parents: 343b4a9 Author: Bruno P. KinoshitaAuthored: Mon May 22 21:49:27 2017 +1200 Committer: Bruno P. Kinoshita Committed: Mon May 22 21:49:27 2017 +1200 -- .../text/translate/NumericEntityEscaper.java| 23 ++-- 1 file changed, 7 insertions(+), 16 deletions(-) -- http://git-wip-us.apache.org/repos/asf/commons-text/blob/9493dfb2/src/main/java/org/apache/commons/text/translate/NumericEntityEscaper.java -- diff --git a/src/main/java/org/apache/commons/text/translate/NumericEntityEscaper.java b/src/main/java/org/apache/commons/text/translate/NumericEntityEscaper.java index 0cdb808..b402974 100644 --- a/src/main/java/org/apache/commons/text/translate/NumericEntityEscaper.java +++ b/src/main/java/org/apache/commons/text/translate/NumericEntityEscaper.java @@ -19,6 +19,8 @@ package org.apache.commons.text.translate; import java.io.IOException; import java.io.Writer; +import org.apache.commons.lang3.Range; + /** * Translates codepoints to their XML numeric entity escaped value. * @@ -26,13 +28,10 @@ import java.io.Writer; */ public class NumericEntityEscaper extends CodePointTranslator { -/** int value representing the lowest codepoint boundary. */ -private final int below; -/** int value representing the highest codepoint boundary. */ -private final int above; /** whether to escape between the boundaries or outside them. */ private final boolean between; - +/** range from lowest codepoint to highest codepoint. */ +private final Range range; /** * Constructs a NumericEntityEscaper for the specified range. This is * the underlying method for the other constructors/builders. The below @@ -44,8 +43,7 @@ public class NumericEntityEscaper extends CodePointTranslator { * @param between whether to escape between the boundaries or outside them */ private NumericEntityEscaper(final int below, final int above, final boolean between) { -this.below = below; -this.above = above; +this.range = Range.between(below, above); this.between = between; } @@ -103,16 +101,9 @@ public class NumericEntityEscaper extends CodePointTranslator { */ @Override public boolean translate(final int codepoint, final Writer out) throws IOException { -if (between) { -if (codepoint < below || codepoint > above) { -return false; -} -} else { -if (codepoint >= below && codepoint <= above) { -return false; -} +if (this.between != this.range.contains(codepoint)) { +return false; } - out.write("