Nexus: Staging Repository Dropped
Message from: https://repository.apache.orgDescription:drop commons-fileupload-1.3.3-RC5.Deployer properties:"userAgent" = "Apache-Maven/3.5.0 (Java 1.8.0_131; Mac OS X 10.12.5)""userId" = "chtompki""ip" = "199.244.219.38"Details:The orgapachecommons-1249 staging repository has been dropped.Action performed by Rob Tompkins (chtompki)
Nexus: Staging Completed
Message from: https://repository.apache.orgDescription:Apache Commons Fileupload 1.3.3 RC6Deployer properties:"userAgent" = "Apache-Maven/3.5.0 (Java 1.8.0_131; Mac OS X 10.12.5)""userId" = "chtompki""ip" = "73.171.40.122"Details:The following artifacts have been staged/commons-fileupload/commons-fileupload/1.3.3/commons-fileupload-1.3.3-sources.jar(SHA1: 34c8608c461e2c832a364ec1a9e70f360f47d9f7)/commons-fileupload/commons-fileupload/1.3.3/commons-fileupload-1.3.3.jar.asc(SHA1: cfaca51c8ac03d2d12c9804fbcb3ab5b506ad733)/commons-fileupload/commons-fileupload/1.3.3/commons-fileupload-1.3.3-tests.jar.asc(SHA1: a1c764c455513fc151a169003085576ac50dd75b)/commons-fileupload/commons-fileupload/1.3.3/commons-fileupload-1.3.3-test-sources.jar(SHA1: fec543dc748908577513ba39c550e59abc29875b)/commons-fileupload/commons-fileupload/1.3.3/commons-fileupload-1.3.3-tests.jar(SHA1: a7be58ed6dd0b3759a563c41ff4957fa5c8afcfb)/commons-fileupload/commons-fileupload/1.3.3/commons-fileupload-1.3.3.pom.asc(SHA1: 87283309c4e589b4d3de870b2eecb86fd12c37a4)/commons-fileupload/commons-fileupload/1.3.3/commons-fileupload-1.3.3-javadoc.jar(SHA1: d44ff01a7e0217b5c849c5375a3a8ad13a338375)/commons-fileupload/commons-fileupload/1.3.3/commons-fileupload-1.3.3.pom(SHA1: 3dcfa2e705e8822b80c14949ba624f290cdfd04e)/commons-fileupload/commons-fileupload/1.3.3/commons-fileupload-1.3.3-test-sources.jar.asc(SHA1: 0b88831d4f606bd634263786b1a615af976d66ea)/commons-fileupload/commons-fileupload/1.3.3/commons-fileupload-1.3.3-sources.jar.asc(SHA1: 6de5163ac83c55c650224ccce96ccc8d128c299f)/commons-fileupload/commons-fileupload/1.3.3/commons-fileupload-1.3.3.jar(SHA1: 04ff14d809195b711fd6bcc87e6777f886730ca1)/commons-fileupload/commons-fileupload/1.3.3/commons-fileupload-1.3.3-javadoc.jar.asc(SHA1: 9c3afc34ae8205c2fc55dfdc01b48b33a2c6d27c)Action performed by Rob Tompkins (chtompki)
commons-fileupload git commit: Preparing 1.3.3-RC6
Repository: commons-fileupload Updated Branches: refs/heads/b1_3 034782729 -> 18734e9f7 Preparing 1.3.3-RC6 Project: http://git-wip-us.apache.org/repos/asf/commons-fileupload/repo Commit: http://git-wip-us.apache.org/repos/asf/commons-fileupload/commit/18734e9f Tree: http://git-wip-us.apache.org/repos/asf/commons-fileupload/tree/18734e9f Diff: http://git-wip-us.apache.org/repos/asf/commons-fileupload/diff/18734e9f Branch: refs/heads/b1_3 Commit: 18734e9f77a267ebc82ff2ffce6d96e82a34260f Parents: 0347827 Author: Rob TompkinsAuthored: Fri Jun 9 18:24:57 2017 -0400 Committer: Rob Tompkins Committed: Fri Jun 9 18:24:57 2017 -0400 -- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- http://git-wip-us.apache.org/repos/asf/commons-fileupload/blob/18734e9f/pom.xml -- diff --git a/pom.xml b/pom.xml index 273139b..154f19c 100644 --- a/pom.xml +++ b/pom.xml @@ -176,7 +176,7 @@ scm:git:http://git-wip-us.apache.org/repos/asf/commons-fileupload.git scm:git:https://git-wip-us.apache.org/repos/asf/commons-fileupload.git https://git-wip-us.apache.org/repos/asf?p=commons-fileupload.git -commons-fileupload-1.3.3-RC5 +commons-fileupload-1.3.3-RC6 jira
[2/2] commons-fileupload git commit: Notice copyright 2002-2017 now
Notice copyright 2002-2017 now Project: http://git-wip-us.apache.org/repos/asf/commons-fileupload/repo Commit: http://git-wip-us.apache.org/repos/asf/commons-fileupload/commit/106ad776 Tree: http://git-wip-us.apache.org/repos/asf/commons-fileupload/tree/106ad776 Diff: http://git-wip-us.apache.org/repos/asf/commons-fileupload/diff/106ad776 Branch: refs/heads/master Commit: 106ad776ae9d1e0bd4897adbc048d7311aeb092a Parents: 1472668 Author: Rob TompkinsAuthored: Fri Jun 9 18:20:35 2017 -0400 Committer: Rob Tompkins Committed: Fri Jun 9 18:23:06 2017 -0400 -- NOTICE.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- http://git-wip-us.apache.org/repos/asf/commons-fileupload/blob/106ad776/NOTICE.txt -- diff --git a/NOTICE.txt b/NOTICE.txt index b72a517..5038a44 100644 --- a/NOTICE.txt +++ b/NOTICE.txt @@ -1,5 +1,5 @@ Apache Commons FileUpload -Copyright 2002-2016 The Apache Software Foundation +Copyright 2002-2017 The Apache Software Foundation This product includes software developed at The Apache Software Foundation (http://www.apache.org/).
[1/2] commons-fileupload git commit: bin distro needs to look like other components
Repository: commons-fileupload Updated Branches: refs/heads/master d09724ef0 -> 106ad776a bin distro needs to look like other components Project: http://git-wip-us.apache.org/repos/asf/commons-fileupload/repo Commit: http://git-wip-us.apache.org/repos/asf/commons-fileupload/commit/1472668a Tree: http://git-wip-us.apache.org/repos/asf/commons-fileupload/tree/1472668a Diff: http://git-wip-us.apache.org/repos/asf/commons-fileupload/diff/1472668a Branch: refs/heads/master Commit: 1472668a3741ae1232d5fb4def6822e8fc46987d Parents: d09724e Author: Rob TompkinsAuthored: Fri Jun 9 18:19:45 2017 -0400 Committer: Rob Tompkins Committed: Fri Jun 9 18:22:48 2017 -0400 -- src/main/assembly/bin.xml | 11 --- 1 file changed, 8 insertions(+), 3 deletions(-) -- http://git-wip-us.apache.org/repos/asf/commons-fileupload/blob/1472668a/src/main/assembly/bin.xml -- diff --git a/src/main/assembly/bin.xml b/src/main/assembly/bin.xml index d536d6e..353e51a 100644 --- a/src/main/assembly/bin.xml +++ b/src/main/assembly/bin.xml @@ -30,14 +30,19 @@ LICENSE.txt NOTICE.txt +RELEASE-NOTES.txt - ${project.build.directory} - lib + target + -${project.build.finalName}.jar +*.jar + + target/site/apidocs + apidocs +
svn commit: r19983 - in /dev/commons/fileupload: ./ binaries/ source/
Author: chtompki Date: Sat Jun 10 01:39:16 2017 New Revision: 19983 Log: commons-fileupload-1.3.3-RC6 staging Added: dev/commons/fileupload/RELEASE-NOTES.txt dev/commons/fileupload/binaries/commons-fileupload-1.3.3-bin.tar.gz (with props) dev/commons/fileupload/binaries/commons-fileupload-1.3.3-bin.tar.gz.asc dev/commons/fileupload/binaries/commons-fileupload-1.3.3-bin.tar.gz.md5 dev/commons/fileupload/binaries/commons-fileupload-1.3.3-bin.tar.gz.sha1 dev/commons/fileupload/binaries/commons-fileupload-1.3.3-bin.zip (with props) dev/commons/fileupload/binaries/commons-fileupload-1.3.3-bin.zip.asc dev/commons/fileupload/binaries/commons-fileupload-1.3.3-bin.zip.md5 dev/commons/fileupload/binaries/commons-fileupload-1.3.3-bin.zip.sha1 dev/commons/fileupload/source/commons-fileupload-1.3.3-src.tar.gz (with props) dev/commons/fileupload/source/commons-fileupload-1.3.3-src.tar.gz.asc dev/commons/fileupload/source/commons-fileupload-1.3.3-src.tar.gz.md5 dev/commons/fileupload/source/commons-fileupload-1.3.3-src.tar.gz.sha1 dev/commons/fileupload/source/commons-fileupload-1.3.3-src.zip (with props) dev/commons/fileupload/source/commons-fileupload-1.3.3-src.zip.asc dev/commons/fileupload/source/commons-fileupload-1.3.3-src.zip.md5 dev/commons/fileupload/source/commons-fileupload-1.3.3-src.zip.sha1 Added: dev/commons/fileupload/RELEASE-NOTES.txt == --- dev/commons/fileupload/RELEASE-NOTES.txt (added) +++ dev/commons/fileupload/RELEASE-NOTES.txt Sat Jun 10 01:39:16 2017 @@ -0,0 +1,56 @@ + Apache Commons FileUpload 1.3.3 RELEASE NOTES + +The Apache Commons FileUpload team is pleased to announce the release of Apache Commons FileUpload 1.3.3. + +The Apache Commons FileUpload component provides a simple yet flexible means of +adding support for multipart file upload functionality to servlets and web +applications. Version 1.3 onwards requires Java 5 or later. + +No client code changes are required to migrate from version 1.3.0, 1.3.1, or 1.3.2, to 1.3.3 + +Changes in version 1.3.3 include: + +o FILEUPLOAD-279: DiskFileItem can no longer be deserialized, unless a particular system property is set. + + +For complete information on Apache Commons FileUpload, including instructions on how to submit bug reports, +patches, or suggestions for improvement, see the Apache Apache Commons FileUpload website: + +http://commons.apache.org/proper/commons-fileupload/ + +-- + + Apache Commons FileUpload 1.3.1 RELEASE NOTES + +The Apache Commons FileUpload team is pleased to announce the release of Apache Commons FileUpload 1.3.1. + +The Apache Commons FileUpload component provides a simple yet flexible means of +adding support for multipart file upload functionality to servlets and web +applications. Version 1.3 onwards requires Java 5 or later. + +No client code changes are required to migrate from version 1.3.0 to 1.3.1. + + +This is a security and maintenance release that includes an important security +fix as well as a small number of bugfixes. + +Changes in version 1.3.1 include: + + +Fixed Bugs: +o SECURITY - CVE-2014-0050. Specially crafted input can trigger a DoS if the + buffer used by the MultipartStream is not big enough. When constructing + MultipartStream enforce the requirements for buffer size by throwing an + IllegalArgumentException if the requested buffer size is too small. This + prevents the DoS. +o When deserializing DiskFileItems ensure that the repository location, if + any, is a valid one. Thanks to Arun Babu Neelicattu. +o Correct example in usage documentation so it compiles. + + + +For complete information on Apache Commons FileUpload, including instructions on how to submit bug reports, +patches, or suggestions for improvement, see the Apache Apache Commons FileUpload website: + +http://commons.apache.org/proper/commons-fileupload/ + Added: dev/commons/fileupload/binaries/commons-fileupload-1.3.3-bin.tar.gz == Binary file - no diff available. Propchange: dev/commons/fileupload/binaries/commons-fileupload-1.3.3-bin.tar.gz -- svn:mime-type = application/octet-stream Added: dev/commons/fileupload/binaries/commons-fileupload-1.3.3-bin.tar.gz.asc == --- dev/commons/fileupload/binaries/commons-fileupload-1.3.3-bin.tar.gz.asc (added) +++ dev/commons/fileupload/binaries/commons-fileupload-1.3.3-bin.tar.gz.asc Sat Jun 10 01:39:16 2017 @@ -0,0 +1,16 @@ +-BEGIN PGP
[1/2] commons-fileupload git commit: bin distro needs to look like other components
Repository: commons-fileupload Updated Branches: refs/heads/b1_3 dd2238b16 -> 034782729 bin distro needs to look like other components Project: http://git-wip-us.apache.org/repos/asf/commons-fileupload/repo Commit: http://git-wip-us.apache.org/repos/asf/commons-fileupload/commit/cdab0b39 Tree: http://git-wip-us.apache.org/repos/asf/commons-fileupload/tree/cdab0b39 Diff: http://git-wip-us.apache.org/repos/asf/commons-fileupload/diff/cdab0b39 Branch: refs/heads/b1_3 Commit: cdab0b39a1fc8bb922cfeb64e7977108d44fae37 Parents: dd2238b Author: Rob TompkinsAuthored: Fri Jun 9 18:19:45 2017 -0400 Committer: Rob Tompkins Committed: Fri Jun 9 18:19:45 2017 -0400 -- src/main/assembly/bin.xml | 11 --- 1 file changed, 8 insertions(+), 3 deletions(-) -- http://git-wip-us.apache.org/repos/asf/commons-fileupload/blob/cdab0b39/src/main/assembly/bin.xml -- diff --git a/src/main/assembly/bin.xml b/src/main/assembly/bin.xml index d536d6e..353e51a 100644 --- a/src/main/assembly/bin.xml +++ b/src/main/assembly/bin.xml @@ -30,14 +30,19 @@ LICENSE.txt NOTICE.txt +RELEASE-NOTES.txt - ${project.build.directory} - lib + target + -${project.build.finalName}.jar +*.jar + + target/site/apidocs + apidocs +
[2/2] commons-fileupload git commit: Notice copyright 2002-2017 now
Notice copyright 2002-2017 now Project: http://git-wip-us.apache.org/repos/asf/commons-fileupload/repo Commit: http://git-wip-us.apache.org/repos/asf/commons-fileupload/commit/03478272 Tree: http://git-wip-us.apache.org/repos/asf/commons-fileupload/tree/03478272 Diff: http://git-wip-us.apache.org/repos/asf/commons-fileupload/diff/03478272 Branch: refs/heads/b1_3 Commit: 0347827290cf4a42c1c86c2973eaba6efac1141b Parents: cdab0b3 Author: Rob TompkinsAuthored: Fri Jun 9 18:20:35 2017 -0400 Committer: Rob Tompkins Committed: Fri Jun 9 18:20:35 2017 -0400 -- NOTICE.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- http://git-wip-us.apache.org/repos/asf/commons-fileupload/blob/03478272/NOTICE.txt -- diff --git a/NOTICE.txt b/NOTICE.txt index b72a517..5038a44 100644 --- a/NOTICE.txt +++ b/NOTICE.txt @@ -1,5 +1,5 @@ Apache Commons FileUpload -Copyright 2002-2016 The Apache Software Foundation +Copyright 2002-2017 The Apache Software Foundation This product includes software developed at The Apache Software Foundation (http://www.apache.org/).
[commons-fileupload] Git Push Summary
Repository: commons-fileupload Updated Tags: refs/tags/commons-fileupload-1.3.3-RC6 [created] 544f54fc6
commons-cli git commit: Add Travis CI and coveralls.io badges
Repository: commons-cli Updated Branches: refs/heads/master 8aff4cd9a -> c1c2add83 Add Travis CI and coveralls.io badges Project: http://git-wip-us.apache.org/repos/asf/commons-cli/repo Commit: http://git-wip-us.apache.org/repos/asf/commons-cli/commit/c1c2add8 Tree: http://git-wip-us.apache.org/repos/asf/commons-cli/tree/c1c2add8 Diff: http://git-wip-us.apache.org/repos/asf/commons-cli/diff/c1c2add8 Branch: refs/heads/master Commit: c1c2add832bbca989a172ae46868e56dc22f6797 Parents: 8aff4cd Author: Benedikt RitterAuthored: Fri Jun 9 08:27:00 2017 +0200 Committer: Benedikt Ritter Committed: Fri Jun 9 08:27:00 2017 +0200 -- .travis.yml | 2 +- README.md | 3 +++ pom.xml | 19 +++ 3 files changed, 23 insertions(+), 1 deletion(-) -- http://git-wip-us.apache.org/repos/asf/commons-cli/blob/c1c2add8/.travis.yml -- diff --git a/.travis.yml b/.travis.yml index cafe93d..1f8222f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -22,4 +22,4 @@ jdk: - oraclejdk8 after_success: - - mvn clean cobertura:cobertura coveralls:report + - mvn clean test jacoco:report coveralls:report http://git-wip-us.apache.org/repos/asf/commons-cli/blob/c1c2add8/README.md -- diff --git a/README.md b/README.md index b128b1c..1378f29 100644 --- a/README.md +++ b/README.md @@ -43,6 +43,9 @@ Apache Commons CLI === +[![Build Status](https://travis-ci.org/apache/commons-cli.svg?branch=master)](https://travis-ci.org/apache/commons-cli) +[![Coverage Status](https://coveralls.io/repos/github/apache/commons-cli/badge.svg?branch=trunk)](https://coveralls.io/github/apache/commons-cli?branch=trunk) + Apache Commons CLI provides a simple API for presenting, processing and validating a command line interface. Documentation http://git-wip-us.apache.org/repos/asf/commons-cli/blob/c1c2add8/pom.xml -- diff --git a/pom.xml b/pom.xml index b16209e..3eaacd3 100644 --- a/pom.xml +++ b/pom.xml @@ -330,6 +330,25 @@ + + + travis + + + env.TRAVIS + true + + + + + +org.eluder.coveralls +coveralls-maven-plugin +4.3.0 + + + +
svn commit: r19963 - in /dev/commons/lang: ./ binaries/ source/
Author: britter Date: Fri Jun 9 09:42:22 2017 New Revision: 19963 Log: Drop Apache Commons Lang 3.6 RC3 in preparation for RC4 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
commons-cli git commit: Use travis-jacoco profile from parent pom to fix failing coveralls build
Repository: commons-cli Updated Branches: refs/heads/master c1c2add83 -> e588581b8 Use travis-jacoco profile from parent pom to fix failing coveralls build Project: http://git-wip-us.apache.org/repos/asf/commons-cli/repo Commit: http://git-wip-us.apache.org/repos/asf/commons-cli/commit/e588581b Tree: http://git-wip-us.apache.org/repos/asf/commons-cli/tree/e588581b Diff: http://git-wip-us.apache.org/repos/asf/commons-cli/diff/e588581b Branch: refs/heads/master Commit: e588581b83688ac2c678ccb403fafd104d63496a Parents: c1c2add Author: Benedikt RitterAuthored: Fri Jun 9 09:12:52 2017 +0200 Committer: Benedikt Ritter Committed: Fri Jun 9 09:12:52 2017 +0200 -- .travis.yml | 2 +- pom.xml | 19 --- 2 files changed, 1 insertion(+), 20 deletions(-) -- http://git-wip-us.apache.org/repos/asf/commons-cli/blob/e588581b/.travis.yml -- diff --git a/.travis.yml b/.travis.yml index 1f8222f..65d0716 100644 --- a/.travis.yml +++ b/.travis.yml @@ -22,4 +22,4 @@ jdk: - oraclejdk8 after_success: - - mvn clean test jacoco:report coveralls:report + - mvn clean test jacoco:report coveralls:report -Ptravis-jacoco http://git-wip-us.apache.org/repos/asf/commons-cli/blob/e588581b/pom.xml -- diff --git a/pom.xml b/pom.xml index 3eaacd3..b16209e 100644 --- a/pom.xml +++ b/pom.xml @@ -330,25 +330,6 @@ - - - travis - - - env.TRAVIS - true - - - - - -org.eluder.coveralls -coveralls-maven-plugin -4.3.0 - - - -
[lang] Make sure deprecated CharEncoding constants are equal to the values defined in StandardCharsets
Repository: commons-lang Updated Branches: refs/heads/master 18e692478 -> 5ffb66201 Make sure deprecated CharEncoding constants are equal to the values defined in StandardCharsets Project: http://git-wip-us.apache.org/repos/asf/commons-lang/repo Commit: http://git-wip-us.apache.org/repos/asf/commons-lang/commit/5ffb6620 Tree: http://git-wip-us.apache.org/repos/asf/commons-lang/tree/5ffb6620 Diff: http://git-wip-us.apache.org/repos/asf/commons-lang/diff/5ffb6620 Branch: refs/heads/master Commit: 5ffb662019501692112fbebf15d92d01c17f1322 Parents: 18e6924 Author: Benedikt RitterAuthored: Fri Jun 9 11:37:19 2017 +0200 Committer: Benedikt Ritter Committed: Fri Jun 9 11:37:19 2017 +0200 -- .../org/apache/commons/lang3/CharEncodingTest.java | 13 + 1 file changed, 13 insertions(+) -- http://git-wip-us.apache.org/repos/asf/commons-lang/blob/5ffb6620/src/test/java/org/apache/commons/lang3/CharEncodingTest.java -- diff --git a/src/test/java/org/apache/commons/lang3/CharEncodingTest.java b/src/test/java/org/apache/commons/lang3/CharEncodingTest.java index 7999457..5f7748c 100644 --- a/src/test/java/org/apache/commons/lang3/CharEncodingTest.java +++ b/src/test/java/org/apache/commons/lang3/CharEncodingTest.java @@ -17,11 +17,14 @@ package org.apache.commons.lang3; +import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertTrue; import org.junit.Test; +import java.nio.charset.StandardCharsets; + /** * Tests CharEncoding. * @@ -68,4 +71,14 @@ public class CharEncodingTest { assertFalse(CharEncoding.isSupported("DOESNOTEXIST")); assertFalse(CharEncoding.isSupported("this is not a valid encoding name")); } + +@Test +public void testStandardCharsetsEquality() throws Exception { +assertEquals(StandardCharsets.ISO_8859_1.name(), CharEncoding.ISO_8859_1); +assertEquals(StandardCharsets.US_ASCII.name(), CharEncoding.US_ASCII); +assertEquals(StandardCharsets.UTF_8.name(), CharEncoding.UTF_8); +assertEquals(StandardCharsets.UTF_16.name(), CharEncoding.UTF_16); +assertEquals(StandardCharsets.UTF_16BE.name(), CharEncoding.UTF_16BE); +assertEquals(StandardCharsets.UTF_16LE.name(), CharEncoding.UTF_16LE); +} }
[6/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/release 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
[3/6] [lang] Add release notes for 3.6 release
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/release 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 cased characters. Thanks to Andy Klimczak. +o LANG-1325: Increase test coverage of
[1/6] [lang] LANG-1334: Partically revert changes introduced in 7c19a1ff4c217f03c0be62baf1169d689f566825. [Forced Update!]
Repository: commons-lang Updated Branches: refs/heads/release 360198dfb -> 09043bfa6 (forced update) LANG-1334: Partically revert changes introduced in 7c19a1ff4c217f03c0be62baf1169d689f566825. Replacing the static constants in CharEncoding with computed values can cause compatibility issues, since compile time constants are inlined by the compiler. Project: http://git-wip-us.apache.org/repos/asf/commons-lang/repo Commit: http://git-wip-us.apache.org/repos/asf/commons-lang/commit/18e69247 Tree: http://git-wip-us.apache.org/repos/asf/commons-lang/tree/18e69247 Diff: http://git-wip-us.apache.org/repos/asf/commons-lang/diff/18e69247 Branch: refs/heads/release Commit: 18e692478dcf91fdceb9b9fdca7c61ad63aa Parents: b48043d Author: Benedikt RitterAuthored: Fri Jun 9 08:37:11 2017 +0200 Committer: Benedikt Ritter Committed: Fri Jun 9 08:37:11 2017 +0200 -- .../java/org/apache/commons/lang3/CharEncoding.java | 15 +++ 1 file changed, 7 insertions(+), 8 deletions(-) -- http://git-wip-us.apache.org/repos/asf/commons-lang/blob/18e69247/src/main/java/org/apache/commons/lang3/CharEncoding.java -- diff --git a/src/main/java/org/apache/commons/lang3/CharEncoding.java b/src/main/java/org/apache/commons/lang3/CharEncoding.java index 634b3af..9f0d2e0 100644 --- a/src/main/java/org/apache/commons/lang3/CharEncoding.java +++ b/src/main/java/org/apache/commons/lang3/CharEncoding.java @@ -19,7 +19,6 @@ package org.apache.commons.lang3; import java.nio.charset.Charset; import java.nio.charset.IllegalCharsetNameException; -import java.nio.charset.StandardCharsets; /** * Character encoding names required of every implementation of the Java platform. @@ -33,7 +32,7 @@ import java.nio.charset.StandardCharsets; * * @see http://docs.oracle.com/javase/6/docs/technotes/guides/intl/encoding.doc.html;>JRE character encoding names * @since 2.1 - * @deprecated Java 7 introduced {@link StandardCharsets}, which defines these constants as + * @deprecated Java 7 introduced {@link java.nio.charset.StandardCharsets}, which defines these constants as * {@link Charset} objects. Use {@link Charset#name()} to get the string values provided in this class. * This class will be removed in a future release. */ @@ -45,7 +44,7 @@ public class CharEncoding { * * Every implementation of the Java platform is required to support this character encoding. */ -public static final String ISO_8859_1 = StandardCharsets.ISO_8859_1.name(); +public static final String ISO_8859_1 = "ISO-8859-1"; /** * Seven-bit ASCII, also known as ISO646-US, also known as the Basic Latin block @@ -53,7 +52,7 @@ public class CharEncoding { * * Every implementation of the Java platform is required to support this character encoding. */ -public static final String US_ASCII = StandardCharsets.US_ASCII.name(); +public static final String US_ASCII = "US-ASCII"; /** * Sixteen-bit Unicode Transformation Format, byte order specified by a mandatory initial @@ -61,28 +60,28 @@ public class CharEncoding { * * Every implementation of the Java platform is required to support this character encoding. */ -public static final String UTF_16 = StandardCharsets.UTF_16.name(); +public static final String UTF_16 = "UTF-16"; /** * Sixteen-bit Unicode Transformation Format, big-endian byte order. * * Every implementation of the Java platform is required to support this character encoding. */ -public static final String UTF_16BE = StandardCharsets.UTF_16BE.name(); +public static final String UTF_16BE = "UTF-16BE"; /** * Sixteen-bit Unicode Transformation Format, little-endian byte order. * * Every implementation of the Java platform is required to support this character encoding. */ -public static final String UTF_16LE = StandardCharsets.UTF_16LE.name(); +public static final String UTF_16LE = "UTF-16LE"; /** * Eight-bit Unicode Transformation Format. * * Every implementation of the Java platform is required to support this character encoding. */ -public static final String UTF_8 = StandardCharsets.UTF_8.name(); +public static final String UTF_8 = "UTF-8"; /** * Returns whether the named charset is supported.
[4/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/release 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
[commons-lang] Git Push Summary
Repository: commons-lang Updated Tags: refs/tags/LANG_3_6_RC4 [created] de6627363
[2/6] [lang] Make sure deprecated CharEncoding constants are equal to the values defined in StandardCharsets
Make sure deprecated CharEncoding constants are equal to the values defined in StandardCharsets Project: http://git-wip-us.apache.org/repos/asf/commons-lang/repo Commit: http://git-wip-us.apache.org/repos/asf/commons-lang/commit/5ffb6620 Tree: http://git-wip-us.apache.org/repos/asf/commons-lang/tree/5ffb6620 Diff: http://git-wip-us.apache.org/repos/asf/commons-lang/diff/5ffb6620 Branch: refs/heads/release Commit: 5ffb662019501692112fbebf15d92d01c17f1322 Parents: 18e6924 Author: Benedikt RitterAuthored: Fri Jun 9 11:37:19 2017 +0200 Committer: Benedikt Ritter Committed: Fri Jun 9 11:37:19 2017 +0200 -- .../org/apache/commons/lang3/CharEncodingTest.java | 13 + 1 file changed, 13 insertions(+) -- http://git-wip-us.apache.org/repos/asf/commons-lang/blob/5ffb6620/src/test/java/org/apache/commons/lang3/CharEncodingTest.java -- diff --git a/src/test/java/org/apache/commons/lang3/CharEncodingTest.java b/src/test/java/org/apache/commons/lang3/CharEncodingTest.java index 7999457..5f7748c 100644 --- a/src/test/java/org/apache/commons/lang3/CharEncodingTest.java +++ b/src/test/java/org/apache/commons/lang3/CharEncodingTest.java @@ -17,11 +17,14 @@ package org.apache.commons.lang3; +import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertTrue; import org.junit.Test; +import java.nio.charset.StandardCharsets; + /** * Tests CharEncoding. * @@ -68,4 +71,14 @@ public class CharEncodingTest { assertFalse(CharEncoding.isSupported("DOESNOTEXIST")); assertFalse(CharEncoding.isSupported("this is not a valid encoding name")); } + +@Test +public void testStandardCharsetsEquality() throws Exception { +assertEquals(StandardCharsets.ISO_8859_1.name(), CharEncoding.ISO_8859_1); +assertEquals(StandardCharsets.US_ASCII.name(), CharEncoding.US_ASCII); +assertEquals(StandardCharsets.UTF_8.name(), CharEncoding.UTF_8); +assertEquals(StandardCharsets.UTF_16.name(), CharEncoding.UTF_16); +assertEquals(StandardCharsets.UTF_16BE.name(), CharEncoding.UTF_16BE); +assertEquals(StandardCharsets.UTF_16LE.name(), CharEncoding.UTF_16LE); +} }
[5/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/release 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
[lang] LANG-1334: Partically revert changes introduced in 7c19a1ff4c217f03c0be62baf1169d689f566825.
Repository: commons-lang Updated Branches: refs/heads/master b48043d18 -> 18e692478 LANG-1334: Partically revert changes introduced in 7c19a1ff4c217f03c0be62baf1169d689f566825. Replacing the static constants in CharEncoding with computed values can cause compatibility issues, since compile time constants are inlined by the compiler. Project: http://git-wip-us.apache.org/repos/asf/commons-lang/repo Commit: http://git-wip-us.apache.org/repos/asf/commons-lang/commit/18e69247 Tree: http://git-wip-us.apache.org/repos/asf/commons-lang/tree/18e69247 Diff: http://git-wip-us.apache.org/repos/asf/commons-lang/diff/18e69247 Branch: refs/heads/master Commit: 18e692478dcf91fdceb9b9fdca7c61ad63aa Parents: b48043d Author: Benedikt RitterAuthored: Fri Jun 9 08:37:11 2017 +0200 Committer: Benedikt Ritter Committed: Fri Jun 9 08:37:11 2017 +0200 -- .../java/org/apache/commons/lang3/CharEncoding.java | 15 +++ 1 file changed, 7 insertions(+), 8 deletions(-) -- http://git-wip-us.apache.org/repos/asf/commons-lang/blob/18e69247/src/main/java/org/apache/commons/lang3/CharEncoding.java -- diff --git a/src/main/java/org/apache/commons/lang3/CharEncoding.java b/src/main/java/org/apache/commons/lang3/CharEncoding.java index 634b3af..9f0d2e0 100644 --- a/src/main/java/org/apache/commons/lang3/CharEncoding.java +++ b/src/main/java/org/apache/commons/lang3/CharEncoding.java @@ -19,7 +19,6 @@ package org.apache.commons.lang3; import java.nio.charset.Charset; import java.nio.charset.IllegalCharsetNameException; -import java.nio.charset.StandardCharsets; /** * Character encoding names required of every implementation of the Java platform. @@ -33,7 +32,7 @@ import java.nio.charset.StandardCharsets; * * @see http://docs.oracle.com/javase/6/docs/technotes/guides/intl/encoding.doc.html;>JRE character encoding names * @since 2.1 - * @deprecated Java 7 introduced {@link StandardCharsets}, which defines these constants as + * @deprecated Java 7 introduced {@link java.nio.charset.StandardCharsets}, which defines these constants as * {@link Charset} objects. Use {@link Charset#name()} to get the string values provided in this class. * This class will be removed in a future release. */ @@ -45,7 +44,7 @@ public class CharEncoding { * * Every implementation of the Java platform is required to support this character encoding. */ -public static final String ISO_8859_1 = StandardCharsets.ISO_8859_1.name(); +public static final String ISO_8859_1 = "ISO-8859-1"; /** * Seven-bit ASCII, also known as ISO646-US, also known as the Basic Latin block @@ -53,7 +52,7 @@ public class CharEncoding { * * Every implementation of the Java platform is required to support this character encoding. */ -public static final String US_ASCII = StandardCharsets.US_ASCII.name(); +public static final String US_ASCII = "US-ASCII"; /** * Sixteen-bit Unicode Transformation Format, byte order specified by a mandatory initial @@ -61,28 +60,28 @@ public class CharEncoding { * * Every implementation of the Java platform is required to support this character encoding. */ -public static final String UTF_16 = StandardCharsets.UTF_16.name(); +public static final String UTF_16 = "UTF-16"; /** * Sixteen-bit Unicode Transformation Format, big-endian byte order. * * Every implementation of the Java platform is required to support this character encoding. */ -public static final String UTF_16BE = StandardCharsets.UTF_16BE.name(); +public static final String UTF_16BE = "UTF-16BE"; /** * Sixteen-bit Unicode Transformation Format, little-endian byte order. * * Every implementation of the Java platform is required to support this character encoding. */ -public static final String UTF_16LE = StandardCharsets.UTF_16LE.name(); +public static final String UTF_16LE = "UTF-16LE"; /** * Eight-bit Unicode Transformation Format. * * Every implementation of the Java platform is required to support this character encoding. */ -public static final String UTF_8 = StandardCharsets.UTF_8.name(); +public static final String UTF_8 = "UTF-8"; /** * Returns whether the named charset is supported.
commons-cli git commit: Display coverage data for master branch
Repository: commons-cli Updated Branches: refs/heads/master e588581b8 -> 70a392756 Display coverage data for master branch Project: http://git-wip-us.apache.org/repos/asf/commons-cli/repo Commit: http://git-wip-us.apache.org/repos/asf/commons-cli/commit/70a39275 Tree: http://git-wip-us.apache.org/repos/asf/commons-cli/tree/70a39275 Diff: http://git-wip-us.apache.org/repos/asf/commons-cli/diff/70a39275 Branch: refs/heads/master Commit: 70a392756c713f404fed0e3ddd48aa18ce20485f Parents: e588581 Author: Benedikt RitterAuthored: Fri Jun 9 10:52:57 2017 +0200 Committer: Benedikt Ritter Committed: Fri Jun 9 10:52:57 2017 +0200 -- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- http://git-wip-us.apache.org/repos/asf/commons-cli/blob/70a39275/README.md -- diff --git a/README.md b/README.md index 1378f29..a477973 100644 --- a/README.md +++ b/README.md @@ -44,7 +44,7 @@ Apache Commons CLI === [![Build Status](https://travis-ci.org/apache/commons-cli.svg?branch=master)](https://travis-ci.org/apache/commons-cli) -[![Coverage Status](https://coveralls.io/repos/github/apache/commons-cli/badge.svg?branch=trunk)](https://coveralls.io/github/apache/commons-cli?branch=trunk) +[![Coverage Status](https://coveralls.io/repos/github/apache/commons-cli/badge.svg?branch=master)](https://coveralls.io/github/apache/commons-cli?branch=master) Apache Commons CLI provides a simple API for presenting, processing and validating a command line interface.
svn commit: r1798187 - /commons/proper/jcs/trunk/commons-jcs-core/src/main/java/org/apache/commons/jcs/auxiliary/remote/RemoteCacheNoWaitFacade.java
Author: rmannibucau Date: Fri Jun 9 10:32:57 2017 New Revision: 1798187 URL: http://svn.apache.org/viewvc?rev=1798187=rev Log: JCS-178 fixing RemoteCacheNoWaitFacade constructor logic Modified: commons/proper/jcs/trunk/commons-jcs-core/src/main/java/org/apache/commons/jcs/auxiliary/remote/RemoteCacheNoWaitFacade.java Modified: commons/proper/jcs/trunk/commons-jcs-core/src/main/java/org/apache/commons/jcs/auxiliary/remote/RemoteCacheNoWaitFacade.java URL: http://svn.apache.org/viewvc/commons/proper/jcs/trunk/commons-jcs-core/src/main/java/org/apache/commons/jcs/auxiliary/remote/RemoteCacheNoWaitFacade.java?rev=1798187=1798186=1798187=diff == --- commons/proper/jcs/trunk/commons-jcs-core/src/main/java/org/apache/commons/jcs/auxiliary/remote/RemoteCacheNoWaitFacade.java (original) +++ commons/proper/jcs/trunk/commons-jcs-core/src/main/java/org/apache/commons/jcs/auxiliary/remote/RemoteCacheNoWaitFacade.java Fri Jun 9 10:32:57 2017 @@ -19,6 +19,7 @@ package org.apache.commons.jcs.auxiliary * under the License. */ +import java.util.ArrayList; import java.util.List; import org.apache.commons.jcs.auxiliary.remote.server.behavior.RemoteType; @@ -67,7 +68,7 @@ public class RemoteCacheNoWaitFacadercnw : this.noWaits) +for (RemoteCacheNoWait rcnw : new ArrayList >(this.noWaits)) { ((RemoteCache )rcnw.getRemoteCache()).setFacade(this); this.noWaits.add(rcnw);