svn commit: r1764797 - in /commons/proper/weaver/tags/1.3_RC1: ./ modules/privilizer/
Author: mbenson Date: Thu Oct 13 21:56:12 2016 New Revision: 1764797 URL: http://svn.apache.org/viewvc?rev=1764797=rev Log: restore tag for cancelled 1.3 RC1 Added: commons/proper/weaver/tags/1.3_RC1/ - copied from r1764785, commons/proper/weaver/tags/1.3_RC1/ Modified: commons/proper/weaver/tags/1.3_RC1/modules/privilizer/ (props changed) Propchange: commons/proper/weaver/tags/1.3_RC1/modules/privilizer/ ('svn:mergeinfo' removed)
svn commit: r16517 - in /dev/commons/weaver: ./ binaries/ source/
Author: mbenson Date: Thu Oct 13 21:12:23 2016 New Revision: 16517 Log: commons-weaver 1.3 RC2 Added: dev/commons/weaver/RELEASE-NOTES.txt Modified: dev/commons/weaver/binaries/commons-weaver-1.3-bin.tar.gz dev/commons/weaver/binaries/commons-weaver-1.3-bin.tar.gz.asc dev/commons/weaver/binaries/commons-weaver-1.3-bin.tar.gz.md5 dev/commons/weaver/binaries/commons-weaver-1.3-bin.tar.gz.sha1 dev/commons/weaver/binaries/commons-weaver-1.3-bin.zip dev/commons/weaver/binaries/commons-weaver-1.3-bin.zip.asc dev/commons/weaver/binaries/commons-weaver-1.3-bin.zip.md5 dev/commons/weaver/binaries/commons-weaver-1.3-bin.zip.sha1 dev/commons/weaver/source/commons-weaver-1.3-src.tar.gz dev/commons/weaver/source/commons-weaver-1.3-src.tar.gz.asc dev/commons/weaver/source/commons-weaver-1.3-src.tar.gz.md5 dev/commons/weaver/source/commons-weaver-1.3-src.tar.gz.sha1 dev/commons/weaver/source/commons-weaver-1.3-src.zip dev/commons/weaver/source/commons-weaver-1.3-src.zip.asc dev/commons/weaver/source/commons-weaver-1.3-src.zip.md5 dev/commons/weaver/source/commons-weaver-1.3-src.zip.sha1 Added: dev/commons/weaver/RELEASE-NOTES.txt == --- dev/commons/weaver/RELEASE-NOTES.txt (added) +++ dev/commons/weaver/RELEASE-NOTES.txt Thu Oct 13 21:12:23 2016 @@ -0,0 +1,30 @@ + Apache Commons Weaver 1.3 + RELEASE NOTES + +The Apache Commons team is pleased to announce the release of Apache Commons Weaver 1.3 + +Apache Commons Weaver provides an easy way to enhance compiled Java +classes by generating ("weaving") bytecode into those classes. + +Requires Java 6 or greater. + +Changes in this version include: + +New features: +o WEAVER-12: Provide a mechanism for working with all classfiles found in the weave environment + +Fixed Bugs: +o WEAVER-11: bytecode generated with java 7 or 8 is different and can break on earlier versions +o WEAVER-15: m2e build encounters missing class + +Changes: +o WEAVER-13: Make Ant tasks' system classpath inclusion optional +o WEAVER-14: upgrade modules to asm 5.1 + + +Historical list of changes: http://commons.apache.org/proper/commons-weaver/changes-report.html + +For complete information on Apache Commons Weaver, including instructions on how to submit bug reports, +patches, or suggestions for improvement, see the Apache Apache Commons Weaver website: + +http://commons.apache.org/proper/commons-weaver Modified: dev/commons/weaver/binaries/commons-weaver-1.3-bin.tar.gz == Binary files - no diff available. Modified: dev/commons/weaver/binaries/commons-weaver-1.3-bin.tar.gz.asc == --- dev/commons/weaver/binaries/commons-weaver-1.3-bin.tar.gz.asc (original) +++ dev/commons/weaver/binaries/commons-weaver-1.3-bin.tar.gz.asc Thu Oct 13 21:12:23 2016 @@ -1,7 +1,7 @@ -BEGIN PGP SIGNATURE- Version: GnuPG v1 -iEYEABECAAYFAlf/43QACgkQIXyc/yFj3c6sLACfTj6bGYWZkoA/5I9fbrXMqFEx -izQAn0Q/JpsvLQCz4lq3jYKJN8g14N2x -=49df +iEYEABECAAYFAlf/94sACgkQIXyc/yFj3c7jzwCfRCfHT8zGUmHxMWyscXkni06t +ZiwAmwcFtJei/bHoU+4ebTcZn8LzXQph +=aPQG -END PGP SIGNATURE- Modified: dev/commons/weaver/binaries/commons-weaver-1.3-bin.tar.gz.md5 == --- dev/commons/weaver/binaries/commons-weaver-1.3-bin.tar.gz.md5 (original) +++ dev/commons/weaver/binaries/commons-weaver-1.3-bin.tar.gz.md5 Thu Oct 13 21:12:23 2016 @@ -1 +1 @@ -78984229efa209b830b40cf25b2f2e06 \ No newline at end of file +fc9a3482de7d655d442badbc909bbcbc \ No newline at end of file Modified: dev/commons/weaver/binaries/commons-weaver-1.3-bin.tar.gz.sha1 == --- dev/commons/weaver/binaries/commons-weaver-1.3-bin.tar.gz.sha1 (original) +++ dev/commons/weaver/binaries/commons-weaver-1.3-bin.tar.gz.sha1 Thu Oct 13 21:12:23 2016 @@ -1 +1 @@ -92774c63b1b39471d65556a37fc675cc24e251f9 \ No newline at end of file +45bec6211409e93c3cd34e912f714f7613fe6362 \ No newline at end of file Modified: dev/commons/weaver/binaries/commons-weaver-1.3-bin.zip == Binary files - no diff available. Modified: dev/commons/weaver/binaries/commons-weaver-1.3-bin.zip.asc == --- dev/commons/weaver/binaries/commons-weaver-1.3-bin.zip.asc (original) +++ dev/commons/weaver/binaries/commons-weaver-1.3-bin.zip.asc Thu Oct 13 21:12:23 2016 @@ -1,7 +1,7 @@ -BEGIN PGP SIGNATURE- Version: GnuPG v1 -iEYEABECAAYFAlf/43UACgkQIXyc/yFj3c4KkACdHqoJ86mwdxy9KslSR7NT7UVL -+28AoITrWBZrUTKhgt/SwFw51IG1MD88 -=14LR
Nexus: Staging Completed
Message from: https://repository.apache.orgDescription:commons-weaver 1.3 RC2Deployer properties:"userAgent" = "Apache-Maven/3.3.9 (Java 1.7.0_75; Windows 8.1 6.3)""userId" = "mbenson""ip" = "216.1.180.2"Details:The following artifacts have been staged/org/apache/commons/commons-weaver-normalizer/1.3/commons-weaver-normalizer-1.3-test-sources.jar(SHA1: 93070fdd8365093a8eeb6bd0e5e3e21b21a4e2c7)/org/apache/commons/commons-weaver-normalizer/1.3/commons-weaver-normalizer-1.3.jar(SHA1: 8a3dd03be3d5cfd3ad2f19b65d6d2876527c437e)/org/apache/commons/commons-weaver-normalizer/1.3/commons-weaver-normalizer-1.3-tests.jar.asc(SHA1: 1245a3e397dd75105f11f2cfc0c88c25007b66fc)/org/apache/commons/commons-weaver-normalizer/1.3/commons-weaver-normalizer-1.3-javadoc.jar(SHA1: eb6059f0be4b48ba0036c248670a23f42b65ead5)/org/apache/commons/commons-weaver-normalizer/1.3/commons-weaver-normalizer-1.3-sources.jar(SHA1: d165c2465b686882e5867ec58757376e93c829ed)/org/apache/commons/commons-weaver-normalizer/1.3/commons-weaver-normalizer-1.3-test-sources.jar.asc(SHA1: 34d79b79d8e3a225d7f2d799cd4a39c015aab881)/org/apache/commons/commons-weaver-normalizer/1.3/commons-weaver-normalizer-1.3-sources.jar.asc(SHA1: cf9cdbf525a13991a6564576dc8c9489c679f52a)/org/apache/commons/commons-weaver-normalizer/1.3/commons-weaver-normalizer-1.3-javadoc.jar.asc(SHA1: c6a724c734120a4c4659a3825a261049b198ab83)/org/apache/commons/commons-weaver-normalizer/1.3/commons-weaver-normalizer-1.3-tests.jar(SHA1: 551e8d3d0bd8b61e9568a0a33ee4426364164120)/org/apache/commons/commons-weaver-normalizer/1.3/commons-weaver-normalizer-1.3.jar.asc(SHA1: 251a3a809b7083f6b9f4e32593411a4b5855b828)/org/apache/commons/commons-weaver-normalizer/1.3/commons-weaver-normalizer-1.3.pom.asc(SHA1: 34e050d3e6c65b217668920f3f135bfb07adc2d9)/org/apache/commons/commons-weaver-normalizer/1.3/commons-weaver-normalizer-1.3.pom(SHA1: 81ce25f9b2f5116408a15a0279681c57c403a95c)/org/apache/commons/commons-weaver-privilizer-api/1.3/commons-weaver-privilizer-api-1.3.jar.asc(SHA1: 162b0b744077c7e1f7044a103176ef5964ec9199)/org/apache/commons/commons-weaver-privilizer-api/1.3/commons-weaver-privilizer-api-1.3-javadoc.jar(SHA1: ee9ce18b7dafe5c120ef22484ac73e567715b966)/org/apache/commons/commons-weaver-privilizer-api/1.3/commons-weaver-privilizer-api-1.3-sources.jar(SHA1: a7e30bed7c0ae2c4d6dd98b6b539357eb23b5a47)/org/apache/commons/commons-weaver-privilizer-api/1.3/commons-weaver-privilizer-api-1.3.pom(SHA1: 60c1aa36a08627a5d271f1ead31c1d9f6fe41e91)/org/apache/commons/commons-weaver-privilizer-api/1.3/commons-weaver-privilizer-api-1.3-sources.jar.asc(SHA1: fc7f2b607a9f1ac5ba8c25ef113f18bd52894b7c)/org/apache/commons/commons-weaver-privilizer-api/1.3/commons-weaver-privilizer-api-1.3.jar(SHA1: 57799f7db6de52fdbc97136947d7ef4e2b9b54ea)/org/apache/commons/commons-weaver-privilizer-api/1.3/commons-weaver-privilizer-api-1.3-javadoc.jar.asc(SHA1: e0ccecc09421306105d58f62ee061917a41903f4)/org/apache/commons/commons-weaver-privilizer-api/1.3/commons-weaver-privilizer-api-1.3.pom.asc(SHA1: 9e7fec49c005115961bb5f5db47970a6faf62bd0)/org/apache/commons/commons-weaver-privilizer/1.3/commons-weaver-privilizer-1.3-sources.jar.asc(SHA1: a21985386adfbd984461d8d7e73bb8b9e36b7efb)/org/apache/commons/commons-weaver-privilizer/1.3/commons-weaver-privilizer-1.3-javadoc.jar(SHA1: a38c70914785b6357c12d7484170238058737807)/org/apache/commons/commons-weaver-privilizer/1.3/commons-weaver-privilizer-1.3.jar(SHA1: 8eb713c9b0b77d19ced89668f09c7d2905ad549f)/org/apache/commons/commons-weaver-privilizer/1.3/commons-weaver-privilizer-1.3.pom(SHA1: 031b6034ad319f2a099c9bdfcf682983c89adeae)/org/apache/commons/commons-weaver-privilizer/1.3/commons-weaver-privilizer-1.3-sources.jar(SHA1: f3788946b0cff3879440f892a223c2c8a5469ff4)/org/apache/commons/commons-weaver-privilizer/1.3/commons-weaver-privilizer-1.3.jar.asc(SHA1: 12fa39dd91b34f63f1465bb646cbc47482009cca)/org/apache/commons/commons-weaver-privilizer/1.3/commons-weaver-privilizer-1.3.pom.asc(SHA1: 75da0e45bf3cf0afa7d8ebe4d823a2c528640fa1)/org/apache/commons/commons-weaver-privilizer/1.3/commons-weaver-privilizer-1.3-javadoc.jar.asc(SHA1: a8ef6e82ccf41c90f77f3af9e319dbeec658b53b)/org/apache/commons/commons-weaver-processor/1.3/commons-weaver-processor-1.3.pom(SHA1: 46c26ffafaf8b0bc7fc44b71a9977525f0c2055e)/org/apache/commons/commons-weaver-processor/1.3/commons-weaver-processor-1.3-javadoc.jar(SHA1: add8a91106cd65f65ec0ac29b1d1c3f48d5bf977)/org/apache/commons/commons-weaver-processor/1.3/commons-weaver-processor-1.3-tests.jar.asc(SHA1: 5183ce8690e02eb150ec15f6c369faac846febe3)/org/apache/commons/commons-weaver-processor/1.3/commons-weaver-processor-1.3.jar(SHA1: 8633ba047a0191512c8097d6982754575d702a81)/org/apache/commons/commons-weaver-processor/1.3/commons-weaver-processor-1.3-test-sources.jar.asc(SHA1: 77ffcb2b96bb72089b4c56ed6d99ce83da703bb0)/org/apache/commons/commons-weaver-processor/1.3/commons-weaver-processor-1.3-test-sources.jar(SHA1:
svn commit: r1764792 - in /commons/proper/weaver/trunk: ./ ant/ build-tools/ dist/ maven-plugin/ modules/ modules/normalizer/ modules/privilizer/ modules/privilizer/api/ modules/privilizer/weaver/ par
Author: mbenson Date: Thu Oct 13 21:04:53 2016 New Revision: 1764792 URL: http://svn.apache.org/viewvc?rev=1764792=rev Log: [maven-release-plugin] prepare for next development iteration Modified: commons/proper/weaver/trunk/ant/pom.xml commons/proper/weaver/trunk/build-tools/pom.xml commons/proper/weaver/trunk/dist/pom.xml commons/proper/weaver/trunk/maven-plugin/pom.xml commons/proper/weaver/trunk/modules/normalizer/pom.xml commons/proper/weaver/trunk/modules/pom.xml commons/proper/weaver/trunk/modules/privilizer/api/pom.xml commons/proper/weaver/trunk/modules/privilizer/pom.xml commons/proper/weaver/trunk/modules/privilizer/weaver/pom.xml commons/proper/weaver/trunk/parent/pom.xml commons/proper/weaver/trunk/pom.xml commons/proper/weaver/trunk/processor/pom.xml Modified: commons/proper/weaver/trunk/ant/pom.xml URL: http://svn.apache.org/viewvc/commons/proper/weaver/trunk/ant/pom.xml?rev=1764792=1764791=1764792=diff == --- commons/proper/weaver/trunk/ant/pom.xml (original) +++ commons/proper/weaver/trunk/ant/pom.xml Thu Oct 13 21:04:53 2016 @@ -22,7 +22,7 @@ under the License. org.apache.commons commons-weaver-parent -1.3 +1.4-SNAPSHOT ../parent/pom.xml @@ -36,9 +36,9 @@ under the License. - scm:svn:http://svn.apache.org/repos/asf/commons/proper/weaver/tags/1.3_RC2/ant - scm:svn:https://svn.apache.org/repos/asf/commons/proper/weaver/tags/1.3_RC2/ant - http://svn.apache.org/viewvc/commons/proper/weaver/tags/1.3_RC2/ant + scm:svn:http://svn.apache.org/repos/asf/commons/proper/weaver/trunk/ant + scm:svn:https://svn.apache.org/repos/asf/commons/proper/weaver/trunk/ant +http://svn.apache.org/viewvc/commons/proper/weaver/trunk/ant Modified: commons/proper/weaver/trunk/build-tools/pom.xml URL: http://svn.apache.org/viewvc/commons/proper/weaver/trunk/build-tools/pom.xml?rev=1764792=1764791=1764792=diff == --- commons/proper/weaver/trunk/build-tools/pom.xml (original) +++ commons/proper/weaver/trunk/build-tools/pom.xml Thu Oct 13 21:04:53 2016 @@ -21,7 +21,7 @@ under the License. org.apache.commons commons-weaver-base -1.3 +1.4-SNAPSHOT 4.0.0 commons-weaver-build-tools @@ -29,9 +29,9 @@ under the License. Provide common setup, from http://maven.apache.org/plugins/maven-checkstyle-plugin/examples/multi-module-config.html - scm:svn:http://svn.apache.org/repos/asf/commons/proper/weaver/tags/1.3_RC2/build-tools - scm:svn:https://svn.apache.org/repos/asf/commons/proper/weaver/tags/1.3_RC2/build-tools - http://svn.apache.org/viewvc/commons/proper/weaver/tags/1.3_RC2/build-tools + scm:svn:http://svn.apache.org/repos/asf/commons/proper/weaver/trunk/build-tools + scm:svn:https://svn.apache.org/repos/asf/commons/proper/weaver/trunk/build-tools + http://svn.apache.org/viewvc/commons/proper/weaver/trunk/build-tools Modified: commons/proper/weaver/trunk/dist/pom.xml URL: http://svn.apache.org/viewvc/commons/proper/weaver/trunk/dist/pom.xml?rev=1764792=1764791=1764792=diff == --- commons/proper/weaver/trunk/dist/pom.xml (original) +++ commons/proper/weaver/trunk/dist/pom.xml Thu Oct 13 21:04:53 2016 @@ -22,7 +22,7 @@ under the License. org.apache.commons commons-weaver-parent -1.3 +1.4-SNAPSHOT ../parent/pom.xml @@ -34,9 +34,9 @@ under the License. - scm:svn:http://svn.apache.org/repos/asf/commons/proper/weaver/tags/1.3_RC2/dist - scm:svn:https://svn.apache.org/repos/asf/commons/proper/weaver/tags/1.3_RC2/dist - http://svn.apache.org/viewvc/commons/proper/weaver/tags/1.3_RC2/dist + scm:svn:http://svn.apache.org/repos/asf/commons/proper/weaver/trunk/dist + scm:svn:https://svn.apache.org/repos/asf/commons/proper/weaver/trunk/dist +http://svn.apache.org/viewvc/commons/proper/weaver/trunk/dist Modified: commons/proper/weaver/trunk/maven-plugin/pom.xml URL: http://svn.apache.org/viewvc/commons/proper/weaver/trunk/maven-plugin/pom.xml?rev=1764792=1764791=1764792=diff == --- commons/proper/weaver/trunk/maven-plugin/pom.xml (original) +++ commons/proper/weaver/trunk/maven-plugin/pom.xml Thu Oct 13 21:04:53 2016 @@ -22,7 +22,7 @@ under the License. org.apache.commons commons-weaver-parent -1.3 +1.4-SNAPSHOT ../parent/pom.xml @@ -40,9 +40,9 @@ under the License. - scm:svn:http://svn.apache.org/repos/asf/commons/proper/weaver/tags/1.3_RC2/maven-plugin - scm:svn:https://svn.apache.org/repos/asf/commons/proper/weaver/tags/1.3_RC2/maven-plugin -
svn commit: r1764791 - /commons/proper/weaver/tags/1.3_RC2/
Author: mbenson Date: Thu Oct 13 21:04:51 2016 New Revision: 1764791 URL: http://svn.apache.org/viewvc?rev=1764791=rev Log: [maven-release-plugin] copy for tag 1.3_RC2 Added: commons/proper/weaver/tags/1.3_RC2/ (props changed) - copied from r1764790, commons/proper/weaver/trunk/ Propchange: commons/proper/weaver/tags/1.3_RC2/ -- --- svn:ignore (added) +++ svn:ignore Thu Oct 13 21:04:51 2016 @@ -0,0 +1,13 @@ +target +.metadata +.classpath +.project +.settings +*.iml +*.ipr +*.iws +.idea +*.log +.git +.gitignore + Propchange: commons/proper/weaver/tags/1.3_RC2/ -- --- svn:mergeinfo (added) +++ svn:mergeinfo Thu Oct 13 21:04:51 2016 @@ -0,0 +1,4 @@ +/commons/sandbox/weaver/branches/fields:1460191-1465080 +/commons/sandbox/weaver/branches/mjb:1437127-1451119 +/commons/sandbox/weaver/branches/normalizer:1511092-1512979 +/commons/sandbox/weaver/branches/priv-asm:1476710-1508502
svn commit: r1764790 - in /commons/proper/weaver/trunk: ./ ant/ build-tools/ dist/ maven-plugin/ modules/ modules/normalizer/ modules/privilizer/ modules/privilizer/api/ modules/privilizer/weaver/ par
Author: mbenson Date: Thu Oct 13 21:04:39 2016 New Revision: 1764790 URL: http://svn.apache.org/viewvc?rev=1764790=rev Log: [maven-release-plugin] prepare release 1.3_RC2 Modified: commons/proper/weaver/trunk/ant/pom.xml commons/proper/weaver/trunk/build-tools/pom.xml commons/proper/weaver/trunk/dist/pom.xml commons/proper/weaver/trunk/maven-plugin/pom.xml commons/proper/weaver/trunk/modules/normalizer/pom.xml commons/proper/weaver/trunk/modules/pom.xml commons/proper/weaver/trunk/modules/privilizer/api/pom.xml commons/proper/weaver/trunk/modules/privilizer/pom.xml commons/proper/weaver/trunk/modules/privilizer/weaver/pom.xml commons/proper/weaver/trunk/parent/pom.xml commons/proper/weaver/trunk/pom.xml commons/proper/weaver/trunk/processor/pom.xml Modified: commons/proper/weaver/trunk/ant/pom.xml URL: http://svn.apache.org/viewvc/commons/proper/weaver/trunk/ant/pom.xml?rev=1764790=1764789=1764790=diff == --- commons/proper/weaver/trunk/ant/pom.xml (original) +++ commons/proper/weaver/trunk/ant/pom.xml Thu Oct 13 21:04:39 2016 @@ -22,7 +22,7 @@ under the License. org.apache.commons commons-weaver-parent -1.3-SNAPSHOT +1.3 ../parent/pom.xml @@ -36,9 +36,9 @@ under the License. - scm:svn:http://svn.apache.org/repos/asf/commons/proper/weaver/trunk/ant - scm:svn:https://svn.apache.org/repos/asf/commons/proper/weaver/trunk/ant -http://svn.apache.org/viewvc/commons/proper/weaver/trunk/ant + scm:svn:http://svn.apache.org/repos/asf/commons/proper/weaver/tags/1.3_RC2/ant + scm:svn:https://svn.apache.org/repos/asf/commons/proper/weaver/tags/1.3_RC2/ant + http://svn.apache.org/viewvc/commons/proper/weaver/tags/1.3_RC2/ant Modified: commons/proper/weaver/trunk/build-tools/pom.xml URL: http://svn.apache.org/viewvc/commons/proper/weaver/trunk/build-tools/pom.xml?rev=1764790=1764789=1764790=diff == --- commons/proper/weaver/trunk/build-tools/pom.xml (original) +++ commons/proper/weaver/trunk/build-tools/pom.xml Thu Oct 13 21:04:39 2016 @@ -21,7 +21,7 @@ under the License. org.apache.commons commons-weaver-base -1.3-SNAPSHOT +1.3 4.0.0 commons-weaver-build-tools @@ -29,9 +29,9 @@ under the License. Provide common setup, from http://maven.apache.org/plugins/maven-checkstyle-plugin/examples/multi-module-config.html - scm:svn:http://svn.apache.org/repos/asf/commons/proper/weaver/trunk/build-tools - scm:svn:https://svn.apache.org/repos/asf/commons/proper/weaver/trunk/build-tools - http://svn.apache.org/viewvc/commons/proper/weaver/trunk/build-tools + scm:svn:http://svn.apache.org/repos/asf/commons/proper/weaver/tags/1.3_RC2/build-tools + scm:svn:https://svn.apache.org/repos/asf/commons/proper/weaver/tags/1.3_RC2/build-tools + http://svn.apache.org/viewvc/commons/proper/weaver/tags/1.3_RC2/build-tools Modified: commons/proper/weaver/trunk/dist/pom.xml URL: http://svn.apache.org/viewvc/commons/proper/weaver/trunk/dist/pom.xml?rev=1764790=1764789=1764790=diff == --- commons/proper/weaver/trunk/dist/pom.xml (original) +++ commons/proper/weaver/trunk/dist/pom.xml Thu Oct 13 21:04:39 2016 @@ -22,7 +22,7 @@ under the License. org.apache.commons commons-weaver-parent -1.3-SNAPSHOT +1.3 ../parent/pom.xml @@ -34,9 +34,9 @@ under the License. - scm:svn:http://svn.apache.org/repos/asf/commons/proper/weaver/trunk/dist - scm:svn:https://svn.apache.org/repos/asf/commons/proper/weaver/trunk/dist -http://svn.apache.org/viewvc/commons/proper/weaver/trunk/dist + scm:svn:http://svn.apache.org/repos/asf/commons/proper/weaver/tags/1.3_RC2/dist + scm:svn:https://svn.apache.org/repos/asf/commons/proper/weaver/tags/1.3_RC2/dist + http://svn.apache.org/viewvc/commons/proper/weaver/tags/1.3_RC2/dist Modified: commons/proper/weaver/trunk/maven-plugin/pom.xml URL: http://svn.apache.org/viewvc/commons/proper/weaver/trunk/maven-plugin/pom.xml?rev=1764790=1764789=1764790=diff == --- commons/proper/weaver/trunk/maven-plugin/pom.xml (original) +++ commons/proper/weaver/trunk/maven-plugin/pom.xml Thu Oct 13 21:04:39 2016 @@ -22,7 +22,7 @@ under the License. org.apache.commons commons-weaver-parent -1.3-SNAPSHOT +1.3 ../parent/pom.xml @@ -40,9 +40,9 @@ under the License. - scm:svn:http://svn.apache.org/repos/asf/commons/proper/weaver/trunk/maven-plugin - scm:svn:https://svn.apache.org/repos/asf/commons/proper/weaver/trunk/maven-plugin - http://svn.apache.org/viewvc/commons/proper/weaver/trunk/maven-plugin +
svn commit: r1764789 - /commons/proper/weaver/trunk/RELEASE-NOTES.txt
Author: mbenson Date: Thu Oct 13 21:04:17 2016 New Revision: 1764789 URL: http://svn.apache.org/viewvc?rev=1764789=rev Log: generate release notes using -Dchanges.version Modified: commons/proper/weaver/trunk/RELEASE-NOTES.txt Modified: commons/proper/weaver/trunk/RELEASE-NOTES.txt URL: http://svn.apache.org/viewvc/commons/proper/weaver/trunk/RELEASE-NOTES.txt?rev=1764789=1764788=1764789=diff == --- commons/proper/weaver/trunk/RELEASE-NOTES.txt (original) +++ commons/proper/weaver/trunk/RELEASE-NOTES.txt Thu Oct 13 21:04:17 2016 @@ -1,7 +1,7 @@ - Apache Commons Weaver 1.3-SNAPSHOT + Apache Commons Weaver 1.3 RELEASE NOTES -The Apache Commons team is pleased to announce the release of Apache Commons Weaver 1.3-SNAPSHOT +The Apache Commons team is pleased to announce the release of Apache Commons Weaver 1.3 Apache Commons Weaver provides an easy way to enhance compiled Java classes by generating ("weaving") bytecode into those classes.
svn commit: r1764788 - /commons/proper/weaver/trunk/pom.xml
Author: mbenson Date: Thu Oct 13 21:03:11 2016 New Revision: 1764788 URL: http://svn.apache.org/viewvc?rev=1764788=rev Log: RC2 Modified: commons/proper/weaver/trunk/pom.xml Modified: commons/proper/weaver/trunk/pom.xml URL: http://svn.apache.org/viewvc/commons/proper/weaver/trunk/pom.xml?rev=1764788=1764787=1764788=diff == --- commons/proper/weaver/trunk/pom.xml (original) +++ commons/proper/weaver/trunk/pom.xml Thu Oct 13 21:03:11 2016 @@ -50,7 +50,7 @@ under the License. weaver 1.3 commons-weaver-${commons.release.version} -RC1 +RC2 WEAVER 12315320 commons-weaver
Nexus: Staging Repository Dropped
Message from: https://repository.apache.orgDescription:cancelledDeployer properties:"userAgent" = "Apache-Maven/3.3.9 (Java 1.7.0_75; Windows 8.1 6.3)""userId" = "mbenson""ip" = "216.1.180.2"Details:The orgapachecommons-1208 staging repository has been dropped.Action performed by Matthew Jason Benson (mbenson)
svn commit: r1764787 - in /commons/proper/weaver/trunk: ./ ant/ build-tools/ dist/ maven-plugin/ modules/ modules/normalizer/ modules/privilizer/ modules/privilizer/api/ modules/privilizer/weaver/ par
Author: mbenson Date: Thu Oct 13 21:01:43 2016 New Revision: 1764787 URL: http://svn.apache.org/viewvc?rev=1764787=rev Log: [maven-release-plugin] rollback the release of 1.3_RC1 Modified: commons/proper/weaver/trunk/ant/pom.xml commons/proper/weaver/trunk/build-tools/pom.xml commons/proper/weaver/trunk/dist/pom.xml commons/proper/weaver/trunk/maven-plugin/pom.xml commons/proper/weaver/trunk/modules/normalizer/pom.xml commons/proper/weaver/trunk/modules/pom.xml commons/proper/weaver/trunk/modules/privilizer/api/pom.xml commons/proper/weaver/trunk/modules/privilizer/pom.xml commons/proper/weaver/trunk/modules/privilizer/weaver/pom.xml commons/proper/weaver/trunk/parent/pom.xml commons/proper/weaver/trunk/pom.xml commons/proper/weaver/trunk/processor/pom.xml Modified: commons/proper/weaver/trunk/ant/pom.xml URL: http://svn.apache.org/viewvc/commons/proper/weaver/trunk/ant/pom.xml?rev=1764787=1764786=1764787=diff == --- commons/proper/weaver/trunk/ant/pom.xml (original) +++ commons/proper/weaver/trunk/ant/pom.xml Thu Oct 13 21:01:43 2016 @@ -22,7 +22,7 @@ under the License. org.apache.commons commons-weaver-parent -1.4-SNAPSHOT +1.3-SNAPSHOT ../parent/pom.xml Modified: commons/proper/weaver/trunk/build-tools/pom.xml URL: http://svn.apache.org/viewvc/commons/proper/weaver/trunk/build-tools/pom.xml?rev=1764787=1764786=1764787=diff == --- commons/proper/weaver/trunk/build-tools/pom.xml (original) +++ commons/proper/weaver/trunk/build-tools/pom.xml Thu Oct 13 21:01:43 2016 @@ -21,7 +21,7 @@ under the License. org.apache.commons commons-weaver-base -1.4-SNAPSHOT +1.3-SNAPSHOT 4.0.0 commons-weaver-build-tools Modified: commons/proper/weaver/trunk/dist/pom.xml URL: http://svn.apache.org/viewvc/commons/proper/weaver/trunk/dist/pom.xml?rev=1764787=1764786=1764787=diff == --- commons/proper/weaver/trunk/dist/pom.xml (original) +++ commons/proper/weaver/trunk/dist/pom.xml Thu Oct 13 21:01:43 2016 @@ -22,7 +22,7 @@ under the License. org.apache.commons commons-weaver-parent -1.4-SNAPSHOT +1.3-SNAPSHOT ../parent/pom.xml Modified: commons/proper/weaver/trunk/maven-plugin/pom.xml URL: http://svn.apache.org/viewvc/commons/proper/weaver/trunk/maven-plugin/pom.xml?rev=1764787=1764786=1764787=diff == --- commons/proper/weaver/trunk/maven-plugin/pom.xml (original) +++ commons/proper/weaver/trunk/maven-plugin/pom.xml Thu Oct 13 21:01:43 2016 @@ -22,7 +22,7 @@ under the License. org.apache.commons commons-weaver-parent -1.4-SNAPSHOT +1.3-SNAPSHOT ../parent/pom.xml Modified: commons/proper/weaver/trunk/modules/normalizer/pom.xml URL: http://svn.apache.org/viewvc/commons/proper/weaver/trunk/modules/normalizer/pom.xml?rev=1764787=1764786=1764787=diff == --- commons/proper/weaver/trunk/modules/normalizer/pom.xml (original) +++ commons/proper/weaver/trunk/modules/normalizer/pom.xml Thu Oct 13 21:01:43 2016 @@ -22,7 +22,7 @@ under the License. org.apache.commons commons-weaver-modules-parent -1.4-SNAPSHOT +1.3-SNAPSHOT commons-weaver-normalizer Apache Commons Weaver Normalizer Modified: commons/proper/weaver/trunk/modules/pom.xml URL: http://svn.apache.org/viewvc/commons/proper/weaver/trunk/modules/pom.xml?rev=1764787=1764786=1764787=diff == --- commons/proper/weaver/trunk/modules/pom.xml (original) +++ commons/proper/weaver/trunk/modules/pom.xml Thu Oct 13 21:01:43 2016 @@ -22,7 +22,7 @@ under the License. commons-weaver-parent org.apache.commons -1.4-SNAPSHOT +1.3-SNAPSHOT ../parent/pom.xml Modified: commons/proper/weaver/trunk/modules/privilizer/api/pom.xml URL: http://svn.apache.org/viewvc/commons/proper/weaver/trunk/modules/privilizer/api/pom.xml?rev=1764787=1764786=1764787=diff == --- commons/proper/weaver/trunk/modules/privilizer/api/pom.xml (original) +++ commons/proper/weaver/trunk/modules/privilizer/api/pom.xml Thu Oct 13 21:01:43 2016 @@ -22,7 +22,7 @@ under the License. org.apache.commons commons-weaver-privilizer-parent -1.4-SNAPSHOT +1.3-SNAPSHOT commons-weaver-privilizer-api Modified: commons/proper/weaver/trunk/modules/privilizer/pom.xml URL: http://svn.apache.org/viewvc/commons/proper/weaver/trunk/modules/privilizer/pom.xml?rev=1764787=1764786=1764787=diff
svn commit: r1764786 - /commons/proper/weaver/tags/1.3_RC1/
Author: mbenson Date: Thu Oct 13 21:01:10 2016 New Revision: 1764786 URL: http://svn.apache.org/viewvc?rev=1764786=rev Log: cancelled Removed: commons/proper/weaver/tags/1.3_RC1/
svn commit: r1764780 - /commons/proper/jcs/trunk/commons-jcs-core/src/main/java/org/apache/commons/jcs/auxiliary/remote/RemoteCacheNoWait.java
Author: tv Date: Thu Oct 13 20:14:42 2016 New Revision: 1764780 URL: http://svn.apache.org/viewvc?rev=1764780=rev Log: Cleanup Modified: commons/proper/jcs/trunk/commons-jcs-core/src/main/java/org/apache/commons/jcs/auxiliary/remote/RemoteCacheNoWait.java Modified: commons/proper/jcs/trunk/commons-jcs-core/src/main/java/org/apache/commons/jcs/auxiliary/remote/RemoteCacheNoWait.java URL: http://svn.apache.org/viewvc/commons/proper/jcs/trunk/commons-jcs-core/src/main/java/org/apache/commons/jcs/auxiliary/remote/RemoteCacheNoWait.java?rev=1764780=1764779=1764780=diff == --- commons/proper/jcs/trunk/commons-jcs-core/src/main/java/org/apache/commons/jcs/auxiliary/remote/RemoteCacheNoWait.java (original) +++ commons/proper/jcs/trunk/commons-jcs-core/src/main/java/org/apache/commons/jcs/auxiliary/remote/RemoteCacheNoWait.java Thu Oct 13 20:14:42 2016 @@ -470,7 +470,6 @@ public class RemoteCacheNoWait/** * Returns the stats and the cache.toString(). * - * (non-Javadoc) * @see java.lang.Object#toString() */ @Override
svn commit: r1764779 - /commons/proper/jcs/trunk/commons-jcs-core/src/main/java/org/apache/commons/jcs/auxiliary/disk/block/BlockDiskCache.java
Author: tv Date: Thu Oct 13 20:14:21 2016 New Revision: 1764779 URL: http://svn.apache.org/viewvc?rev=1764779=rev Log: Remove unnecessary code Modified: commons/proper/jcs/trunk/commons-jcs-core/src/main/java/org/apache/commons/jcs/auxiliary/disk/block/BlockDiskCache.java Modified: commons/proper/jcs/trunk/commons-jcs-core/src/main/java/org/apache/commons/jcs/auxiliary/disk/block/BlockDiskCache.java URL: http://svn.apache.org/viewvc/commons/proper/jcs/trunk/commons-jcs-core/src/main/java/org/apache/commons/jcs/auxiliary/disk/block/BlockDiskCache.java?rev=1764779=1764778=1764779=diff == --- commons/proper/jcs/trunk/commons-jcs-core/src/main/java/org/apache/commons/jcs/auxiliary/disk/block/BlockDiskCache.java (original) +++ commons/proper/jcs/trunk/commons-jcs-core/src/main/java/org/apache/commons/jcs/auxiliary/disk/block/BlockDiskCache.java Thu Oct 13 20:14:21 2016 @@ -558,7 +558,7 @@ public class BlockDiskCachereturn removed; } - + private boolean performSingleKeyRemoval(K key) { boolean removed; // remove single item. @@ -733,17 +733,6 @@ public class BlockDiskCache } /** - * Gets basic stats for the disk cache. - * - * @return String - */ -@Override -public String getStats() -{ -return getStatistics().toString(); -} - -/** * Returns info about the disk cache. * * @see org.apache.commons.jcs.auxiliary.AuxiliaryCache#getStatistics()
svn commit: r16505 - /dev/commons/lang/LANG_3_5_RC2/
Author: britter Date: Thu Oct 13 20:03:40 2016 New Revision: 16505 Log: Prepare Apache Commons Lang 3.5 RC2 Added: dev/commons/lang/LANG_3_5_RC2/ dev/commons/lang/LANG_3_5_RC2/RELEASE-NOTES.txt (with props) dev/commons/lang/LANG_3_5_RC2/commons-lang3-3.5-bin.tar.gz (with props) dev/commons/lang/LANG_3_5_RC2/commons-lang3-3.5-bin.tar.gz.asc dev/commons/lang/LANG_3_5_RC2/commons-lang3-3.5-bin.tar.gz.md5 dev/commons/lang/LANG_3_5_RC2/commons-lang3-3.5-bin.tar.gz.sha1 dev/commons/lang/LANG_3_5_RC2/commons-lang3-3.5-bin.zip (with props) dev/commons/lang/LANG_3_5_RC2/commons-lang3-3.5-bin.zip.asc dev/commons/lang/LANG_3_5_RC2/commons-lang3-3.5-bin.zip.md5 dev/commons/lang/LANG_3_5_RC2/commons-lang3-3.5-bin.zip.sha1 dev/commons/lang/LANG_3_5_RC2/commons-lang3-3.5-src.tar.gz (with props) dev/commons/lang/LANG_3_5_RC2/commons-lang3-3.5-src.tar.gz.asc dev/commons/lang/LANG_3_5_RC2/commons-lang3-3.5-src.tar.gz.md5 dev/commons/lang/LANG_3_5_RC2/commons-lang3-3.5-src.tar.gz.sha1 dev/commons/lang/LANG_3_5_RC2/commons-lang3-3.5-src.zip (with props) dev/commons/lang/LANG_3_5_RC2/commons-lang3-3.5-src.zip.asc dev/commons/lang/LANG_3_5_RC2/commons-lang3-3.5-src.zip.md5 dev/commons/lang/LANG_3_5_RC2/commons-lang3-3.5-src.zip.sha1 Added: dev/commons/lang/LANG_3_5_RC2/RELEASE-NOTES.txt == --- dev/commons/lang/LANG_3_5_RC2/RELEASE-NOTES.txt (added) +++ dev/commons/lang/LANG_3_5_RC2/RELEASE-NOTES.txt Thu Oct 13 20:03:40 2016 @@ -0,0 +1,922 @@ + Apache Commons Lang + Version 3.5 + Release Notes + + +INTRODUCTION: + +This document contains the release notes for the 3.5 version of +Apache Commons Lang as well as a history all changes in the Commons Lang 3.x +release line. Commons Lang is a set of utility functions and reusable +components that should be of use in any Java environment. Commons Lang 3.5 at +least requires Java 6.0. + +For the advice on upgrading from 2.x to 3.x, see the following page: + +http://commons.apache.org/lang/article3_0.html + +HIGHLIGHTS +== + +Some of the highlights in this release include: + +o Added Java 9 detection to org.apache.commons.lang3.SystemUtils. +o Support for shifting and swapping elements in +org.apache.commons.lang3.ArrayUtils. +o New methods for generating random strings from different character classes +including alphabetic, alpha-numeric and ASCII added to +org.apache.commons.lang3.RandomStringUtils. +o Numerous extensions to org.apache.commons.lang3.StringUtils including +null safe compare variants, more remove and replace variants, rotation and +truncation. +o Added org.apache.commons.lang3.ThreadUtils - a utility class to work with +instances of java.lang.Thread and java.lang.ThreadGroup. +o Added annotations @EqualsExclude, @HashCodeExclude and @ToStringEclude to +mark fields which should be ignored by the reflective builders in the +org.apache.commons.lang3.builder package. +o Support for various modify and retrieve value use cases added to the classes +in org.apache.commons.lang3.mutable. + +COMPATIBILITY += + +Apache Commons Lang 3.5 is binary compatible with the 3.4 release. Users +should not experience any problems when upgrading vom 3.4 to 3.5. + +There has been an addition to the org.apache.commons.lang3.time.DatePrinter +interface: + +o Added method 'public boolean parse(java.lang.String, java.text.ParsePosition, +java.util.Calendar)' +o Added method 'public java.lang.Appendable format(long, java.lang.Appendable)' +o Added method 'public java.lang.Appendable format(java.util.Date, +java.lang.Appendable)' +o Added method 'public java.lang.Appendable format(java.util.Calendar, +java.lang.Appendable)' + +For this reason 3.5 is not strictly source compatible to 3.4. Since the +DatePrinter interface is not meant to be implemented by clients, this +change it not considered to cause any problems. + +JAVA 9 SUPPORT +== + +Java 9 introduces a new version-string scheme. Details of this new scheme are +documented in JEP-223 (http://openjdk.java.net/jeps/223). In order to support +JEP-223 two classes had to be changed: + +o org.apache.commons.lang3.JavaVersion +deprecated enum constant JAVA_1_9 +introduced enum constant JAVA_9 + +o org.apache.commons.lang3.SystemUtils +deprecated constant IS_JAVA_1_9 +introduced constant IS_JAVA_9 + +For more information see LANG-1197 +(https://issues.apache.org/jira/browse/LANG-1197). All other APIs are expected +to work with Java 9. + +BUILDING ON JAVA 9 +== + +Java 8 introduced the Unicode Consortium's Common Locale Data Repository as +alternative source for locale data. Java 9 will use the CLDR provider as +default provider for locale data (see http://openjdk.java.net/jeps/252). This +causes
Nexus: Staging Completed
Message from: https://repository.apache.orgDescription:Apache Commons Lang 3.5 RC2Deployer properties:"userAgent" = "Apache-Maven/3.3.9 (Java 1.8.0_102; Mac OS X 10.11.6)""userId" = "britter""ip" = "188.109.13.160"Details:The following artifacts have been staged/org/apache/commons/commons-lang3/3.5/commons-lang3-3.5-tests.jar(SHA1: 8ca309192f104265c67a1570245ae827a8650af9)/org/apache/commons/commons-lang3/3.5/commons-lang3-3.5.jar(SHA1: 6c6c702c89bfff3cd9e80b04d668c5e190d588c6)/org/apache/commons/commons-lang3/3.5/commons-lang3-3.5-sources.jar(SHA1: f7d878153e86a1cdddf6b37850e00a9f8bff726f)/org/apache/commons/commons-lang3/3.5/commons-lang3-3.5-sources.jar.asc(SHA1: 308193dab5d602d3a3645700c1ccb9dd4dc96979)/org/apache/commons/commons-lang3/3.5/commons-lang3-3.5-javadoc.jar.asc(SHA1: ad2325af75ccd66d8443fd57bca60bdb37a4c388)/org/apache/commons/commons-lang3/3.5/commons-lang3-3.5-test-sources.jar(SHA1: dfb8a086a03cc9499cff808733fac667f5f50688)/org/apache/commons/commons-lang3/3.5/commons-lang3-3.5.pom.asc(SHA1: a16a7f9bc551028068e4dfcf663e7bcc9a65111e)/org/apache/commons/commons-lang3/3.5/commons-lang3-3.5-test-sources.jar.asc(SHA1: a325925f8b13c777c782ad170154ea305a35e10b)/org/apache/commons/commons-lang3/3.5/commons-lang3-3.5.pom(SHA1: 08b969f02dfa03fa493fd6eba4cb9dcceea5aefd)/org/apache/commons/commons-lang3/3.5/commons-lang3-3.5-javadoc.jar(SHA1: 337310e98410d577aca675930bb46405a0a8fb0c)/org/apache/commons/commons-lang3/3.5/commons-lang3-3.5.jar.asc(SHA1: 744ed2ce6525bdd0e6e96b232e50c7b3264a03ea)/org/apache/commons/commons-lang3/3.5/commons-lang3-3.5-tests.jar.asc(SHA1: 71e23964189b9cf5e31b8e976104e9453d77ff42)Action performed by Benedikt Ritter (britter)
Nexus: Staging Completed
Message from: https://repository.apache.orgDescription:commons-weaver 1.3 RC1Deployer properties:"userAgent" = "Apache-Maven/3.3.9 (Java 1.7.0_75; Windows 8.1 6.3)""userId" = "mbenson""ip" = "216.1.180.2"Details:The following artifacts have been staged/org/apache/commons/commons-weaver-normalizer/1.3/commons-weaver-normalizer-1.3-test-sources.jar(SHA1: 07db6f525ab6a766091721747a96ebf0981bb03e)/org/apache/commons/commons-weaver-normalizer/1.3/commons-weaver-normalizer-1.3.jar(SHA1: 2b87fa447b77aeb92fab0adc5faaf00feff7d1b1)/org/apache/commons/commons-weaver-normalizer/1.3/commons-weaver-normalizer-1.3-tests.jar.asc(SHA1: 5e6d446b6a07307f97a360926d8b17a86fa6b5d8)/org/apache/commons/commons-weaver-normalizer/1.3/commons-weaver-normalizer-1.3-javadoc.jar(SHA1: 03aecf94c5ee5bc694f92eaf15d0130a85641325)/org/apache/commons/commons-weaver-normalizer/1.3/commons-weaver-normalizer-1.3-sources.jar(SHA1: cc548f16b0ecf659e0098dbc59edc3640180c912)/org/apache/commons/commons-weaver-normalizer/1.3/commons-weaver-normalizer-1.3-test-sources.jar.asc(SHA1: b7d4a7bd33aa1c882b342c3317f9ceef889b626c)/org/apache/commons/commons-weaver-normalizer/1.3/commons-weaver-normalizer-1.3-sources.jar.asc(SHA1: ef1fc505d441276d70bbe0abee7c52112404d832)/org/apache/commons/commons-weaver-normalizer/1.3/commons-weaver-normalizer-1.3-javadoc.jar.asc(SHA1: e52fd702f73ff5ec7e38261ce1c519af3c762111)/org/apache/commons/commons-weaver-normalizer/1.3/commons-weaver-normalizer-1.3-tests.jar(SHA1: fcaaa9cc8bbf96607db90b2b620f1fea673b6372)/org/apache/commons/commons-weaver-normalizer/1.3/commons-weaver-normalizer-1.3.jar.asc(SHA1: 061c909ec73c17d7af30684d4c2f3bae85b3e0ad)/org/apache/commons/commons-weaver-normalizer/1.3/commons-weaver-normalizer-1.3.pom.asc(SHA1: f107e536312d6db72265c51fe3fdd479a5f32625)/org/apache/commons/commons-weaver-normalizer/1.3/commons-weaver-normalizer-1.3.pom(SHA1: d386bd8305bdd71d6e5973913232832ad6a1e564)/org/apache/commons/commons-weaver-privilizer-api/1.3/commons-weaver-privilizer-api-1.3.jar.asc(SHA1: a5e6618bcbf891d50fce0811858a3d6e80cfc1ce)/org/apache/commons/commons-weaver-privilizer-api/1.3/commons-weaver-privilizer-api-1.3-javadoc.jar(SHA1: a1552c92312e60b3a6bde903e557c140e4b6f882)/org/apache/commons/commons-weaver-privilizer-api/1.3/commons-weaver-privilizer-api-1.3-sources.jar(SHA1: 526cbe031aed9df6d7dc098822e0b7b59a63577e)/org/apache/commons/commons-weaver-privilizer-api/1.3/commons-weaver-privilizer-api-1.3.pom(SHA1: 616945202bbcd1a2913c65b898af251cc1bf83ec)/org/apache/commons/commons-weaver-privilizer-api/1.3/commons-weaver-privilizer-api-1.3-sources.jar.asc(SHA1: 7e056ad4e0b07a95a0156f13ff31f63ac0faf5e4)/org/apache/commons/commons-weaver-privilizer-api/1.3/commons-weaver-privilizer-api-1.3.jar(SHA1: 3e38966064b1d373694e4ed5f93144b690d9)/org/apache/commons/commons-weaver-privilizer-api/1.3/commons-weaver-privilizer-api-1.3-javadoc.jar.asc(SHA1: 7262ffa453180017c04f03cf3d1228370a92ca0f)/org/apache/commons/commons-weaver-privilizer-api/1.3/commons-weaver-privilizer-api-1.3.pom.asc(SHA1: fdbafbb99a37f1e6f84f62782e18559135991a49)/org/apache/commons/commons-weaver-privilizer/1.3/commons-weaver-privilizer-1.3-sources.jar.asc(SHA1: 7cc18d26eca9d01619973811ee1e18443177d22d)/org/apache/commons/commons-weaver-privilizer/1.3/commons-weaver-privilizer-1.3-javadoc.jar(SHA1: 2791d9419cc52adb573362c459eb7db9e293dd78)/org/apache/commons/commons-weaver-privilizer/1.3/commons-weaver-privilizer-1.3.jar(SHA1: 67007ba652851d29fb8a3ad6b0bdb59423450a3b)/org/apache/commons/commons-weaver-privilizer/1.3/commons-weaver-privilizer-1.3.pom(SHA1: 85b6b1c47eeb778a14d67abfab9066242757031f)/org/apache/commons/commons-weaver-privilizer/1.3/commons-weaver-privilizer-1.3-sources.jar(SHA1: 7cab8d75d0f53503703196a1060c0e12a7a0b062)/org/apache/commons/commons-weaver-privilizer/1.3/commons-weaver-privilizer-1.3.jar.asc(SHA1: e02126c4d85334ef3afe1b2cbcd3fcea61125def)/org/apache/commons/commons-weaver-privilizer/1.3/commons-weaver-privilizer-1.3.pom.asc(SHA1: 02277974acb4d9190c4a91ef5f82e73b1c50dbd8)/org/apache/commons/commons-weaver-privilizer/1.3/commons-weaver-privilizer-1.3-javadoc.jar.asc(SHA1: 3ecacbaff252a8352ead787916612177c6c7e141)/org/apache/commons/commons-weaver-processor/1.3/commons-weaver-processor-1.3.pom(SHA1: 4b7a359188a93894bc0e393147a18e2fd49d8aba)/org/apache/commons/commons-weaver-processor/1.3/commons-weaver-processor-1.3-javadoc.jar(SHA1: 27246845ef16497ec0c26cc4de80df368f8ba125)/org/apache/commons/commons-weaver-processor/1.3/commons-weaver-processor-1.3-tests.jar.asc(SHA1: 9db4d7ea2c914cc217b521762d0b7dfe0a3b85fd)/org/apache/commons/commons-weaver-processor/1.3/commons-weaver-processor-1.3.jar(SHA1: 64f185a88a10ed1de4741c458ad8ccd8c2cb069c)/org/apache/commons/commons-weaver-processor/1.3/commons-weaver-processor-1.3-test-sources.jar.asc(SHA1: 4f12d51b16dc897b1dbb11b1b0928408da0fb5c5)/org/apache/commons/commons-weaver-processor/1.3/commons-weaver-processor-1.3-test-sources.jar(SHA1:
svn commit: r16504 - in /dev/commons/weaver: binaries/ source/
Author: mbenson Date: Thu Oct 13 19:43:36 2016 New Revision: 16504 Log: commons-weaver 1.3 RC1 Modified: dev/commons/weaver/binaries/commons-weaver-1.3-bin.tar.gz dev/commons/weaver/binaries/commons-weaver-1.3-bin.tar.gz.asc dev/commons/weaver/binaries/commons-weaver-1.3-bin.tar.gz.md5 dev/commons/weaver/binaries/commons-weaver-1.3-bin.tar.gz.sha1 dev/commons/weaver/binaries/commons-weaver-1.3-bin.zip dev/commons/weaver/binaries/commons-weaver-1.3-bin.zip.asc dev/commons/weaver/binaries/commons-weaver-1.3-bin.zip.md5 dev/commons/weaver/binaries/commons-weaver-1.3-bin.zip.sha1 dev/commons/weaver/source/commons-weaver-1.3-src.tar.gz dev/commons/weaver/source/commons-weaver-1.3-src.tar.gz.asc dev/commons/weaver/source/commons-weaver-1.3-src.tar.gz.md5 dev/commons/weaver/source/commons-weaver-1.3-src.tar.gz.sha1 dev/commons/weaver/source/commons-weaver-1.3-src.zip dev/commons/weaver/source/commons-weaver-1.3-src.zip.asc dev/commons/weaver/source/commons-weaver-1.3-src.zip.md5 dev/commons/weaver/source/commons-weaver-1.3-src.zip.sha1 Modified: dev/commons/weaver/binaries/commons-weaver-1.3-bin.tar.gz == Binary files - no diff available. Modified: dev/commons/weaver/binaries/commons-weaver-1.3-bin.tar.gz.asc == --- dev/commons/weaver/binaries/commons-weaver-1.3-bin.tar.gz.asc (original) +++ dev/commons/weaver/binaries/commons-weaver-1.3-bin.tar.gz.asc Thu Oct 13 19:43:36 2016 @@ -1,7 +1,7 @@ -BEGIN PGP SIGNATURE- Version: GnuPG v1 -iEYEABECAAYFAlf/uogACgkQIXyc/yFj3c6ybQCfU6U9RYjiZSEn/T9foSBY4qbo -MqgAn2ggsjqOOw7ML4efbpgukSC94bZD -=xtQE +iEYEABECAAYFAlf/43QACgkQIXyc/yFj3c6sLACfTj6bGYWZkoA/5I9fbrXMqFEx +izQAn0Q/JpsvLQCz4lq3jYKJN8g14N2x +=49df -END PGP SIGNATURE- Modified: dev/commons/weaver/binaries/commons-weaver-1.3-bin.tar.gz.md5 == --- dev/commons/weaver/binaries/commons-weaver-1.3-bin.tar.gz.md5 (original) +++ dev/commons/weaver/binaries/commons-weaver-1.3-bin.tar.gz.md5 Thu Oct 13 19:43:36 2016 @@ -1 +1 @@ -41bbff2fae142cbf462eb083d5842631 \ No newline at end of file +78984229efa209b830b40cf25b2f2e06 \ No newline at end of file Modified: dev/commons/weaver/binaries/commons-weaver-1.3-bin.tar.gz.sha1 == --- dev/commons/weaver/binaries/commons-weaver-1.3-bin.tar.gz.sha1 (original) +++ dev/commons/weaver/binaries/commons-weaver-1.3-bin.tar.gz.sha1 Thu Oct 13 19:43:36 2016 @@ -1 +1 @@ -50555bfe9d45174b298685994dbe98f8b3eb3e04 \ No newline at end of file +92774c63b1b39471d65556a37fc675cc24e251f9 \ No newline at end of file Modified: dev/commons/weaver/binaries/commons-weaver-1.3-bin.zip == Binary files - no diff available. Modified: dev/commons/weaver/binaries/commons-weaver-1.3-bin.zip.asc == --- dev/commons/weaver/binaries/commons-weaver-1.3-bin.zip.asc (original) +++ dev/commons/weaver/binaries/commons-weaver-1.3-bin.zip.asc Thu Oct 13 19:43:36 2016 @@ -1,7 +1,7 @@ -BEGIN PGP SIGNATURE- Version: GnuPG v1 -iEYEABECAAYFAlf/uogACgkQIXyc/yFj3c4UdgCePmtCV2x6d+8sZqUzRO24CtZv -iA0An0BeBoXOEPLEi82gAmU+7q8NryD+ -=6Ndc +iEYEABECAAYFAlf/43UACgkQIXyc/yFj3c4KkACdHqoJ86mwdxy9KslSR7NT7UVL ++28AoITrWBZrUTKhgt/SwFw51IG1MD88 +=14LR -END PGP SIGNATURE- Modified: dev/commons/weaver/binaries/commons-weaver-1.3-bin.zip.md5 == --- dev/commons/weaver/binaries/commons-weaver-1.3-bin.zip.md5 (original) +++ dev/commons/weaver/binaries/commons-weaver-1.3-bin.zip.md5 Thu Oct 13 19:43:36 2016 @@ -1 +1 @@ -b6e97a2f4f72e3d8a39afa512755e13d \ No newline at end of file +35b988b75f875477356df17958cc5b81 \ No newline at end of file Modified: dev/commons/weaver/binaries/commons-weaver-1.3-bin.zip.sha1 == --- dev/commons/weaver/binaries/commons-weaver-1.3-bin.zip.sha1 (original) +++ dev/commons/weaver/binaries/commons-weaver-1.3-bin.zip.sha1 Thu Oct 13 19:43:36 2016 @@ -1 +1 @@ -946e722798a2dd7049b65ff1d4467ebca91e3553 \ No newline at end of file +f80014f6477f2b194e7127c9cc86655424458f8c \ No newline at end of file Modified: dev/commons/weaver/source/commons-weaver-1.3-src.tar.gz == Binary files - no diff available. Modified: dev/commons/weaver/source/commons-weaver-1.3-src.tar.gz.asc == --- dev/commons/weaver/source/commons-weaver-1.3-src.tar.gz.asc (original) +++
svn commit: r1764770 - /commons/proper/weaver/tags/1.3_RC1/
Author: mbenson Date: Thu Oct 13 19:38:25 2016 New Revision: 1764770 URL: http://svn.apache.org/viewvc?rev=1764770=rev Log: [maven-release-plugin] copy for tag 1.3_RC1 Added: commons/proper/weaver/tags/1.3_RC1/ (props changed) - copied from r1764769, commons/proper/weaver/trunk/ Propchange: commons/proper/weaver/tags/1.3_RC1/ -- --- svn:ignore (added) +++ svn:ignore Thu Oct 13 19:38:25 2016 @@ -0,0 +1,13 @@ +target +.metadata +.classpath +.project +.settings +*.iml +*.ipr +*.iws +.idea +*.log +.git +.gitignore + Propchange: commons/proper/weaver/tags/1.3_RC1/ -- --- svn:mergeinfo (added) +++ svn:mergeinfo Thu Oct 13 19:38:25 2016 @@ -0,0 +1,4 @@ +/commons/sandbox/weaver/branches/fields:1460191-1465080 +/commons/sandbox/weaver/branches/mjb:1437127-1451119 +/commons/sandbox/weaver/branches/normalizer:1511092-1512979 +/commons/sandbox/weaver/branches/priv-asm:1476710-1508502
svn commit: r1764769 - in /commons/proper/weaver/trunk: ./ ant/ build-tools/ dist/ maven-plugin/ modules/ modules/normalizer/ modules/privilizer/ modules/privilizer/api/ modules/privilizer/weaver/ par
Author: mbenson Date: Thu Oct 13 19:38:14 2016 New Revision: 1764769 URL: http://svn.apache.org/viewvc?rev=1764769=rev Log: [maven-release-plugin] prepare release 1.3_RC1 Modified: commons/proper/weaver/trunk/ant/pom.xml commons/proper/weaver/trunk/build-tools/pom.xml commons/proper/weaver/trunk/dist/pom.xml commons/proper/weaver/trunk/maven-plugin/pom.xml commons/proper/weaver/trunk/modules/normalizer/pom.xml commons/proper/weaver/trunk/modules/pom.xml commons/proper/weaver/trunk/modules/privilizer/api/pom.xml commons/proper/weaver/trunk/modules/privilizer/pom.xml commons/proper/weaver/trunk/modules/privilizer/weaver/pom.xml commons/proper/weaver/trunk/parent/pom.xml commons/proper/weaver/trunk/pom.xml commons/proper/weaver/trunk/processor/pom.xml Modified: commons/proper/weaver/trunk/ant/pom.xml URL: http://svn.apache.org/viewvc/commons/proper/weaver/trunk/ant/pom.xml?rev=1764769=1764768=1764769=diff == --- commons/proper/weaver/trunk/ant/pom.xml (original) +++ commons/proper/weaver/trunk/ant/pom.xml Thu Oct 13 19:38:14 2016 @@ -22,7 +22,7 @@ under the License. org.apache.commons commons-weaver-parent -1.3-SNAPSHOT +1.3 ../parent/pom.xml @@ -36,9 +36,9 @@ under the License. - scm:svn:http://svn.apache.org/repos/asf/commons/proper/weaver/trunk/ant - scm:svn:https://svn.apache.org/repos/asf/commons/proper/weaver/trunk/ant -http://svn.apache.org/viewvc/commons/proper/weaver/trunk/ant + scm:svn:http://svn.apache.org/repos/asf/commons/proper/weaver/tags/1.3_RC1/ant + scm:svn:https://svn.apache.org/repos/asf/commons/proper/weaver/tags/1.3_RC1/ant + http://svn.apache.org/viewvc/commons/proper/weaver/tags/1.3_RC1/ant Modified: commons/proper/weaver/trunk/build-tools/pom.xml URL: http://svn.apache.org/viewvc/commons/proper/weaver/trunk/build-tools/pom.xml?rev=1764769=1764768=1764769=diff == --- commons/proper/weaver/trunk/build-tools/pom.xml (original) +++ commons/proper/weaver/trunk/build-tools/pom.xml Thu Oct 13 19:38:14 2016 @@ -21,7 +21,7 @@ under the License. org.apache.commons commons-weaver-base -1.3-SNAPSHOT +1.3 4.0.0 commons-weaver-build-tools @@ -29,9 +29,9 @@ under the License. Provide common setup, from http://maven.apache.org/plugins/maven-checkstyle-plugin/examples/multi-module-config.html - scm:svn:http://svn.apache.org/repos/asf/commons/proper/weaver/trunk/build-tools - scm:svn:https://svn.apache.org/repos/asf/commons/proper/weaver/trunk/build-tools - http://svn.apache.org/viewvc/commons/proper/weaver/trunk/build-tools + scm:svn:http://svn.apache.org/repos/asf/commons/proper/weaver/tags/1.3_RC1/build-tools + scm:svn:https://svn.apache.org/repos/asf/commons/proper/weaver/tags/1.3_RC1/build-tools + http://svn.apache.org/viewvc/commons/proper/weaver/tags/1.3_RC1/build-tools Modified: commons/proper/weaver/trunk/dist/pom.xml URL: http://svn.apache.org/viewvc/commons/proper/weaver/trunk/dist/pom.xml?rev=1764769=1764768=1764769=diff == --- commons/proper/weaver/trunk/dist/pom.xml (original) +++ commons/proper/weaver/trunk/dist/pom.xml Thu Oct 13 19:38:14 2016 @@ -22,7 +22,7 @@ under the License. org.apache.commons commons-weaver-parent -1.3-SNAPSHOT +1.3 ../parent/pom.xml @@ -34,9 +34,9 @@ under the License. - scm:svn:http://svn.apache.org/repos/asf/commons/proper/weaver/trunk/dist - scm:svn:https://svn.apache.org/repos/asf/commons/proper/weaver/trunk/dist -http://svn.apache.org/viewvc/commons/proper/weaver/trunk/dist + scm:svn:http://svn.apache.org/repos/asf/commons/proper/weaver/tags/1.3_RC1/dist + scm:svn:https://svn.apache.org/repos/asf/commons/proper/weaver/tags/1.3_RC1/dist + http://svn.apache.org/viewvc/commons/proper/weaver/tags/1.3_RC1/dist Modified: commons/proper/weaver/trunk/maven-plugin/pom.xml URL: http://svn.apache.org/viewvc/commons/proper/weaver/trunk/maven-plugin/pom.xml?rev=1764769=1764768=1764769=diff == --- commons/proper/weaver/trunk/maven-plugin/pom.xml (original) +++ commons/proper/weaver/trunk/maven-plugin/pom.xml Thu Oct 13 19:38:14 2016 @@ -22,7 +22,7 @@ under the License. org.apache.commons commons-weaver-parent -1.3-SNAPSHOT +1.3 ../parent/pom.xml @@ -40,9 +40,9 @@ under the License. - scm:svn:http://svn.apache.org/repos/asf/commons/proper/weaver/trunk/maven-plugin - scm:svn:https://svn.apache.org/repos/asf/commons/proper/weaver/trunk/maven-plugin - http://svn.apache.org/viewvc/commons/proper/weaver/trunk/maven-plugin +
svn commit: r1764768 - /commons/proper/weaver/trunk/maven-plugin/src/site/resources/japicmp-post-analysis.groovy
Author: mbenson Date: Thu Oct 13 19:37:41 2016 New Revision: 1764768 URL: http://svn.apache.org/viewvc?rev=1764768=rev Log: license Modified: commons/proper/weaver/trunk/maven-plugin/src/site/resources/japicmp-post-analysis.groovy Modified: commons/proper/weaver/trunk/maven-plugin/src/site/resources/japicmp-post-analysis.groovy URL: http://svn.apache.org/viewvc/commons/proper/weaver/trunk/maven-plugin/src/site/resources/japicmp-post-analysis.groovy?rev=1764768=1764767=1764768=diff == --- commons/proper/weaver/trunk/maven-plugin/src/site/resources/japicmp-post-analysis.groovy (original) +++ commons/proper/weaver/trunk/maven-plugin/src/site/resources/japicmp-post-analysis.groovy Thu Oct 13 19:37:41 2016 @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + def it = jApiClasses.iterator() while (it.hasNext()) { def jApiClass = it.next()
svn commit: r1764767 - /commons/proper/weaver/trunk/pom.xml
Author: mbenson Date: Thu Oct 13 19:36:43 2016 New Revision: 1764767 URL: http://svn.apache.org/viewvc?rev=1764767=rev Log: centralize and update rat settings; document justification for exclusions Modified: commons/proper/weaver/trunk/pom.xml Modified: commons/proper/weaver/trunk/pom.xml URL: http://svn.apache.org/viewvc/commons/proper/weaver/trunk/pom.xml?rev=1764767=1764766=1764767=diff == --- commons/proper/weaver/trunk/pom.xml (original) +++ commons/proper/weaver/trunk/pom.xml Thu Oct 13 19:36:43 2016 @@ -118,6 +118,27 @@ under the License. + org.apache.rat + apache-rat-plugin + +false + + + LICENSE-asm*.txt + + **/target/** + **/dependency-reduced-pom.xml + + **/.* + **/.*/** + + **/*.svg + + **/src/site/resources/profile.japicmp + + + + org.codehaus.mojo build-helper-maven-plugin 1.9 @@ -274,16 +295,6 @@ under the License. org.apache.rat apache-rat-plugin false - - false - -**/target/** -**/dependency-reduced-pom.xml -**/.* -**/.*/** -**/*.svg - - org.codehaus.mojo @@ -314,16 +325,6 @@ under the License. org.apache.rat apache-rat-plugin false - - false - -**/target/** -**/dependency-reduced-pom.xml -**/.* -**/.*/** -**/*.svg - - org.apache.maven.plugins
[commons-lang] Git Push Summary
Repository: commons-lang Updated Tags: refs/tags/LANG_3_5_RC2 [created] a9a3cef8e
[04/12] [lang] [LANG-1275] Updated changes.xml.
[LANG-1275] Updated changes.xml. Project: http://git-wip-us.apache.org/repos/asf/commons-lang/repo Commit: http://git-wip-us.apache.org/repos/asf/commons-lang/commit/78134f6b Tree: http://git-wip-us.apache.org/repos/asf/commons-lang/tree/78134f6b Diff: http://git-wip-us.apache.org/repos/asf/commons-lang/diff/78134f6b Branch: refs/heads/release Commit: 78134f6b3f1facd019e604d2cd000c4ce7cf9a0a Parents: 809e2be Author: ohegerAuthored: Mon Oct 10 22:19:59 2016 +0200 Committer: oheger Committed: Mon Oct 10 22:19:59 2016 +0200 -- src/changes/changes.xml | 1 + 1 file changed, 1 insertion(+) -- http://git-wip-us.apache.org/repos/asf/commons-lang/blob/78134f6b/src/changes/changes.xml -- diff --git a/src/changes/changes.xml b/src/changes/changes.xml index 5a6c5b7..3489eb9 100644 --- a/src/changes/changes.xml +++ b/src/changes/changes.xml @@ -46,6 +46,7 @@ The type attribute can be add,update,fix,remove. +Added a tryAcquire() method to TimedSemaphore. Added a new property IS_OS_MAC_OSX_EL_CAPITAN in SystemUtils Add DateUtils.toCalendar(Date, TimeZone) Add WordUtils.wrap overload with customizable breakable character
[06/12] [lang] Updated download page in preparation for 3.5 release.
Updated download page in preparation for 3.5 release. Project: http://git-wip-us.apache.org/repos/asf/commons-lang/repo Commit: http://git-wip-us.apache.org/repos/asf/commons-lang/commit/16b11787 Tree: http://git-wip-us.apache.org/repos/asf/commons-lang/tree/16b11787 Diff: http://git-wip-us.apache.org/repos/asf/commons-lang/diff/16b11787 Branch: refs/heads/release Commit: 16b1178764b0339fa9b63e40f4cc71450ebc603b Parents: 42fda33 Author: Benedikt RitterAuthored: Sun Sep 25 20:34:27 2016 +0200 Committer: Benedikt Ritter Committed: Thu Oct 13 20:50:58 2016 +0200 -- src/site/xdoc/download_lang.xml | 76 ++-- 1 file changed, 46 insertions(+), 30 deletions(-) -- http://git-wip-us.apache.org/repos/asf/commons-lang/blob/16b11787/src/site/xdoc/download_lang.xml -- diff --git a/src/site/xdoc/download_lang.xml b/src/site/xdoc/download_lang.xml index d9d686e..ca32024 100644 --- a/src/site/xdoc/download_lang.xml +++ b/src/site/xdoc/download_lang.xml @@ -31,10 +31,21 @@ limitations under the License. | 2) Set the following properties in the component's pom: | |- commons.componentid (required, alphabetic, lower case) | |- commons.release.version (required) | - |- commons.binary.suffix (optional)| + |- commons.release.name(required) | + |- commons.binary.suffix (optional) | | (defaults to "-bin", set to "" for pre-maven2 releases) | + |- commons.release.desc(optional) | + |- commons.release.subdir (optional) | + | | + |- commons.release.2/3.version (conditional) | + |- commons.release.2/3.name (conditional) | + |- commons.release.2/3.binary.suffix (optional)| + |- commons.release.2/3.desc (optional)| + |- commons.release.2/3.subdir(optional)| | | | 3) Example Properties| + |(commons.release.name inherited by parent:| + | ${project.artifactId}-${commons.release.version} | | | | | |math | @@ -46,17 +57,17 @@ limitations under the License. Download Apache Commons Lang -Commons Documentation Team +Apache Commons Documentation Team We recommend you use a mirror to download our release -builds, but you must verify the integrity of +builds, but you must http://www.apache.org/info/verification.html;>verify the integrity of the downloaded files using signatures downloaded from our main distribution directories. Recent releases (48 hours) may not yet -be available from the mirrors. +be available from all the mirrors. @@ -88,39 +99,44 @@ limitations under the License. -The http://www.apache.org/dist/commons/KEYS;>KEYS -link links to the code signing keys used to sign the product. -The PGP link downloads the OpenPGP compatible signature from our main site. -The MD5 link downloads the checksum from the main site. +It is essential that you +https://www.apache.org/info/verification.html;>verify the integrity +of downloaded files, preferably using the PGP signature (*.asc files); +failing that using the MD5 hash (*.md5 checksum files). + + +The https://www.apache.org/dist/commons/KEYS;>KEYS +file contains the public PGP keys used by Apache Commons developers +to sign releases. - + - commons-lang3-3.4-bin.tar.gz - http://www.apache.org/dist/commons/lang/binaries/commons-lang3-3.4-bin.tar.gz.md5;>md5 - http://www.apache.org/dist/commons/lang/binaries/commons-lang3-3.4-bin.tar.gz.asc;>pgp + commons-lang3-3.5-bin.tar.gz + https://www.apache.org/dist/commons/lang/binaries/commons-lang3-3.5-bin.tar.gz.md5;>md5 + https://www.apache.org/dist/commons/lang/binaries/commons-lang3-3.5-bin.tar.gz.asc;>pgp - commons-lang3-3.4-bin.zip -
[03/12] [lang] [LANG-1275] Added a tryAcquire() method to TimedSemaphore.
[LANG-1275] Added a tryAcquire() method to TimedSemaphore. This method supports non-blocking use cases. Project: http://git-wip-us.apache.org/repos/asf/commons-lang/repo Commit: http://git-wip-us.apache.org/repos/asf/commons-lang/commit/809e2bed Tree: http://git-wip-us.apache.org/repos/asf/commons-lang/tree/809e2bed Diff: http://git-wip-us.apache.org/repos/asf/commons-lang/diff/809e2bed Branch: refs/heads/release Commit: 809e2bed22f02264e0ac58bba070f6d84386cfc5 Parents: 496506d Author: ohegerAuthored: Sat Oct 8 16:47:10 2016 +0200 Committer: oheger Committed: Sat Oct 8 16:47:10 2016 +0200 -- .../lang3/concurrent/TimedSemaphore.java| 77 .../lang3/concurrent/TimedSemaphoreTest.java| 67 + 2 files changed, 129 insertions(+), 15 deletions(-) -- http://git-wip-us.apache.org/repos/asf/commons-lang/blob/809e2bed/src/main/java/org/apache/commons/lang3/concurrent/TimedSemaphore.java -- diff --git a/src/main/java/org/apache/commons/lang3/concurrent/TimedSemaphore.java b/src/main/java/org/apache/commons/lang3/concurrent/TimedSemaphore.java index 9e47b16..a3517bd 100644 --- a/src/main/java/org/apache/commons/lang3/concurrent/TimedSemaphore.java +++ b/src/main/java/org/apache/commons/lang3/concurrent/TimedSemaphore.java @@ -16,13 +16,13 @@ */ package org.apache.commons.lang3.concurrent; +import org.apache.commons.lang3.Validate; + import java.util.concurrent.ScheduledExecutorService; import java.util.concurrent.ScheduledFuture; import java.util.concurrent.ScheduledThreadPoolExecutor; import java.util.concurrent.TimeUnit; -import org.apache.commons.lang3.Validate; - /** * * A specialized semaphore implementation that provides a number of @@ -99,13 +99,22 @@ import org.apache.commons.lang3.Validate; * * * Client code that uses {@code TimedSemaphore} has to call the - * {@link #acquire()} method in aach processing step. {@code TimedSemaphore} + * {@link #acquire()} method in each processing step. {@code TimedSemaphore} * keeps track of the number of invocations of the {@link #acquire()} method and * blocks the calling thread if the counter exceeds the limit specified. When * the timer signals the end of the time period the counter is reset and all * waiting threads are released. Then another cycle can start. * * + * An alternative to {@code acquire()} is the {@link #tryAcquire()} method. This + * method checks whether the semaphore is under the specified limit and + * increases the internal counter if this is the case. The return value is then + * true, and the calling thread can continue with its action. + * If the semaphore is already at its limit, {@code tryAcquire()} immediately + * returns false without blocking; the calling thread must + * then abort its action. This usage scenario prevents blocking of threads. + * + * * It is possible to modify the limit at any time using the * {@link #setLimit(int)} method. This is useful if the load produced by an * operation has to be adapted dynamically. In the example scenario with the @@ -280,7 +289,7 @@ public class TimedSemaphore { } /** - * Tries to acquire a permit from this semaphore. This method will block if + * Acquires a permit from this semaphore. This method will block if * the limit for the current period has already been reached. If * {@link #shutdown()} has already been invoked, calling this method will * cause an exception. The very first call of this method starts the timer @@ -291,26 +300,34 @@ public class TimedSemaphore { * @throws IllegalStateException if this semaphore is already shut down */ public synchronized void acquire() throws InterruptedException { -if (isShutdown()) { -throw new IllegalStateException("TimedSemaphore is shut down!"); -} +prepareAcquire(); -if (task == null) { -task = startTimer(); -} - -boolean canPass = false; +boolean canPass; do { -canPass = getLimit() <= NO_LIMIT || acquireCount < getLimit(); +canPass = acquirePermit(); if (!canPass) { wait(); -} else { -acquireCount++; } } while (!canPass); } /** + * Tries to acquire a permit from this semaphore. If the limit of this semaphore has + * not yet been reached, a permit is acquired, and this method returns + * true. Otherwise, this method returns immediately with the result + * false. + * + * @return true if a permit could be acquired; false + * otherwise + * @throws IllegalStateException if this semaphore is already
[08/12] [lang] Update documentation for release 3.5
Update documentation for release 3.5 Project: http://git-wip-us.apache.org/repos/asf/commons-lang/repo Commit: http://git-wip-us.apache.org/repos/asf/commons-lang/commit/c5eb2bf5 Tree: http://git-wip-us.apache.org/repos/asf/commons-lang/tree/c5eb2bf5 Diff: http://git-wip-us.apache.org/repos/asf/commons-lang/diff/c5eb2bf5 Branch: refs/heads/release Commit: c5eb2bf5d314166a310eaf791787b8fb1d4411e8 Parents: 86f011d Author: Benedikt RitterAuthored: Sun Oct 2 14:40:29 2016 +0200 Committer: Benedikt Ritter Committed: Thu Oct 13 20:52:15 2016 +0200 -- README.md | 2 +- src/changes/changes.xml | 2 +- src/site/xdoc/index.xml | 10 +- src/site/xdoc/release-history.xml | 3 +++ 4 files changed, 10 insertions(+), 7 deletions(-) -- http://git-wip-us.apache.org/repos/asf/commons-lang/blob/c5eb2bf5/README.md -- diff --git a/README.md b/README.md index 216c07b..c3763fd 100644 --- a/README.md +++ b/README.md @@ -69,7 +69,7 @@ Alternatively you can pull it from the central Maven repositories: org.apache.commons commons-lang3 - 3.4 + 3.5 ``` http://git-wip-us.apache.org/repos/asf/commons-lang/blob/c5eb2bf5/src/changes/changes.xml -- diff --git a/src/changes/changes.xml b/src/changes/changes.xml index 3489eb9..7ebb7d5 100644 --- a/src/changes/changes.xml +++ b/src/changes/changes.xml @@ -45,7 +45,7 @@ The type attribute can be add,update,fix,remove. - + Added a tryAcquire() method to TimedSemaphore. Added a new property IS_OS_MAC_OSX_EL_CAPITAN in SystemUtils Add DateUtils.toCalendar(Date, TimeZone) http://git-wip-us.apache.org/repos/asf/commons-lang/blob/c5eb2bf5/src/site/xdoc/index.xml -- diff --git a/src/site/xdoc/index.xml b/src/site/xdoc/index.xml index 197a33d..b1fb5e6 100644 --- a/src/site/xdoc/index.xml +++ b/src/site/xdoc/index.xml @@ -50,7 +50,7 @@ and various project reports are provided. The JavaDoc API documents are available online: -The current stable release 3.4 [Java 6.0+] +The current stable release 3.5 [Java 6.0+] The legacy release 2.6 [Java 1.2+] Older releases - see the Release History page @@ -64,10 +64,10 @@ The code base is monitored by a Sonar instance running on https://analy -The latest stable release of Lang is 3.4. You may: +The latest stable release of Lang is 3.5. You may: -Download http://commons.apache.org/lang/download_lang.cgi;>3.4 -Read the 3.4 release notes +Download http://commons.apache.org/lang/download_lang.cgi;>3.5 +Read the 3.5 release notes Examine the 2.x to 3.0 upgrade notes Compare major versions via the Lang2 to Lang3 Clirr report @@ -77,7 +77,7 @@ Alternatively you can pull it from the central Maven repositories: dependency groupIdorg.apache.commons/groupId artifactIdcommons-lang3/artifactId - version3.4/version + version3.5/version /dependency http://git-wip-us.apache.org/repos/asf/commons-lang/blob/c5eb2bf5/src/site/xdoc/release-history.xml -- diff --git a/src/site/xdoc/release-history.xml b/src/site/xdoc/release-history.xml index 2fe4679..8a805e1 100644 --- a/src/site/xdoc/release-history.xml +++ b/src/site/xdoc/release-history.xml @@ -32,6 +32,9 @@ limitations under the License. VersionRelease dateRequired Java VersionJavadocRelease notes + 3.52016-10-026.0api-3.5release notes for 3.5 + + 3.42014-04-066.0api-3.4release notes for 3.4
[11/12] [lang] Set release date to todays date
Set release date to todays date Project: http://git-wip-us.apache.org/repos/asf/commons-lang/repo Commit: http://git-wip-us.apache.org/repos/asf/commons-lang/commit/6d8b6494 Tree: http://git-wip-us.apache.org/repos/asf/commons-lang/tree/6d8b6494 Diff: http://git-wip-us.apache.org/repos/asf/commons-lang/diff/6d8b6494 Branch: refs/heads/release Commit: 6d8b64945160eb0f9f3b626730348f066585a913 Parents: 26061e3 Author: Benedikt RitterAuthored: Thu Oct 13 20:59:25 2016 +0200 Committer: Benedikt Ritter Committed: Thu Oct 13 21:01:06 2016 +0200 -- src/changes/changes.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- http://git-wip-us.apache.org/repos/asf/commons-lang/blob/6d8b6494/src/changes/changes.xml -- diff --git a/src/changes/changes.xml b/src/changes/changes.xml index 7ebb7d5..35f6626 100644 --- a/src/changes/changes.xml +++ b/src/changes/changes.xml @@ -45,7 +45,7 @@ The type attribute can be add,update,fix,remove. - + Added a tryAcquire() method to TimedSemaphore. Added a new property IS_OS_MAC_OSX_EL_CAPITAN in SystemUtils Add DateUtils.toCalendar(Date, TimeZone)
[01/12] [lang] changes.xml: correct entry type of LANG-1133 [Forced Update!]
Repository: commons-lang Updated Branches: refs/heads/release 4b2ec0798 -> 36f98d87b (forced update) changes.xml: correct entry type of LANG-1133 (side-effect: close #39) Project: http://git-wip-us.apache.org/repos/asf/commons-lang/repo Commit: http://git-wip-us.apache.org/repos/asf/commons-lang/commit/756b9106 Tree: http://git-wip-us.apache.org/repos/asf/commons-lang/tree/756b9106 Diff: http://git-wip-us.apache.org/repos/asf/commons-lang/diff/756b9106 Branch: refs/heads/release Commit: 756b910603ce94ae30e98954676477c14ed1a7d1 Parents: 43e5f99 Author: pascalschumacherAuthored: Sun Oct 2 17:58:54 2016 +0200 Committer: pascalschumacher Committed: Sun Oct 2 17:58:54 2016 +0200 -- src/changes/changes.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- http://git-wip-us.apache.org/repos/asf/commons-lang/blob/756b9106/src/changes/changes.xml -- diff --git a/src/changes/changes.xml b/src/changes/changes.xml index 1d3fb64..5a124b4 100644 --- a/src/changes/changes.xml +++ b/src/changes/changes.xml @@ -126,7 +126,7 @@ The type attribute can be add,update,fix,remove. EnumUtils *BitVector issue with more than 32 values Enum Capitalize javadoc is incorrect Add check for duplicate event listener in EventListenerSupport -FastDateParser_TimeZoneStrategyTest#testTimeZoneStrategyPattern fails on Windows with German Locale +FastDateParser_TimeZoneStrategyTest#testTimeZoneStrategyPattern fails on Windows with German Locale Add method containsAllWords to WordUtils ReflectionToStringBuilder doesn't throw IllegalArgumentException when the constructor's object param is null Inconsistent behavior of swap for malformed inputs
[12/12] [lang] Update version numbers for Commons Lang release 3.5
Update version numbers for Commons Lang release 3.5 Project: http://git-wip-us.apache.org/repos/asf/commons-lang/repo Commit: http://git-wip-us.apache.org/repos/asf/commons-lang/commit/36f98d87 Tree: http://git-wip-us.apache.org/repos/asf/commons-lang/tree/36f98d87 Diff: http://git-wip-us.apache.org/repos/asf/commons-lang/diff/36f98d87 Branch: refs/heads/release Commit: 36f98d87b24c2f542b02abbf6ec1ee742f1b158b Parents: 6d8b649 Author: Benedikt RitterAuthored: Sun Oct 2 16:10:18 2016 +0200 Committer: Benedikt Ritter Committed: Thu Oct 13 21:01:09 2016 +0200 -- pom.xml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) -- http://git-wip-us.apache.org/repos/asf/commons-lang/blob/36f98d87/pom.xml -- diff --git a/pom.xml b/pom.xml index 540e011..d78a87b 100644 --- a/pom.xml +++ b/pom.xml @@ -27,7 +27,7 @@ 4.0.0 org.apache.commons commons-lang3 - 3.5-SNAPSHOT + 3.5 Apache Commons Lang 2001 @@ -48,6 +48,7 @@ scm:git:http://git-wip-us.apache.org/repos/asf/commons-lang.git scm:git:https://git-wip-us.apache.org/repos/asf/commons-lang.git https://git-wip-us.apache.org/repos/asf?p=commons-lang.git +LANG_3_5
[09/12] [lang] Add rat ignore for .htaccess file
Add rat ignore for .htaccess file Project: http://git-wip-us.apache.org/repos/asf/commons-lang/repo Commit: http://git-wip-us.apache.org/repos/asf/commons-lang/commit/58300e64 Tree: http://git-wip-us.apache.org/repos/asf/commons-lang/tree/58300e64 Diff: http://git-wip-us.apache.org/repos/asf/commons-lang/diff/58300e64 Branch: refs/heads/release Commit: 58300e6432bc3c767db6152184f1e43d52f28fb2 Parents: c5eb2bf Author: Benedikt RitterAuthored: Sun Oct 2 16:06:23 2016 +0200 Committer: Benedikt Ritter Committed: Thu Oct 13 20:52:18 2016 +0200 -- pom.xml | 1 + 1 file changed, 1 insertion(+) -- http://git-wip-us.apache.org/repos/asf/commons-lang/blob/58300e64/pom.xml -- diff --git a/pom.xml b/pom.xml index 9e6d308..540e011 100644 --- a/pom.xml +++ b/pom.xml @@ -723,6 +723,7 @@ site-content/** +src/site/resources/.htaccess src/site/resources/download_lang.cgi src/site/resources/release-notes/RELEASE-NOTES-*.txt src/test/resources/lang-708-input.txt
[07/12] [lang] Update release notes for release 3.5
Update release notes for release 3.5 Project: http://git-wip-us.apache.org/repos/asf/commons-lang/repo Commit: http://git-wip-us.apache.org/repos/asf/commons-lang/commit/86f011d1 Tree: http://git-wip-us.apache.org/repos/asf/commons-lang/tree/86f011d1 Diff: http://git-wip-us.apache.org/repos/asf/commons-lang/diff/86f011d1 Branch: refs/heads/release Commit: 86f011d16cd232e6f7fe01b02723f0ea9e2fb2d3 Parents: 16b1178 Author: Benedikt RitterAuthored: Sun Oct 2 14:27:17 2016 +0200 Committer: Benedikt Ritter Committed: Thu Oct 13 20:51:02 2016 +0200 -- RELEASE-NOTES.txt | 312 +++-- 1 file changed, 304 insertions(+), 8 deletions(-) -- http://git-wip-us.apache.org/repos/asf/commons-lang/blob/86f011d1/RELEASE-NOTES.txt -- diff --git a/RELEASE-NOTES.txt b/RELEASE-NOTES.txt index eb149d7..5cca88b 100644 --- a/RELEASE-NOTES.txt +++ b/RELEASE-NOTES.txt @@ -1,28 +1,324 @@ Apache Commons Lang - Version 3.4 + Version 3.5 Release Notes INTRODUCTION: -This document contains the release notes for the 3.4 version of -Apache Commons Lang. Commons Lang is a set of utility functions and reusable -components that should be of use in any Java environment. Commons Lang 3.4 -at least requires Java 6.0. +This document contains the release notes for the 3.5 version of +Apache Commons Lang as well as a history all changes in the Commons Lang 3.x +release line. Commons Lang is a set of utility functions and reusable +components that should be of use in any Java environment. Commons Lang 3.5 at +least requires Java 6.0. For the advice on upgrading from 2.x to 3.x, see the following page: http://commons.apache.org/lang/article3_0.html +HIGHLIGHTS +== + +Some of the highlights in this release include: + +o Added Java 9 detection to org.apache.commons.lang3.SystemUtils. +o Support for shifting and swapping elements in +org.apache.commons.lang3.ArrayUtils. +o New methods for generating random strings from different character classes +including alphabetic, alpha-numeric and ASCII added to +org.apache.commons.lang3.RandomStringUtils. +o Numerous extensions to org.apache.commons.lang3.StringUtils including +null safe compare variants, more remove and replace variants, rotation and +truncation. +o Added org.apache.commons.lang3.ThreadUtils - a utility class to work with +instances of java.lang.Thread and java.lang.ThreadGroup. +o Added annotations @EqualsExclude, @HashCodeExclude and @ToStringEclude to +mark fields which should be ignored by the reflective builders in the +org.apache.commons.lang3.builder package. +o Support for various modify and retrieve value use cases added to the classes +in org.apache.commons.lang3.mutable. + +COMPATIBILITY += + +Apache Commons Lang 3.5 is binary compatible with the 3.4 release. Users +should not experience any problems when upgrading vom 3.4 to 3.5. + +There has been an addition to the org.apache.commons.lang3.time.DatePrinter +interface: + +o Added method 'public boolean parse(java.lang.String, java.text.ParsePosition, +java.util.Calendar)' +o Added method 'public java.lang.Appendable format(long, java.lang.Appendable)' +o Added method 'public java.lang.Appendable format(java.util.Date, +java.lang.Appendable)' +o Added method 'public java.lang.Appendable format(java.util.Calendar, +java.lang.Appendable)' + +For this reason 3.5 is not strictly source compatible to 3.4. Since the +DatePrinter interface is not meant to be implemented by clients, this +change it not considered to cause any problems. + +JAVA 9 SUPPORT +== + +Java 9 introduces a new version-string scheme. Details of this new scheme are +documented in JEP-223 (http://openjdk.java.net/jeps/223). In order to support +JEP-223 two classes had to be changed: + +o org.apache.commons.lang3.JavaVersion +deprecated enum constant JAVA_1_9 +introduced enum constant JAVA_9 + +o org.apache.commons.lang3.SystemUtils +deprecated constant IS_JAVA_1_9 +introduced constant IS_JAVA_9 + +For more information see LANG-1197 +(https://issues.apache.org/jira/browse/LANG-1197). All other APIs are expected +to work with Java 9. + +BUILDING ON JAVA 9 +== + +Java 8 introduced the Unicode Consortium's Common Locale Data Repository as +alternative source for locale data. Java 9 will use the CLDR provider as +default provider for locale data (see http://openjdk.java.net/jeps/252). This +causes an number of locale-sensitive test in Commons Lang to fail. In order +to build Commons Lang 3.5 on Java 9, the locale provider has to be set to
[10/12] [lang] Add LANG-1275 to RELEASE-NOTES.txt
Add LANG-1275 to RELEASE-NOTES.txt Project: http://git-wip-us.apache.org/repos/asf/commons-lang/repo Commit: http://git-wip-us.apache.org/repos/asf/commons-lang/commit/26061e38 Tree: http://git-wip-us.apache.org/repos/asf/commons-lang/tree/26061e38 Diff: http://git-wip-us.apache.org/repos/asf/commons-lang/diff/26061e38 Branch: refs/heads/release Commit: 26061e38f3f21c892f2d312241a0905c9fd99aa3 Parents: 58300e6 Author: Benedikt RitterAuthored: Thu Oct 13 20:54:10 2016 +0200 Committer: Benedikt Ritter Committed: Thu Oct 13 21:01:03 2016 +0200 -- RELEASE-NOTES.txt | 1 + 1 file changed, 1 insertion(+) -- http://git-wip-us.apache.org/repos/asf/commons-lang/blob/26061e38/RELEASE-NOTES.txt -- diff --git a/RELEASE-NOTES.txt b/RELEASE-NOTES.txt index 5cca88b..9eba1b5 100644 --- a/RELEASE-NOTES.txt +++ b/RELEASE-NOTES.txt @@ -97,6 +97,7 @@ https://issues.apache.org/jira/browse/LANG-1265 NEW FEATURES == +o LANG-1275: Added a tryAcquire() method to TimedSemaphore. o LANG-1255: Add DateUtils.toCalendar(Date, TimeZone). Thanks to Kaiyuan Wang. o LANG-1023: Add WordUtils.wrap overload with customizable breakable character. Thanks to Marko Bekhta.
[05/12] [lang] Update pom.xml in preparation for 3.5 release
Update pom.xml in preparation for 3.5 release Project: http://git-wip-us.apache.org/repos/asf/commons-lang/repo Commit: http://git-wip-us.apache.org/repos/asf/commons-lang/commit/42fda334 Tree: http://git-wip-us.apache.org/repos/asf/commons-lang/tree/42fda334 Diff: http://git-wip-us.apache.org/repos/asf/commons-lang/diff/42fda334 Branch: refs/heads/release Commit: 42fda334b251048083e99fd31c9d5b1548f9a1fd Parents: 78134f6 Author: Benedikt RitterAuthored: Sun Sep 25 20:30:21 2016 +0200 Committer: Benedikt Ritter Committed: Thu Oct 13 20:50:54 2016 +0200 -- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- http://git-wip-us.apache.org/repos/asf/commons-lang/blob/42fda334/pom.xml -- diff --git a/pom.xml b/pom.xml index 856cf26..9e6d308 100644 --- a/pom.xml +++ b/pom.xml @@ -559,7 +559,7 @@ --> lang3 -3.4 +3.5 (Java 6.0+) 2.6
[02/12] [lang] changes.xml: add meaningful description for LANG-1200
changes.xml: add meaningful description for LANG-1200 Project: http://git-wip-us.apache.org/repos/asf/commons-lang/repo Commit: http://git-wip-us.apache.org/repos/asf/commons-lang/commit/496506de Tree: http://git-wip-us.apache.org/repos/asf/commons-lang/tree/496506de Diff: http://git-wip-us.apache.org/repos/asf/commons-lang/diff/496506de Branch: refs/heads/release Commit: 496506dedda231ceaecb81d62bb611889ba38be9 Parents: 756b910 Author: pascalschumacherAuthored: Sun Oct 2 18:23:42 2016 +0200 Committer: pascalschumacher Committed: Sun Oct 2 18:23:42 2016 +0200 -- src/changes/changes.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- http://git-wip-us.apache.org/repos/asf/commons-lang/blob/496506de/src/changes/changes.xml -- diff --git a/src/changes/changes.xml b/src/changes/changes.xml index 5a124b4..5a6c5b7 100644 --- a/src/changes/changes.xml +++ b/src/changes/changes.xml @@ -155,7 +155,7 @@ The type attribute can be add,update,fix,remove. Fix parsing edge cases in FastDateParser StringUtils#equals fails with Index OOBE on non-Strings with identical leading prefix There are no tests for CharSequenceUtils.regionMatches -[GitHub PR] modify note at line 1230 #120 +StringUtils.ordinalIndexOf: Add missing right parenthesis in JavaDoc example Incorrect Javadoc StringUtils.containsAny(CharSequence, CharSequence...) Added new property IS_OS_MAC_OSX_EL_CAPITAN in SystemUtils
Nexus: Staging Repository Dropped
Message from: https://repository.apache.orgDescription:rerollDeployer properties:"userAgent" = "Apache-Maven/3.3.9 (Java 1.7.0_75; Windows 8.1 6.3)""userId" = "mbenson""ip" = "216.1.180.2"Details:The orgapachecommons-1207 staging repository has been dropped.Action performed by Matthew Jason Benson (mbenson)
svn commit: r1764764 - in /commons/proper/weaver/trunk: ./ ant/ build-tools/ dist/ maven-plugin/ modules/ modules/normalizer/ modules/privilizer/ modules/privilizer/api/ modules/privilizer/weaver/ par
Author: mbenson Date: Thu Oct 13 19:16:47 2016 New Revision: 1764764 URL: http://svn.apache.org/viewvc?rev=1764764=rev Log: [maven-release-plugin] rollback the release of 1.3_RC1 Modified: commons/proper/weaver/trunk/ant/pom.xml commons/proper/weaver/trunk/build-tools/pom.xml commons/proper/weaver/trunk/dist/pom.xml commons/proper/weaver/trunk/maven-plugin/pom.xml commons/proper/weaver/trunk/modules/normalizer/pom.xml commons/proper/weaver/trunk/modules/pom.xml commons/proper/weaver/trunk/modules/privilizer/api/pom.xml commons/proper/weaver/trunk/modules/privilizer/pom.xml commons/proper/weaver/trunk/modules/privilizer/weaver/pom.xml commons/proper/weaver/trunk/parent/pom.xml commons/proper/weaver/trunk/pom.xml commons/proper/weaver/trunk/processor/pom.xml Modified: commons/proper/weaver/trunk/ant/pom.xml URL: http://svn.apache.org/viewvc/commons/proper/weaver/trunk/ant/pom.xml?rev=1764764=1764763=1764764=diff == --- commons/proper/weaver/trunk/ant/pom.xml (original) +++ commons/proper/weaver/trunk/ant/pom.xml Thu Oct 13 19:16:47 2016 @@ -22,7 +22,7 @@ under the License. org.apache.commons commons-weaver-parent -1.4-SNAPSHOT +1.3-SNAPSHOT ../parent/pom.xml Modified: commons/proper/weaver/trunk/build-tools/pom.xml URL: http://svn.apache.org/viewvc/commons/proper/weaver/trunk/build-tools/pom.xml?rev=1764764=1764763=1764764=diff == --- commons/proper/weaver/trunk/build-tools/pom.xml (original) +++ commons/proper/weaver/trunk/build-tools/pom.xml Thu Oct 13 19:16:47 2016 @@ -21,7 +21,7 @@ under the License. org.apache.commons commons-weaver-base -1.4-SNAPSHOT +1.3-SNAPSHOT 4.0.0 commons-weaver-build-tools Modified: commons/proper/weaver/trunk/dist/pom.xml URL: http://svn.apache.org/viewvc/commons/proper/weaver/trunk/dist/pom.xml?rev=1764764=1764763=1764764=diff == --- commons/proper/weaver/trunk/dist/pom.xml (original) +++ commons/proper/weaver/trunk/dist/pom.xml Thu Oct 13 19:16:47 2016 @@ -22,7 +22,7 @@ under the License. org.apache.commons commons-weaver-parent -1.4-SNAPSHOT +1.3-SNAPSHOT ../parent/pom.xml Modified: commons/proper/weaver/trunk/maven-plugin/pom.xml URL: http://svn.apache.org/viewvc/commons/proper/weaver/trunk/maven-plugin/pom.xml?rev=1764764=1764763=1764764=diff == --- commons/proper/weaver/trunk/maven-plugin/pom.xml (original) +++ commons/proper/weaver/trunk/maven-plugin/pom.xml Thu Oct 13 19:16:47 2016 @@ -22,7 +22,7 @@ under the License. org.apache.commons commons-weaver-parent -1.4-SNAPSHOT +1.3-SNAPSHOT ../parent/pom.xml Modified: commons/proper/weaver/trunk/modules/normalizer/pom.xml URL: http://svn.apache.org/viewvc/commons/proper/weaver/trunk/modules/normalizer/pom.xml?rev=1764764=1764763=1764764=diff == --- commons/proper/weaver/trunk/modules/normalizer/pom.xml (original) +++ commons/proper/weaver/trunk/modules/normalizer/pom.xml Thu Oct 13 19:16:47 2016 @@ -22,7 +22,7 @@ under the License. org.apache.commons commons-weaver-modules-parent -1.4-SNAPSHOT +1.3-SNAPSHOT commons-weaver-normalizer Apache Commons Weaver Normalizer Modified: commons/proper/weaver/trunk/modules/pom.xml URL: http://svn.apache.org/viewvc/commons/proper/weaver/trunk/modules/pom.xml?rev=1764764=1764763=1764764=diff == --- commons/proper/weaver/trunk/modules/pom.xml (original) +++ commons/proper/weaver/trunk/modules/pom.xml Thu Oct 13 19:16:47 2016 @@ -22,7 +22,7 @@ under the License. commons-weaver-parent org.apache.commons -1.4-SNAPSHOT +1.3-SNAPSHOT ../parent/pom.xml Modified: commons/proper/weaver/trunk/modules/privilizer/api/pom.xml URL: http://svn.apache.org/viewvc/commons/proper/weaver/trunk/modules/privilizer/api/pom.xml?rev=1764764=1764763=1764764=diff == --- commons/proper/weaver/trunk/modules/privilizer/api/pom.xml (original) +++ commons/proper/weaver/trunk/modules/privilizer/api/pom.xml Thu Oct 13 19:16:47 2016 @@ -22,7 +22,7 @@ under the License. org.apache.commons commons-weaver-privilizer-parent -1.4-SNAPSHOT +1.3-SNAPSHOT commons-weaver-privilizer-api Modified: commons/proper/weaver/trunk/modules/privilizer/pom.xml URL: http://svn.apache.org/viewvc/commons/proper/weaver/trunk/modules/privilizer/pom.xml?rev=1764764=1764763=1764764=diff
svn commit: r1764763 - /commons/proper/weaver/tags/1.3_RC1/
Author: mbenson Date: Thu Oct 13 19:15:53 2016 New Revision: 1764763 URL: http://svn.apache.org/viewvc?rev=1764763=rev Log: reroll Removed: commons/proper/weaver/tags/1.3_RC1/
Nexus: Staging Repository Dropped
Message from: https://repository.apache.orgDescription:Drop Apache Commons Lang 3.5 RC1 after failed voteDeployer properties:"userAgent" = "Apache-Maven/3.2.5 (Java 1.8.0_102; Mac OS X 10.11.6), Apache-Maven/3.2.5 (Java 1.8.0_102; Mac OS X 10.11.6)""userId" = "britter""ip" = "188.109.13.160"Details:The orgapachecommons-1204 staging repository has been dropped.Action performed by Benedikt Ritter (britter)
svn commit: r16498 - in /dev/commons/weaver: binaries/ source/
Author: mbenson Date: Thu Oct 13 16:54:25 2016 New Revision: 16498 Log: commons-weaver 1.3 RC1 Modified: dev/commons/weaver/binaries/commons-weaver-1.3-bin.tar.gz dev/commons/weaver/binaries/commons-weaver-1.3-bin.tar.gz.asc dev/commons/weaver/binaries/commons-weaver-1.3-bin.tar.gz.md5 dev/commons/weaver/binaries/commons-weaver-1.3-bin.tar.gz.sha1 dev/commons/weaver/binaries/commons-weaver-1.3-bin.zip dev/commons/weaver/binaries/commons-weaver-1.3-bin.zip.asc dev/commons/weaver/binaries/commons-weaver-1.3-bin.zip.md5 dev/commons/weaver/binaries/commons-weaver-1.3-bin.zip.sha1 dev/commons/weaver/source/commons-weaver-1.3-src.tar.gz dev/commons/weaver/source/commons-weaver-1.3-src.tar.gz.asc dev/commons/weaver/source/commons-weaver-1.3-src.tar.gz.md5 dev/commons/weaver/source/commons-weaver-1.3-src.tar.gz.sha1 dev/commons/weaver/source/commons-weaver-1.3-src.zip dev/commons/weaver/source/commons-weaver-1.3-src.zip.asc dev/commons/weaver/source/commons-weaver-1.3-src.zip.md5 dev/commons/weaver/source/commons-weaver-1.3-src.zip.sha1 Modified: dev/commons/weaver/binaries/commons-weaver-1.3-bin.tar.gz == Binary files - no diff available. Modified: dev/commons/weaver/binaries/commons-weaver-1.3-bin.tar.gz.asc == --- dev/commons/weaver/binaries/commons-weaver-1.3-bin.tar.gz.asc (original) +++ dev/commons/weaver/binaries/commons-weaver-1.3-bin.tar.gz.asc Thu Oct 13 16:54:25 2016 @@ -1,7 +1,7 @@ -BEGIN PGP SIGNATURE- Version: GnuPG v1 -iEYEABECAAYFAlf+wLcACgkQIXyc/yFj3c5vBQCfUEQWiIACeBblXHtjrevvzrv/ -VJwAnRr+JgdV9LzHtdhKeDeyO34uXV5l -=DL7A +iEYEABECAAYFAlf/uogACgkQIXyc/yFj3c6ybQCfU6U9RYjiZSEn/T9foSBY4qbo +MqgAn2ggsjqOOw7ML4efbpgukSC94bZD +=xtQE -END PGP SIGNATURE- Modified: dev/commons/weaver/binaries/commons-weaver-1.3-bin.tar.gz.md5 == --- dev/commons/weaver/binaries/commons-weaver-1.3-bin.tar.gz.md5 (original) +++ dev/commons/weaver/binaries/commons-weaver-1.3-bin.tar.gz.md5 Thu Oct 13 16:54:25 2016 @@ -1 +1 @@ -9855d538f8d53c3f98b493605d51032b \ No newline at end of file +41bbff2fae142cbf462eb083d5842631 \ No newline at end of file Modified: dev/commons/weaver/binaries/commons-weaver-1.3-bin.tar.gz.sha1 == --- dev/commons/weaver/binaries/commons-weaver-1.3-bin.tar.gz.sha1 (original) +++ dev/commons/weaver/binaries/commons-weaver-1.3-bin.tar.gz.sha1 Thu Oct 13 16:54:25 2016 @@ -1 +1 @@ -6bd23dab792809797bc7bb08a1c4b0d3024f0926 \ No newline at end of file +50555bfe9d45174b298685994dbe98f8b3eb3e04 \ No newline at end of file Modified: dev/commons/weaver/binaries/commons-weaver-1.3-bin.zip == Binary files - no diff available. Modified: dev/commons/weaver/binaries/commons-weaver-1.3-bin.zip.asc == --- dev/commons/weaver/binaries/commons-weaver-1.3-bin.zip.asc (original) +++ dev/commons/weaver/binaries/commons-weaver-1.3-bin.zip.asc Thu Oct 13 16:54:25 2016 @@ -1,7 +1,7 @@ -BEGIN PGP SIGNATURE- Version: GnuPG v1 -iEYEABECAAYFAlf+wLcACgkQIXyc/yFj3c6NxgCcDtg9o7x8p+uYIVeBZpiizuSs -rksAn2m6+YbbyZqWCWL3oWCUQDSycqo8 -=HOkU +iEYEABECAAYFAlf/uogACgkQIXyc/yFj3c4UdgCePmtCV2x6d+8sZqUzRO24CtZv +iA0An0BeBoXOEPLEi82gAmU+7q8NryD+ +=6Ndc -END PGP SIGNATURE- Modified: dev/commons/weaver/binaries/commons-weaver-1.3-bin.zip.md5 == --- dev/commons/weaver/binaries/commons-weaver-1.3-bin.zip.md5 (original) +++ dev/commons/weaver/binaries/commons-weaver-1.3-bin.zip.md5 Thu Oct 13 16:54:25 2016 @@ -1 +1 @@ -7a7fd1555c3fc63a6818b3a2aa796421 \ No newline at end of file +b6e97a2f4f72e3d8a39afa512755e13d \ No newline at end of file Modified: dev/commons/weaver/binaries/commons-weaver-1.3-bin.zip.sha1 == --- dev/commons/weaver/binaries/commons-weaver-1.3-bin.zip.sha1 (original) +++ dev/commons/weaver/binaries/commons-weaver-1.3-bin.zip.sha1 Thu Oct 13 16:54:25 2016 @@ -1 +1 @@ -e18c76b6a60738443591b4ace4cf9afc877b50fc \ No newline at end of file +946e722798a2dd7049b65ff1d4467ebca91e3553 \ No newline at end of file Modified: dev/commons/weaver/source/commons-weaver-1.3-src.tar.gz == Binary files - no diff available. Modified: dev/commons/weaver/source/commons-weaver-1.3-src.tar.gz.asc == --- dev/commons/weaver/source/commons-weaver-1.3-src.tar.gz.asc (original) +++
commons-compress git commit: COMPRESS-327 write support for in memory SeekableByteChannel
Repository: commons-compress Updated Branches: refs/heads/master e926d99b1 -> 09edbd8f1 COMPRESS-327 write support for in memory SeekableByteChannel Project: http://git-wip-us.apache.org/repos/asf/commons-compress/repo Commit: http://git-wip-us.apache.org/repos/asf/commons-compress/commit/09edbd8f Tree: http://git-wip-us.apache.org/repos/asf/commons-compress/tree/09edbd8f Diff: http://git-wip-us.apache.org/repos/asf/commons-compress/diff/09edbd8f Branch: refs/heads/master Commit: 09edbd8f1945cd6a2ecc267f4e466862227e2355 Parents: e926d99 Author: Stefan BodewigAuthored: Thu Oct 13 19:05:57 2016 +0200 Committer: Stefan Bodewig Committed: Thu Oct 13 19:05:57 2016 +0200 -- .../utils/SeekableInMemoryByteChannel.java | 69 .../commons/compress/archivers/ZipTestCase.java | 45 + .../archivers/sevenz/SevenZOutputFileTest.java | 26 3 files changed, 129 insertions(+), 11 deletions(-) -- http://git-wip-us.apache.org/repos/asf/commons-compress/blob/09edbd8f/src/main/java/org/apache/commons/compress/utils/SeekableInMemoryByteChannel.java -- diff --git a/src/main/java/org/apache/commons/compress/utils/SeekableInMemoryByteChannel.java b/src/main/java/org/apache/commons/compress/utils/SeekableInMemoryByteChannel.java index ab3a606..87c2111 100644 --- a/src/main/java/org/apache/commons/compress/utils/SeekableInMemoryByteChannel.java +++ b/src/main/java/org/apache/commons/compress/utils/SeekableInMemoryByteChannel.java @@ -23,21 +23,27 @@ import java.nio.ByteBuffer; import java.nio.channels.ClosedChannelException; import java.nio.channels.NonWritableChannelException; import java.nio.channels.SeekableByteChannel; +import java.util.Arrays; /** * A {@link SeekableByteChannel} implementation that wraps a byte[]. + * @since 1.13 */ public class SeekableInMemoryByteChannel implements SeekableByteChannel { -private final byte[] data; +private volatile byte[] data; private volatile boolean closed; -private volatile long position, size; +private volatile int position, size; public SeekableInMemoryByteChannel(byte[] data) { this.data = data; size = data.length; } +public SeekableInMemoryByteChannel() { +this(new byte[0]); +} + @Override public long position() { return position; @@ -45,7 +51,10 @@ public class SeekableInMemoryByteChannel implements SeekableByteChannel { @Override public SeekableByteChannel position(long newPosition) { -position = newPosition; +if (newPosition > Integer.MAX_VALUE) { +throw new IllegalArgumentException("Position cannot exceed " + Integer.MAX_VALUE); +} +position = (int) newPosition; return this; } @@ -56,7 +65,12 @@ public class SeekableInMemoryByteChannel implements SeekableByteChannel { @Override public SeekableByteChannel truncate(long newSize) { -size = newSize; +if (size > newSize) { +size = (int) newSize; +} +if (position > size) { +position = size; +} return this; } @@ -65,14 +79,14 @@ public class SeekableInMemoryByteChannel implements SeekableByteChannel { if (!isOpen()) { throw new ClosedChannelException(); } -long pos = position; -long sz = size; +int pos = position; +int sz = size; int wanted = buf.remaining(); -long possible = sz - pos; +int possible = sz - pos; if (wanted > possible) { -wanted = (int) possible; +wanted = possible; } -buf.put(data, (int) pos, wanted); +buf.put(data, pos, wanted); position = pos + wanted; return wanted; } @@ -87,9 +101,42 @@ public class SeekableInMemoryByteChannel implements SeekableByteChannel { return !closed; } -// TODO implement writing @Override public int write(ByteBuffer b) throws IOException { -throw new NonWritableChannelException(); +if (!isOpen()) { +throw new ClosedChannelException(); +} +int pos = position; +int sz = data.length; +int wanted = b.remaining(); +int possibleWithoutResize = sz - pos; +if (wanted > possibleWithoutResize) { +resize(pos + wanted); +} +b.get(data, pos, wanted); +position = pos + wanted; +if (size < position) { +size = position; +} +return wanted; } + +/** + * Obtains the array backing this channel. + */ +public byte[] array() { +return data; +} + +private void resize(int
Nexus: Staging Completed
Message from: https://repository.apache.orgDescription:commons-weaver 1.3 RC1Deployer properties:"userAgent" = "Apache-Maven/3.3.9 (Java 1.7.0_75; Windows 8.1 6.3)""userId" = "mbenson""ip" = "216.1.180.2"Details:The following artifacts have been staged/org/apache/commons/commons-weaver-normalizer/1.3/commons-weaver-normalizer-1.3-test-sources.jar(SHA1: af7a0a4c1a53778ec2e325f4ffe12f88e0526307)/org/apache/commons/commons-weaver-normalizer/1.3/commons-weaver-normalizer-1.3.jar(SHA1: 5379b16175e9e120226bdbc61c75538a231c36ee)/org/apache/commons/commons-weaver-normalizer/1.3/commons-weaver-normalizer-1.3-tests.jar.asc(SHA1: c1c3c8a1e5806c068310f92eeb8dfd19c356ddb4)/org/apache/commons/commons-weaver-normalizer/1.3/commons-weaver-normalizer-1.3-javadoc.jar(SHA1: 2276136476c8551bba94a1b5e6d7886b0ccfd650)/org/apache/commons/commons-weaver-normalizer/1.3/commons-weaver-normalizer-1.3-sources.jar(SHA1: 444b30f2a49332c6f5538dc74a0faff20f112b8e)/org/apache/commons/commons-weaver-normalizer/1.3/commons-weaver-normalizer-1.3-test-sources.jar.asc(SHA1: 0f160ce825e7fbee3e29ebca4159e446d31aaec2)/org/apache/commons/commons-weaver-normalizer/1.3/commons-weaver-normalizer-1.3-sources.jar.asc(SHA1: 9f9d4218647ff8a60f91f1adb468c650510ec371)/org/apache/commons/commons-weaver-normalizer/1.3/commons-weaver-normalizer-1.3-javadoc.jar.asc(SHA1: b2af910fbd127e6bad78337ba13bc30b360b118f)/org/apache/commons/commons-weaver-normalizer/1.3/commons-weaver-normalizer-1.3-tests.jar(SHA1: 973c58337fa1c2b6ec526c05bd660c323ed75611)/org/apache/commons/commons-weaver-normalizer/1.3/commons-weaver-normalizer-1.3.jar.asc(SHA1: 257ddeb4c4baa724221267250b1d5ba3de153307)/org/apache/commons/commons-weaver-normalizer/1.3/commons-weaver-normalizer-1.3.pom.asc(SHA1: 9a1e3a310b2c0f9e2d99a0de34d348880d0ef4dd)/org/apache/commons/commons-weaver-normalizer/1.3/commons-weaver-normalizer-1.3.pom(SHA1: d386bd8305bdd71d6e5973913232832ad6a1e564)/org/apache/commons/commons-weaver-privilizer-api/1.3/commons-weaver-privilizer-api-1.3.jar.asc(SHA1: a00a403213da1cf2335be368787b4641fba191d3)/org/apache/commons/commons-weaver-privilizer-api/1.3/commons-weaver-privilizer-api-1.3-javadoc.jar(SHA1: 43e94deb3fbb07f7fe970b6b38022f661e951743)/org/apache/commons/commons-weaver-privilizer-api/1.3/commons-weaver-privilizer-api-1.3-sources.jar(SHA1: d13a419926c8c3d5fb737b999e81e5db45bf7726)/org/apache/commons/commons-weaver-privilizer-api/1.3/commons-weaver-privilizer-api-1.3.pom(SHA1: 616945202bbcd1a2913c65b898af251cc1bf83ec)/org/apache/commons/commons-weaver-privilizer-api/1.3/commons-weaver-privilizer-api-1.3-sources.jar.asc(SHA1: 0695e2b95ca815a57e0559de2b42a0e96def2ea2)/org/apache/commons/commons-weaver-privilizer-api/1.3/commons-weaver-privilizer-api-1.3.jar(SHA1: 4a8ff7e6de306244247f58cb05eaaf34f20a7a6b)/org/apache/commons/commons-weaver-privilizer-api/1.3/commons-weaver-privilizer-api-1.3-javadoc.jar.asc(SHA1: 39b3b0d8d074ae9ada11309080ecba138bd53526)/org/apache/commons/commons-weaver-privilizer-api/1.3/commons-weaver-privilizer-api-1.3.pom.asc(SHA1: 2673f297aad7f33093db7c0834dd20d9db8c6f9e)/org/apache/commons/commons-weaver-privilizer/1.3/commons-weaver-privilizer-1.3-sources.jar.asc(SHA1: 8c90f9b928a2cd73cae8dcd444881c83297ecadd)/org/apache/commons/commons-weaver-privilizer/1.3/commons-weaver-privilizer-1.3-javadoc.jar(SHA1: 628665753c52fbb9c0f89e4fd6a85d7af68805b6)/org/apache/commons/commons-weaver-privilizer/1.3/commons-weaver-privilizer-1.3.jar(SHA1: bfcf6e5d4cd7c651f242e6170cd57b1349cedfac)/org/apache/commons/commons-weaver-privilizer/1.3/commons-weaver-privilizer-1.3.pom(SHA1: 85b6b1c47eeb778a14d67abfab9066242757031f)/org/apache/commons/commons-weaver-privilizer/1.3/commons-weaver-privilizer-1.3-sources.jar(SHA1: 0232fb0ea5eeab9564ac1ccefb823bd0f2bdace2)/org/apache/commons/commons-weaver-privilizer/1.3/commons-weaver-privilizer-1.3.jar.asc(SHA1: df97828fdcf5e7a55a5651b6693790721a11a49c)/org/apache/commons/commons-weaver-privilizer/1.3/commons-weaver-privilizer-1.3.pom.asc(SHA1: ae378ff2e2c9317228d2a703905e518f89d55da3)/org/apache/commons/commons-weaver-privilizer/1.3/commons-weaver-privilizer-1.3-javadoc.jar.asc(SHA1: bc81871fb92057d239f0c217a0dc31bcf5f2a960)/org/apache/commons/commons-weaver-processor/1.3/commons-weaver-processor-1.3.pom(SHA1: 4b7a359188a93894bc0e393147a18e2fd49d8aba)/org/apache/commons/commons-weaver-processor/1.3/commons-weaver-processor-1.3-javadoc.jar(SHA1: b7f1c47fcaff4ede3f7066af44d2c1c593c35079)/org/apache/commons/commons-weaver-processor/1.3/commons-weaver-processor-1.3-tests.jar.asc(SHA1: eb4e0c152c0a9d12d6d5702954eda3e213691657)/org/apache/commons/commons-weaver-processor/1.3/commons-weaver-processor-1.3.jar(SHA1: 6d85f29703e50210b3fd18ac1d5f0b00b7ace589)/org/apache/commons/commons-weaver-processor/1.3/commons-weaver-processor-1.3-test-sources.jar.asc(SHA1: 875b0967f479e191bd2d2029fb4ba99112db48e5)/org/apache/commons/commons-weaver-processor/1.3/commons-weaver-processor-1.3-test-sources.jar(SHA1:
svn commit: r1764729 - in /commons/proper/weaver/trunk: ./ ant/ build-tools/ dist/ maven-plugin/ modules/ modules/normalizer/ modules/privilizer/ modules/privilizer/api/ modules/privilizer/weaver/ par
Author: mbenson Date: Thu Oct 13 16:40:39 2016 New Revision: 1764729 URL: http://svn.apache.org/viewvc?rev=1764729=rev Log: [maven-release-plugin] prepare for next development iteration Modified: commons/proper/weaver/trunk/ant/pom.xml commons/proper/weaver/trunk/build-tools/pom.xml commons/proper/weaver/trunk/dist/pom.xml commons/proper/weaver/trunk/maven-plugin/pom.xml commons/proper/weaver/trunk/modules/normalizer/pom.xml commons/proper/weaver/trunk/modules/pom.xml commons/proper/weaver/trunk/modules/privilizer/api/pom.xml commons/proper/weaver/trunk/modules/privilizer/pom.xml commons/proper/weaver/trunk/modules/privilizer/weaver/pom.xml commons/proper/weaver/trunk/parent/pom.xml commons/proper/weaver/trunk/pom.xml commons/proper/weaver/trunk/processor/pom.xml Modified: commons/proper/weaver/trunk/ant/pom.xml URL: http://svn.apache.org/viewvc/commons/proper/weaver/trunk/ant/pom.xml?rev=1764729=1764728=1764729=diff == --- commons/proper/weaver/trunk/ant/pom.xml (original) +++ commons/proper/weaver/trunk/ant/pom.xml Thu Oct 13 16:40:39 2016 @@ -22,7 +22,7 @@ under the License. org.apache.commons commons-weaver-parent -1.3 +1.4-SNAPSHOT ../parent/pom.xml @@ -36,9 +36,9 @@ under the License. - scm:svn:http://svn.apache.org/repos/asf/commons/proper/weaver/tags/1.3_RC1/ant - scm:svn:https://svn.apache.org/repos/asf/commons/proper/weaver/tags/1.3_RC1/ant - http://svn.apache.org/viewvc/commons/proper/weaver/tags/1.3_RC1/ant + scm:svn:http://svn.apache.org/repos/asf/commons/proper/weaver/trunk/ant + scm:svn:https://svn.apache.org/repos/asf/commons/proper/weaver/trunk/ant +http://svn.apache.org/viewvc/commons/proper/weaver/trunk/ant Modified: commons/proper/weaver/trunk/build-tools/pom.xml URL: http://svn.apache.org/viewvc/commons/proper/weaver/trunk/build-tools/pom.xml?rev=1764729=1764728=1764729=diff == --- commons/proper/weaver/trunk/build-tools/pom.xml (original) +++ commons/proper/weaver/trunk/build-tools/pom.xml Thu Oct 13 16:40:39 2016 @@ -21,7 +21,7 @@ under the License. org.apache.commons commons-weaver-base -1.3 +1.4-SNAPSHOT 4.0.0 commons-weaver-build-tools @@ -29,9 +29,9 @@ under the License. Provide common setup, from http://maven.apache.org/plugins/maven-checkstyle-plugin/examples/multi-module-config.html - scm:svn:http://svn.apache.org/repos/asf/commons/proper/weaver/tags/1.3_RC1/build-tools - scm:svn:https://svn.apache.org/repos/asf/commons/proper/weaver/tags/1.3_RC1/build-tools - http://svn.apache.org/viewvc/commons/proper/weaver/tags/1.3_RC1/build-tools + scm:svn:http://svn.apache.org/repos/asf/commons/proper/weaver/trunk/build-tools + scm:svn:https://svn.apache.org/repos/asf/commons/proper/weaver/trunk/build-tools + http://svn.apache.org/viewvc/commons/proper/weaver/trunk/build-tools Modified: commons/proper/weaver/trunk/dist/pom.xml URL: http://svn.apache.org/viewvc/commons/proper/weaver/trunk/dist/pom.xml?rev=1764729=1764728=1764729=diff == --- commons/proper/weaver/trunk/dist/pom.xml (original) +++ commons/proper/weaver/trunk/dist/pom.xml Thu Oct 13 16:40:39 2016 @@ -22,7 +22,7 @@ under the License. org.apache.commons commons-weaver-parent -1.3 +1.4-SNAPSHOT ../parent/pom.xml @@ -34,9 +34,9 @@ under the License. - scm:svn:http://svn.apache.org/repos/asf/commons/proper/weaver/tags/1.3_RC1/dist - scm:svn:https://svn.apache.org/repos/asf/commons/proper/weaver/tags/1.3_RC1/dist - http://svn.apache.org/viewvc/commons/proper/weaver/tags/1.3_RC1/dist + scm:svn:http://svn.apache.org/repos/asf/commons/proper/weaver/trunk/dist + scm:svn:https://svn.apache.org/repos/asf/commons/proper/weaver/trunk/dist +http://svn.apache.org/viewvc/commons/proper/weaver/trunk/dist Modified: commons/proper/weaver/trunk/maven-plugin/pom.xml URL: http://svn.apache.org/viewvc/commons/proper/weaver/trunk/maven-plugin/pom.xml?rev=1764729=1764728=1764729=diff == --- commons/proper/weaver/trunk/maven-plugin/pom.xml (original) +++ commons/proper/weaver/trunk/maven-plugin/pom.xml Thu Oct 13 16:40:39 2016 @@ -22,7 +22,7 @@ under the License. org.apache.commons commons-weaver-parent -1.3 +1.4-SNAPSHOT ../parent/pom.xml @@ -40,9 +40,9 @@ under the License. - scm:svn:http://svn.apache.org/repos/asf/commons/proper/weaver/tags/1.3_RC1/maven-plugin - scm:svn:https://svn.apache.org/repos/asf/commons/proper/weaver/tags/1.3_RC1/maven-plugin -
svn commit: r1764728 - /commons/proper/weaver/tags/1.3_RC1/
Author: mbenson Date: Thu Oct 13 16:40:37 2016 New Revision: 1764728 URL: http://svn.apache.org/viewvc?rev=1764728=rev Log: [maven-release-plugin] copy for tag 1.3_RC1 Added: commons/proper/weaver/tags/1.3_RC1/ (props changed) - copied from r1764727, commons/proper/weaver/trunk/ Propchange: commons/proper/weaver/tags/1.3_RC1/ -- --- svn:ignore (added) +++ svn:ignore Thu Oct 13 16:40:37 2016 @@ -0,0 +1,13 @@ +target +.metadata +.classpath +.project +.settings +*.iml +*.ipr +*.iws +.idea +*.log +.git +.gitignore + Propchange: commons/proper/weaver/tags/1.3_RC1/ -- --- svn:mergeinfo (added) +++ svn:mergeinfo Thu Oct 13 16:40:37 2016 @@ -0,0 +1,4 @@ +/commons/sandbox/weaver/branches/fields:1460191-1465080 +/commons/sandbox/weaver/branches/mjb:1437127-1451119 +/commons/sandbox/weaver/branches/normalizer:1511092-1512979 +/commons/sandbox/weaver/branches/priv-asm:1476710-1508502
svn commit: r1764727 - in /commons/proper/weaver/trunk: ./ ant/ build-tools/ dist/ maven-plugin/ modules/ modules/normalizer/ modules/privilizer/ modules/privilizer/api/ modules/privilizer/weaver/ par
Author: mbenson Date: Thu Oct 13 16:40:26 2016 New Revision: 1764727 URL: http://svn.apache.org/viewvc?rev=1764727=rev Log: [maven-release-plugin] prepare release 1.3_RC1 Modified: commons/proper/weaver/trunk/ant/pom.xml commons/proper/weaver/trunk/build-tools/pom.xml commons/proper/weaver/trunk/dist/pom.xml commons/proper/weaver/trunk/maven-plugin/pom.xml commons/proper/weaver/trunk/modules/normalizer/pom.xml commons/proper/weaver/trunk/modules/pom.xml commons/proper/weaver/trunk/modules/privilizer/api/pom.xml commons/proper/weaver/trunk/modules/privilizer/pom.xml commons/proper/weaver/trunk/modules/privilizer/weaver/pom.xml commons/proper/weaver/trunk/parent/pom.xml commons/proper/weaver/trunk/pom.xml commons/proper/weaver/trunk/processor/pom.xml Modified: commons/proper/weaver/trunk/ant/pom.xml URL: http://svn.apache.org/viewvc/commons/proper/weaver/trunk/ant/pom.xml?rev=1764727=1764726=1764727=diff == --- commons/proper/weaver/trunk/ant/pom.xml (original) +++ commons/proper/weaver/trunk/ant/pom.xml Thu Oct 13 16:40:26 2016 @@ -22,7 +22,7 @@ under the License. org.apache.commons commons-weaver-parent -1.3-SNAPSHOT +1.3 ../parent/pom.xml @@ -36,9 +36,9 @@ under the License. - scm:svn:http://svn.apache.org/repos/asf/commons/proper/weaver/trunk/ant - scm:svn:https://svn.apache.org/repos/asf/commons/proper/weaver/trunk/ant -http://svn.apache.org/viewvc/commons/proper/weaver/trunk/ant + scm:svn:http://svn.apache.org/repos/asf/commons/proper/weaver/tags/1.3_RC1/ant + scm:svn:https://svn.apache.org/repos/asf/commons/proper/weaver/tags/1.3_RC1/ant + http://svn.apache.org/viewvc/commons/proper/weaver/tags/1.3_RC1/ant Modified: commons/proper/weaver/trunk/build-tools/pom.xml URL: http://svn.apache.org/viewvc/commons/proper/weaver/trunk/build-tools/pom.xml?rev=1764727=1764726=1764727=diff == --- commons/proper/weaver/trunk/build-tools/pom.xml (original) +++ commons/proper/weaver/trunk/build-tools/pom.xml Thu Oct 13 16:40:26 2016 @@ -21,7 +21,7 @@ under the License. org.apache.commons commons-weaver-base -1.3-SNAPSHOT +1.3 4.0.0 commons-weaver-build-tools @@ -29,9 +29,9 @@ under the License. Provide common setup, from http://maven.apache.org/plugins/maven-checkstyle-plugin/examples/multi-module-config.html - scm:svn:http://svn.apache.org/repos/asf/commons/proper/weaver/trunk/build-tools - scm:svn:https://svn.apache.org/repos/asf/commons/proper/weaver/trunk/build-tools - http://svn.apache.org/viewvc/commons/proper/weaver/trunk/build-tools + scm:svn:http://svn.apache.org/repos/asf/commons/proper/weaver/tags/1.3_RC1/build-tools + scm:svn:https://svn.apache.org/repos/asf/commons/proper/weaver/tags/1.3_RC1/build-tools + http://svn.apache.org/viewvc/commons/proper/weaver/tags/1.3_RC1/build-tools Modified: commons/proper/weaver/trunk/dist/pom.xml URL: http://svn.apache.org/viewvc/commons/proper/weaver/trunk/dist/pom.xml?rev=1764727=1764726=1764727=diff == --- commons/proper/weaver/trunk/dist/pom.xml (original) +++ commons/proper/weaver/trunk/dist/pom.xml Thu Oct 13 16:40:26 2016 @@ -22,7 +22,7 @@ under the License. org.apache.commons commons-weaver-parent -1.3-SNAPSHOT +1.3 ../parent/pom.xml @@ -34,9 +34,9 @@ under the License. - scm:svn:http://svn.apache.org/repos/asf/commons/proper/weaver/trunk/dist - scm:svn:https://svn.apache.org/repos/asf/commons/proper/weaver/trunk/dist -http://svn.apache.org/viewvc/commons/proper/weaver/trunk/dist + scm:svn:http://svn.apache.org/repos/asf/commons/proper/weaver/tags/1.3_RC1/dist + scm:svn:https://svn.apache.org/repos/asf/commons/proper/weaver/tags/1.3_RC1/dist + http://svn.apache.org/viewvc/commons/proper/weaver/tags/1.3_RC1/dist Modified: commons/proper/weaver/trunk/maven-plugin/pom.xml URL: http://svn.apache.org/viewvc/commons/proper/weaver/trunk/maven-plugin/pom.xml?rev=1764727=1764726=1764727=diff == --- commons/proper/weaver/trunk/maven-plugin/pom.xml (original) +++ commons/proper/weaver/trunk/maven-plugin/pom.xml Thu Oct 13 16:40:26 2016 @@ -22,7 +22,7 @@ under the License. org.apache.commons commons-weaver-parent -1.3-SNAPSHOT +1.3 ../parent/pom.xml @@ -40,9 +40,9 @@ under the License. - scm:svn:http://svn.apache.org/repos/asf/commons/proper/weaver/trunk/maven-plugin - scm:svn:https://svn.apache.org/repos/asf/commons/proper/weaver/trunk/maven-plugin - http://svn.apache.org/viewvc/commons/proper/weaver/trunk/maven-plugin +
svn commit: r1764726 - /commons/proper/commons-parent/trunk/pom.xml
Author: mbenson Date: Thu Oct 13 16:39:09 2016 New Revision: 1764726 URL: http://svn.apache.org/viewvc?rev=1764726=rev Log: japicmp: report only filename Modified: commons/proper/commons-parent/trunk/pom.xml Modified: commons/proper/commons-parent/trunk/pom.xml URL: http://svn.apache.org/viewvc/commons/proper/commons-parent/trunk/pom.xml?rev=1764726=1764725=1764726=diff == --- commons/proper/commons-parent/trunk/pom.xml (original) +++ commons/proper/commons-parent/trunk/pom.xml Thu Oct 13 16:39:09 2016 @@ -378,6 +378,7 @@ Version 39: true + true
svn commit: r1764725 - /commons/proper/weaver/trunk/parent/pom.xml
Author: mbenson Date: Thu Oct 13 16:37:56 2016 New Revision: 1764725 URL: http://svn.apache.org/viewvc?rev=1764725=rev Log: japicmp: report only filename Modified: commons/proper/weaver/trunk/parent/pom.xml Modified: commons/proper/weaver/trunk/parent/pom.xml URL: http://svn.apache.org/viewvc/commons/proper/weaver/trunk/parent/pom.xml?rev=1764725=1764724=1764725=diff == --- commons/proper/weaver/trunk/parent/pom.xml (original) +++ commons/proper/weaver/trunk/parent/pom.xml Thu Oct 13 16:37:56 2016 @@ -244,6 +244,7 @@ under the License. + true
svn commit: r1764723 - /commons/proper/weaver/tags/1.3_RC1/
Author: mbenson Date: Thu Oct 13 16:16:49 2016 New Revision: 1764723 URL: http://svn.apache.org/viewvc?rev=1764723=rev Log: abandon Removed: commons/proper/weaver/tags/1.3_RC1/
Nexus: Staging Repository Dropped
Message from: https://repository.apache.orgDescription:rerollDeployer properties:"userAgent" = "Apache-Maven/3.3.9 (Java 1.8.0_60; Windows 8.1 6.3)""userId" = "mbenson""ip" = "216.1.180.2"Details:The orgapachecommons-1206 staging repository has been dropped.Action performed by Matthew Jason Benson (mbenson)
svn commit: r1764722 - in /commons/proper/weaver/trunk: ./ ant/ build-tools/ dist/ maven-plugin/ modules/ modules/normalizer/ modules/privilizer/ modules/privilizer/api/ modules/privilizer/weaver/ par
Author: mbenson Date: Thu Oct 13 16:14:51 2016 New Revision: 1764722 URL: http://svn.apache.org/viewvc?rev=1764722=rev Log: [maven-release-plugin] rollback the release of 1.3_RC1 Modified: commons/proper/weaver/trunk/ant/pom.xml commons/proper/weaver/trunk/build-tools/pom.xml commons/proper/weaver/trunk/dist/pom.xml commons/proper/weaver/trunk/maven-plugin/pom.xml commons/proper/weaver/trunk/modules/normalizer/pom.xml commons/proper/weaver/trunk/modules/pom.xml commons/proper/weaver/trunk/modules/privilizer/api/pom.xml commons/proper/weaver/trunk/modules/privilizer/pom.xml commons/proper/weaver/trunk/modules/privilizer/weaver/pom.xml commons/proper/weaver/trunk/parent/pom.xml commons/proper/weaver/trunk/pom.xml commons/proper/weaver/trunk/processor/pom.xml Modified: commons/proper/weaver/trunk/ant/pom.xml URL: http://svn.apache.org/viewvc/commons/proper/weaver/trunk/ant/pom.xml?rev=1764722=1764721=1764722=diff == --- commons/proper/weaver/trunk/ant/pom.xml (original) +++ commons/proper/weaver/trunk/ant/pom.xml Thu Oct 13 16:14:51 2016 @@ -22,7 +22,7 @@ under the License. org.apache.commons commons-weaver-parent -1.4-SNAPSHOT +1.3-SNAPSHOT ../parent/pom.xml Modified: commons/proper/weaver/trunk/build-tools/pom.xml URL: http://svn.apache.org/viewvc/commons/proper/weaver/trunk/build-tools/pom.xml?rev=1764722=1764721=1764722=diff == --- commons/proper/weaver/trunk/build-tools/pom.xml (original) +++ commons/proper/weaver/trunk/build-tools/pom.xml Thu Oct 13 16:14:51 2016 @@ -21,7 +21,7 @@ under the License. org.apache.commons commons-weaver-base -1.4-SNAPSHOT +1.3-SNAPSHOT 4.0.0 commons-weaver-build-tools Modified: commons/proper/weaver/trunk/dist/pom.xml URL: http://svn.apache.org/viewvc/commons/proper/weaver/trunk/dist/pom.xml?rev=1764722=1764721=1764722=diff == --- commons/proper/weaver/trunk/dist/pom.xml (original) +++ commons/proper/weaver/trunk/dist/pom.xml Thu Oct 13 16:14:51 2016 @@ -22,7 +22,7 @@ under the License. org.apache.commons commons-weaver-parent -1.4-SNAPSHOT +1.3-SNAPSHOT ../parent/pom.xml Modified: commons/proper/weaver/trunk/maven-plugin/pom.xml URL: http://svn.apache.org/viewvc/commons/proper/weaver/trunk/maven-plugin/pom.xml?rev=1764722=1764721=1764722=diff == --- commons/proper/weaver/trunk/maven-plugin/pom.xml (original) +++ commons/proper/weaver/trunk/maven-plugin/pom.xml Thu Oct 13 16:14:51 2016 @@ -22,7 +22,7 @@ under the License. org.apache.commons commons-weaver-parent -1.4-SNAPSHOT +1.3-SNAPSHOT ../parent/pom.xml Modified: commons/proper/weaver/trunk/modules/normalizer/pom.xml URL: http://svn.apache.org/viewvc/commons/proper/weaver/trunk/modules/normalizer/pom.xml?rev=1764722=1764721=1764722=diff == --- commons/proper/weaver/trunk/modules/normalizer/pom.xml (original) +++ commons/proper/weaver/trunk/modules/normalizer/pom.xml Thu Oct 13 16:14:51 2016 @@ -22,7 +22,7 @@ under the License. org.apache.commons commons-weaver-modules-parent -1.4-SNAPSHOT +1.3-SNAPSHOT commons-weaver-normalizer Apache Commons Weaver Normalizer Modified: commons/proper/weaver/trunk/modules/pom.xml URL: http://svn.apache.org/viewvc/commons/proper/weaver/trunk/modules/pom.xml?rev=1764722=1764721=1764722=diff == --- commons/proper/weaver/trunk/modules/pom.xml (original) +++ commons/proper/weaver/trunk/modules/pom.xml Thu Oct 13 16:14:51 2016 @@ -22,7 +22,7 @@ under the License. commons-weaver-parent org.apache.commons -1.4-SNAPSHOT +1.3-SNAPSHOT ../parent/pom.xml Modified: commons/proper/weaver/trunk/modules/privilizer/api/pom.xml URL: http://svn.apache.org/viewvc/commons/proper/weaver/trunk/modules/privilizer/api/pom.xml?rev=1764722=1764721=1764722=diff == --- commons/proper/weaver/trunk/modules/privilizer/api/pom.xml (original) +++ commons/proper/weaver/trunk/modules/privilizer/api/pom.xml Thu Oct 13 16:14:51 2016 @@ -22,7 +22,7 @@ under the License. org.apache.commons commons-weaver-privilizer-parent -1.4-SNAPSHOT +1.3-SNAPSHOT commons-weaver-privilizer-api Modified: commons/proper/weaver/trunk/modules/privilizer/pom.xml URL: http://svn.apache.org/viewvc/commons/proper/weaver/trunk/modules/privilizer/pom.xml?rev=1764722=1764721=1764722=diff
svn commit: r1764695 - in /commons/proper/jcs/trunk/commons-jcs-core/src: main/java/org/apache/commons/jcs/auxiliary/disk/indexed/ main/java/org/apache/commons/jcs/utils/struct/ test/java/org/apache/c
Author: tv Date: Thu Oct 13 14:25:04 2016 New Revision: 1764695 URL: http://svn.apache.org/viewvc?rev=1764695=rev Log: Fix SortedPreferentialArray to actually do what was is supposed to do Modified: commons/proper/jcs/trunk/commons-jcs-core/src/main/java/org/apache/commons/jcs/auxiliary/disk/indexed/IndexedDiskElementDescriptor.java commons/proper/jcs/trunk/commons-jcs-core/src/main/java/org/apache/commons/jcs/utils/struct/SortedPreferentialArray.java commons/proper/jcs/trunk/commons-jcs-core/src/test/java/org/apache/commons/jcs/utils/struct/SortedPrefArrayUnitTest.java Modified: commons/proper/jcs/trunk/commons-jcs-core/src/main/java/org/apache/commons/jcs/auxiliary/disk/indexed/IndexedDiskElementDescriptor.java URL: http://svn.apache.org/viewvc/commons/proper/jcs/trunk/commons-jcs-core/src/main/java/org/apache/commons/jcs/auxiliary/disk/indexed/IndexedDiskElementDescriptor.java?rev=1764695=1764694=1764695=diff == --- commons/proper/jcs/trunk/commons-jcs-core/src/main/java/org/apache/commons/jcs/auxiliary/disk/indexed/IndexedDiskElementDescriptor.java (original) +++ commons/proper/jcs/trunk/commons-jcs-core/src/main/java/org/apache/commons/jcs/auxiliary/disk/indexed/IndexedDiskElementDescriptor.java Thu Oct 13 14:25:04 2016 @@ -78,16 +78,21 @@ public class IndexedDiskElementDescripto @Override public boolean equals(Object o) { -if (o instanceof IndexedDiskElementDescriptor) + if (o == null) + { + return false; + } + else if (o instanceof IndexedDiskElementDescriptor) { -return compareTo((IndexedDiskElementDescriptor) o) == 0; + IndexedDiskElementDescriptor ided = (IndexedDiskElementDescriptor)o; +return pos == ided.pos && len == ided.len; } return false; } /** - * Compares based on length. + * Compares based on length, then on pos descending. * * @param o Object * @return int @@ -100,19 +105,28 @@ public class IndexedDiskElementDescripto return 1; } -int oLen = o.len; -if ( oLen == len ) +if ( o.len == len ) { -return 0; + if ( o.pos == pos ) + { + return 0; + } + else if ( o.pos < pos ) + { + return -1; + } + else + { + return 1; + } } -else if ( oLen > len ) +else if ( o.len > len ) { return -1; } -else if ( oLen < len ) +else { return 1; } -return 0; } } Modified: commons/proper/jcs/trunk/commons-jcs-core/src/main/java/org/apache/commons/jcs/utils/struct/SortedPreferentialArray.java URL: http://svn.apache.org/viewvc/commons/proper/jcs/trunk/commons-jcs-core/src/main/java/org/apache/commons/jcs/utils/struct/SortedPreferentialArray.java?rev=1764695=1764694=1764695=diff == --- commons/proper/jcs/trunk/commons-jcs-core/src/main/java/org/apache/commons/jcs/utils/struct/SortedPreferentialArray.java (original) +++ commons/proper/jcs/trunk/commons-jcs-core/src/main/java/org/apache/commons/jcs/utils/struct/SortedPreferentialArray.java Thu Oct 13 14:25:04 2016 @@ -1,5 +1,7 @@ package org.apache.commons.jcs.utils.struct; +import java.util.concurrent.ConcurrentSkipListSet; + /* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file @@ -25,8 +27,6 @@ import org.apache.commons.logging.LogFac /** * This maintains a sorted array with a preferential replacement policy when full. * - * Insertion time is n, search is log(n) - * * Clients must manage thread safety on previous version. I synchronized the public methods to add * easy thread safety. I synchronized all public methods that make modifications. */ @@ -41,14 +41,11 @@ public class SortedPreferentialArray array; /** * Construct the array with the maximum size. @@ -58,9 +55,7 @@ public class SortedPreferentialArray[maxSize]; -array = ts; +array = new ConcurrentSkipListSet(); } /** @@ -79,38 +74,37 @@ public class SortedPreferentialArray 0 ) +if ( obj.compareTo( array.first() ) > 0 ) { insert( obj ); -return; } // obj is less than or equal to the smallest. -if ( log.isDebugEnabled() ) +else if ( log.isDebugEnabled() ) { log.debug( "New object is smaller than or equal to the smallest" ); } -return; } -// Not preferLarge -T lar =
svn commit: r1764686 - in /commons/proper/jcs/trunk/commons-jcs-core/src: main/java/org/apache/commons/jcs/auxiliary/disk/block/ main/java/org/apache/commons/jcs/utils/struct/ test/java/org/apache/com
Author: tv Date: Thu Oct 13 14:02:17 2016 New Revision: 1764686 URL: http://svn.apache.org/viewvc?rev=1764686=rev Log: Replace SingleLinkedList with JDK ConcurrentLinkedQueue Removed: commons/proper/jcs/trunk/commons-jcs-core/src/main/java/org/apache/commons/jcs/utils/struct/SingleLinkedList.java commons/proper/jcs/trunk/commons-jcs-core/src/test/java/org/apache/commons/jcs/utils/struct/SingleLinkedListUnitTest.java Modified: commons/proper/jcs/trunk/commons-jcs-core/src/main/java/org/apache/commons/jcs/auxiliary/disk/block/BlockDisk.java Modified: commons/proper/jcs/trunk/commons-jcs-core/src/main/java/org/apache/commons/jcs/auxiliary/disk/block/BlockDisk.java URL: http://svn.apache.org/viewvc/commons/proper/jcs/trunk/commons-jcs-core/src/main/java/org/apache/commons/jcs/auxiliary/disk/block/BlockDisk.java?rev=1764686=1764685=1764686=diff == --- commons/proper/jcs/trunk/commons-jcs-core/src/main/java/org/apache/commons/jcs/auxiliary/disk/block/BlockDisk.java (original) +++ commons/proper/jcs/trunk/commons-jcs-core/src/main/java/org/apache/commons/jcs/auxiliary/disk/block/BlockDisk.java Thu Oct 13 14:02:17 2016 @@ -26,12 +26,12 @@ import java.io.RandomAccessFile; import java.io.Serializable; import java.nio.ByteBuffer; import java.nio.channels.FileChannel; +import java.util.concurrent.ConcurrentLinkedQueue; import java.util.concurrent.atomic.AtomicInteger; import java.util.concurrent.atomic.AtomicLong; import org.apache.commons.jcs.engine.behavior.IElementSerializer; import org.apache.commons.jcs.utils.serialization.StandardSerializer; -import org.apache.commons.jcs.utils.struct.SingleLinkedList; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; @@ -63,7 +63,7 @@ public class BlockDisk private final AtomicInteger numberOfBlocks = new AtomicInteger(0); /** Empty blocks that can be reused. */ -private final SingleLinkedList emptyBlocks = new SingleLinkedList(); +private final ConcurrentLinkedQueue emptyBlocks = new ConcurrentLinkedQueue(); /** The serializer. */ private final IElementSerializer elementSerializer; @@ -145,7 +145,7 @@ public class BlockDisk // get them from the empty list or take the next one for (int i = 0; i < numBlocksNeeded; i++) { -Integer emptyBlock = emptyBlocks.takeFirst(); +Integer emptyBlock = emptyBlocks.poll(); if (emptyBlock == null) { emptyBlock = Integer.valueOf(numberOfBlocks.getAndIncrement()); @@ -366,7 +366,7 @@ public class BlockDisk { for ( short i = 0; i < blocksToFree.length; i++ ) { -emptyBlocks.addLast( Integer.valueOf( blocksToFree[i] ) ); +emptyBlocks.offer( Integer.valueOf( blocksToFree[i] ) ); } } }
commons-compress git commit: COMPRESS-327 read-only in memory SeekableByteChannel
Repository: commons-compress Updated Branches: refs/heads/master 6a5014ed5 -> e926d99b1 COMPRESS-327 read-only in memory SeekableByteChannel Project: http://git-wip-us.apache.org/repos/asf/commons-compress/repo Commit: http://git-wip-us.apache.org/repos/asf/commons-compress/commit/e926d99b Tree: http://git-wip-us.apache.org/repos/asf/commons-compress/tree/e926d99b Diff: http://git-wip-us.apache.org/repos/asf/commons-compress/diff/e926d99b Branch: refs/heads/master Commit: e926d99b192110cb53332ab932bcb43e0d947d19 Parents: 6a5014e Author: Stefan BodewigAuthored: Thu Oct 13 13:17:08 2016 +0200 Committer: Stefan Bodewig Committed: Thu Oct 13 13:17:08 2016 +0200 -- .../utils/SeekableInMemoryByteChannel.java | 95 .../archivers/sevenz/SevenZFileTest.java| 21 + .../compress/archivers/zip/ZipFileTest.java | 36 3 files changed, 152 insertions(+) -- http://git-wip-us.apache.org/repos/asf/commons-compress/blob/e926d99b/src/main/java/org/apache/commons/compress/utils/SeekableInMemoryByteChannel.java -- diff --git a/src/main/java/org/apache/commons/compress/utils/SeekableInMemoryByteChannel.java b/src/main/java/org/apache/commons/compress/utils/SeekableInMemoryByteChannel.java new file mode 100644 index 000..ab3a606 --- /dev/null +++ b/src/main/java/org/apache/commons/compress/utils/SeekableInMemoryByteChannel.java @@ -0,0 +1,95 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ + +package org.apache.commons.compress.utils; + +import java.io.IOException; +import java.nio.ByteBuffer; +import java.nio.channels.ClosedChannelException; +import java.nio.channels.NonWritableChannelException; +import java.nio.channels.SeekableByteChannel; + +/** + * A {@link SeekableByteChannel} implementation that wraps a byte[]. + */ +public class SeekableInMemoryByteChannel implements SeekableByteChannel { + +private final byte[] data; +private volatile boolean closed; +private volatile long position, size; + +public SeekableInMemoryByteChannel(byte[] data) { +this.data = data; +size = data.length; +} + +@Override +public long position() { +return position; +} + +@Override +public SeekableByteChannel position(long newPosition) { +position = newPosition; +return this; +} + +@Override +public long size() { +return size; +} + +@Override +public SeekableByteChannel truncate(long newSize) { +size = newSize; +return this; +} + +@Override +public int read(ByteBuffer buf) throws IOException { +if (!isOpen()) { +throw new ClosedChannelException(); +} +long pos = position; +long sz = size; +int wanted = buf.remaining(); +long possible = sz - pos; +if (wanted > possible) { +wanted = (int) possible; +} +buf.put(data, (int) pos, wanted); +position = pos + wanted; +return wanted; +} + +@Override +public void close() { +closed = true; +} + +@Override +public boolean isOpen() { +return !closed; +} + +// TODO implement writing +@Override +public int write(ByteBuffer b) throws IOException { +throw new NonWritableChannelException(); +} +} http://git-wip-us.apache.org/repos/asf/commons-compress/blob/e926d99b/src/test/java/org/apache/commons/compress/archivers/sevenz/SevenZFileTest.java -- diff --git a/src/test/java/org/apache/commons/compress/archivers/sevenz/SevenZFileTest.java b/src/test/java/org/apache/commons/compress/archivers/sevenz/SevenZFileTest.java index 76687d8..d066bea 100644 --- a/src/test/java/org/apache/commons/compress/archivers/sevenz/SevenZFileTest.java +++ b/src/test/java/org/apache/commons/compress/archivers/sevenz/SevenZFileTest.java @@ -21,6 +21,7 @@ import static
commons-compress git commit: COMPRESS-327 optimize a little
Repository: commons-compress Updated Branches: refs/heads/master 57511f57d -> 6a5014ed5 COMPRESS-327 optimize a little also, take advantage of ByteBuffers byte order handling Project: http://git-wip-us.apache.org/repos/asf/commons-compress/repo Commit: http://git-wip-us.apache.org/repos/asf/commons-compress/commit/6a5014ed Tree: http://git-wip-us.apache.org/repos/asf/commons-compress/tree/6a5014ed Diff: http://git-wip-us.apache.org/repos/asf/commons-compress/diff/6a5014ed Branch: refs/heads/master Commit: 6a5014ed5847a99b9574a2dd1332c1f91d36defb Parents: 57511f5 Author: Stefan BodewigAuthored: Thu Oct 13 11:28:54 2016 +0200 Committer: Stefan Bodewig Committed: Thu Oct 13 12:12:43 2016 +0200 -- .../compress/archivers/sevenz/SevenZFile.java | 175 +-- .../archivers/sevenz/SevenZOutputFile.java | 52 +++--- .../commons/compress/archivers/zip/ZipFile.java | 9 +- 3 files changed, 115 insertions(+), 121 deletions(-) -- http://git-wip-us.apache.org/repos/asf/commons-compress/blob/6a5014ed/src/main/java/org/apache/commons/compress/archivers/sevenz/SevenZFile.java -- diff --git a/src/main/java/org/apache/commons/compress/archivers/sevenz/SevenZFile.java b/src/main/java/org/apache/commons/compress/archivers/sevenz/SevenZFile.java index db40d0e..21e5676 100644 --- a/src/main/java/org/apache/commons/compress/archivers/sevenz/SevenZFile.java +++ b/src/main/java/org/apache/commons/compress/archivers/sevenz/SevenZFile.java @@ -20,12 +20,12 @@ package org.apache.commons.compress.archivers.sevenz; import java.io.BufferedInputStream; import java.io.ByteArrayInputStream; import java.io.Closeable; -import java.io.DataInput; import java.io.DataInputStream; import java.io.File; import java.io.IOException; import java.io.InputStream; import java.nio.ByteBuffer; +import java.nio.ByteOrder; import java.nio.channels.SeekableByteChannel; import java.nio.file.Files; import java.nio.file.StandardOpenOption; @@ -202,7 +202,8 @@ public class SevenZFile implements Closeable { } private Archive readHeaders(final byte[] password) throws IOException { -ByteBuffer buf = ByteBuffer.allocate(12 /* signature + 2 bytes version + 4 bytes CRC */); +ByteBuffer buf = ByteBuffer.allocate(12 /* signature + 2 bytes version + 4 bytes CRC */) +.order(ByteOrder.LITTLE_ENDIAN); readFully(buf); final byte[] signature = new byte[6]; buf.get(signature); @@ -217,7 +218,7 @@ public class SevenZFile implements Closeable { archiveVersionMajor, archiveVersionMinor)); } -final long startHeaderCrc = 0xL & Integer.reverseBytes(buf.getInt()); +final long startHeaderCrc = 0xL & buf.getInt(); final StartHeader startHeader = readStartHeader(startHeaderCrc); final int nextHeaderSizeInt = (int) startHeader.nextHeaderSize; @@ -225,32 +226,24 @@ public class SevenZFile implements Closeable { throw new IOException("cannot handle nextHeaderSize " + startHeader.nextHeaderSize); } channel.position(SIGNATURE_HEADER_SIZE + startHeader.nextHeaderOffset); -buf = ByteBuffer.allocate(nextHeaderSizeInt); -// TODO rewrite to use ByteBuffer directly rather than DataInputStream -final byte[] nextHeader = new byte[nextHeaderSizeInt]; +buf = ByteBuffer.allocate(nextHeaderSizeInt).order(ByteOrder.LITTLE_ENDIAN); readFully(buf); -buf.get(nextHeader); final CRC32 crc = new CRC32(); -crc.update(nextHeader); +crc.update(buf.array()); if (startHeader.nextHeaderCrc != crc.getValue()) { throw new IOException("NextHeader CRC mismatch"); } -final ByteArrayInputStream byteStream = new ByteArrayInputStream(nextHeader); -DataInputStream nextHeaderInputStream = new DataInputStream( -byteStream); Archive archive = new Archive(); -int nid = nextHeaderInputStream.readUnsignedByte(); +int nid = getUnsignedByte(buf); if (nid == NID.kEncodedHeader) { -nextHeaderInputStream = -readEncodedHeader(nextHeaderInputStream, archive, password); +buf = readEncodedHeader(buf, archive, password); // Archive gets rebuilt with the new header archive = new Archive(); -nid = nextHeaderInputStream.readUnsignedByte(); +nid = getUnsignedByte(buf); } if (nid == NID.kHeader) { -readHeader(nextHeaderInputStream, archive); -nextHeaderInputStream.close(); +readHeader(buf, archive); } else { throw new IOException("Broken or