svn commit: r1826032 - /commons/proper/commons-parent/trunk/pom.xml
Author: chtompki Date: Tue Mar 6 19:53:30 2018 New Revision: 1826032 URL: http://svn.apache.org/viewvc?rev=1826032=rev Log: Changes to commons-release-plugin declaration in build>pluginManagement 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=1826032=1826031=1826032=diff == --- commons/proper/commons-parent/trunk/pom.xml (original) +++ commons/proper/commons-parent/trunk/pom.xml Tue Mar 6 19:53:30 2018 @@ -560,17 +560,13 @@ org.apache.commons commons-release-plugin - 1.0 - - ${commons-release-plugin.distSvnStagingUrl} -${dryRun} - + ${commons.release-plugin.version} - detatch-distributions + detach-distributions verify -detatch-distributions +detach-distributions
svn commit: r25504 - /dev/commons/commons-parent/
Author: chtompki Date: Tue Mar 6 19:59:11 2018 New Revision: 25504 Log: Unstaging commons-parent-44-RC1 Removed: dev/commons/commons-parent/RELEASE-NOTES.txt dev/commons/commons-parent/commons-parent-44-src.tar.gz dev/commons/commons-parent/commons-parent-44-src.tar.gz.asc dev/commons/commons-parent/commons-parent-44-src.tar.gz.md5 dev/commons/commons-parent/commons-parent-44-src.tar.gz.sha1 dev/commons/commons-parent/commons-parent-44-src.zip dev/commons/commons-parent/commons-parent-44-src.zip.asc dev/commons/commons-parent/commons-parent-44-src.zip.md5 dev/commons/commons-parent/commons-parent-44-src.zip.sha1 dev/commons/commons-parent/site.zip
svn commit: r1826033 - /commons/proper/commons-parent/tags/commons-parent-44-RC2/
Author: chtompki Date: Tue Mar 6 19:53:51 2018 New Revision: 1826033 URL: http://svn.apache.org/viewvc?rev=1826033=rev Log: Preparing commons-parent-44-RC2 Added: commons/proper/commons-parent/tags/commons-parent-44-RC2/ - copied from r1826032, commons/proper/commons-parent/trunk/
svn commit: r25505 - /dev/commons/commons-parent/
Author: chtompki Date: Tue Mar 6 20:06:20 2018 New Revision: 25505 Log: Staging commons-parent-44-RC1 Added: dev/commons/commons-parent/RELEASE-NOTES.txt dev/commons/commons-parent/commons-parent-44-src.tar.gz (with props) dev/commons/commons-parent/commons-parent-44-src.tar.gz.asc (with props) dev/commons/commons-parent/commons-parent-44-src.tar.gz.md5 dev/commons/commons-parent/commons-parent-44-src.tar.gz.sha1 dev/commons/commons-parent/commons-parent-44-src.zip (with props) dev/commons/commons-parent/commons-parent-44-src.zip.asc (with props) dev/commons/commons-parent/commons-parent-44-src.zip.md5 dev/commons/commons-parent/commons-parent-44-src.zip.sha1 dev/commons/commons-parent/site.zip (with props) Added: dev/commons/commons-parent/RELEASE-NOTES.txt == --- dev/commons/commons-parent/RELEASE-NOTES.txt (added) +++ dev/commons/commons-parent/RELEASE-NOTES.txt Tue Mar 6 20:06:20 2018 @@ -0,0 +1,110 @@ + Apache Commons Parent 44 + RELEASE NOTES + +The Apache Commons Parent team is pleased to announce the release of Apache Commons Parent 44 + +The Apache Commons Parent POM provides common settings for all Apache Commons components. + +Updates plugins and generally requires Java 7. + +Changes in this version include: + +New features: +o new profile module-name to add 'Automatic-Module-Name' entry to the manifest +o COMMONSSITE-105: Add commons-release-plugin version 1.1 +o COMMONSSITE-106: Add spotbugs-maven-plugin version 3.1.3 + + +Changes: +o felix:maven-bundle-plugin 3.4.0 -> 3.5.0. +o build artifacts -test.jar, -sources.jar and -test-sources.jar always, not only at release time +o maven-enforcer-plugin set version to 3.0.0-M1 and update Maven requirement from 3.0.0 to 3.0.5 (the latest 3.0.x.) +o jacoco-maven-plugin 0.7.9 -> 0.8.0. +o Fix japicmp config: add to reporting section and define ignoreMissingNewVersion explicitly +o org.apache:apache 18 -> 19 +o maven-surefire-plugin 2.20.1 -> 2.21.0 +o maven-failsafe-plugin 2.20.1 -> 2.21.0 + + +Historical list of changes: http://commons.apache.org/commons-parent-pom.htmlchanges-report.html + +For complete information on Apache Commons Parent, including instructions on how to submit bug reports, +patches, or suggestions for improvement, see the Apache Apache Commons Parent website: + +http://commons.apache.org/commons-parent-pom.html + +- + + Apache Commons Parent 43 + RELEASE NOTES + +The Apache Commons Parent team is pleased to announce the release of Apache Commons Parent 43 + +The Apache Commons Parent POM provides common settings for all Apache Commons components. + +Updates plugins and generally requires Java 7. + +Changes in this version include: + +Changes: +o maven-compiler-plugin 3.6.1 -> 3.6.2. +o maven-compiler-plugin 3.6.2 -> 3.7.0. +o jacoco-maven-plugin 0.7.7.201606060606 -> 0.7.9. +o maven-javadoc-plugin 2.10.4 -> 3.0.0 (Java 9 compatibility.) +o Update japicmp 0.9.3 -> 0.10.0. +o animal-sniffer-maven-plugin 1.15 -> 1.16. +o commons.findbugs.version 3.0.3 -> 3.0.5 (requires Java 7.) +o commons.clirr.version 2.7 -> 2.8. +o maven-surefire-plugin 2.19.1 -> 2.20.1. +o Add maven-failsafe-plugin 2.20.1 (to along with surefire.) +o felix:maven-bundle-plugin 3.0.1 -> 3.4.0 (requires Java 7. +o versions-maven-plugin 2.3 -> 2.5. +o japicmp-maven-plugin 0.10.0 -> 0.11.0. +o build-helper-maven-plugin 1.10 -> 3.0.0 (requires Maven 3 and Java 7.) +o wagon-ssh 2.10 -> 3.0.0. +o maven-site-plugin 3.6 -> 3.7 (fixes Java 9 builds; for migrating from 3.4 to 3.5.1, see https://maven.apache.org/components/plugins/maven-site-plugin/migrate.html) + + +Historical list of changes: http://commons.apache.org/commons-parent-pom.htmlchanges-report.html + +For complete information on Apache Commons Parent, including instructions on how to submit bug reports, +patches, or suggestions for improvement, see the Apache Apache Commons Parent website: + +http://commons.apache.org/commons-parent-pom.html + +- + + Apache Commons Parent 42 + RELEASE NOTES + +The Apache Commons Parent team is pleased to announce the release of Apache Commons Parent 42 + +The Apache Commons Parent POM provides common settings for all Apache Commons components. + +Changes in this version include: + +New features: +o new profiles to run coveralls coverage + reports via Travis using Jacoco or Cobertura respectively + +Changes: +o maven-site-plugin 3.4 -> 3.6 (for migrating from 3.4 to 3.5.1, see https://maven.apache.org/components/plugins/maven-site-plugin/migrate.html) +o jacoco-maven-plugin : 0.7.6.201602180812 -> 0.7.7.201606060606 +o commons-build-plugin : 1.6 -> 1.7 +o maven-changes-plugin : 2.12 -> 2.12.1 +o
svn commit: r1826030 - /commons/proper/commons-parent/commons-parent-44-RC2/
Author: chtompki Date: Tue Mar 6 19:44:11 2018 New Revision: 1826030 URL: http://svn.apache.org/viewvc?rev=1826030=rev Log: Remove tag in wrong location Removed: commons/proper/commons-parent/commons-parent-44-RC2/
svn commit: r1826029 - /commons/proper/commons-parent/tags/commons-parent-44-RC2/
Author: chtompki Date: Tue Mar 6 19:42:00 2018 New Revision: 1826029 URL: http://svn.apache.org/viewvc?rev=1826029=rev Log: Preparing commons-parent-44-RC2 Added: commons/proper/commons-parent/tags/commons-parent-44-RC2/ - copied from r1826028, commons/proper/commons-parent/trunk/
svn commit: r1826031 - /commons/proper/commons-parent/tags/commons-parent-44-RC2/
Author: chtompki Date: Tue Mar 6 19:50:17 2018 New Revision: 1826031 URL: http://svn.apache.org/viewvc?rev=1826031=rev Log: Removing bad tag, need changes to pom Removed: commons/proper/commons-parent/tags/commons-parent-44-RC2/
Nexus: Staging Completed
Message from: https://repository.apache.orgDescription:Staging commons-parent-44-RC2Deployer properties:"userAgent" = "Apache-Maven/3.5.2 (Java 1.8.0_152; Mac OS X 10.13.3)""userId" = "chtompki""ip" = "107.77.203.217"Details:The following artifacts have been staged/org/apache/commons/commons-parent/44/commons-parent-44-site.xml(SHA1: 02b3b54d26d97a72fd55b20d027040ca0daf52b7)/org/apache/commons/commons-parent/44/commons-parent-44-site.xml.asc(SHA1: 9909d5e93eb4eb28996630ed04c06b1ea24e27a5)/org/apache/commons/commons-parent/44/commons-parent-44.pom.asc(SHA1: f44753eb0c4091fa88e4465b724b1a38c77a4f2d)/org/apache/commons/commons-parent/44/commons-parent-44.pom(SHA1: 68f9115b9286b7dfe3ab5d55263b60b09e010c8d)Action performed by Rob Tompkins (chtompki)
svn commit: r1826028 - /commons/proper/commons-parent/commons-parent-44-RC2/
Author: chtompki Date: Tue Mar 6 19:40:35 2018 New Revision: 1826028 URL: http://svn.apache.org/viewvc?rev=1826028=rev Log: Preparing commons-parent-44-RC2 Added: commons/proper/commons-parent/commons-parent-44-RC2/ - copied from r1826027, commons/proper/commons-parent/trunk/
commons-io git commit: Add missing Javadoc tag.
Repository: commons-io Updated Branches: refs/heads/master 48f7e179e -> c329443d7 Add missing Javadoc tag. Project: http://git-wip-us.apache.org/repos/asf/commons-io/repo Commit: http://git-wip-us.apache.org/repos/asf/commons-io/commit/c329443d Tree: http://git-wip-us.apache.org/repos/asf/commons-io/tree/c329443d Diff: http://git-wip-us.apache.org/repos/asf/commons-io/diff/c329443d Branch: refs/heads/master Commit: c329443d7d50b4d891bc8229988b838642a132cf Parents: 48f7e17 Author: Gary GregoryAuthored: Tue Mar 6 13:54:09 2018 -0700 Committer: Gary Gregory Committed: Tue Mar 6 13:54:09 2018 -0700 -- .../java/org/apache/commons/io/output/AppendableOutputStream.java | 1 + 1 file changed, 1 insertion(+) -- http://git-wip-us.apache.org/repos/asf/commons-io/blob/c329443d/src/main/java/org/apache/commons/io/output/AppendableOutputStream.java -- diff --git a/src/main/java/org/apache/commons/io/output/AppendableOutputStream.java b/src/main/java/org/apache/commons/io/output/AppendableOutputStream.java index 5099cc2..e7830eb 100644 --- a/src/main/java/org/apache/commons/io/output/AppendableOutputStream.java +++ b/src/main/java/org/apache/commons/io/output/AppendableOutputStream.java @@ -29,6 +29,7 @@ import java.io.OutputStream; * @since 2.5 * @see java.lang.Appendable * @version $Id$ + * @param The type of the {@link Appendable} wrapped by this AppendableOutputStream. */ public class AppendableOutputStream extends OutputStream {
commons-io git commit: Redundant superinterface Serializable for the type IOCase, already defined by Enum.
Repository: commons-io Updated Branches: refs/heads/master 91a94d9f4 -> 68a73b54d Redundant superinterface Serializable for the type IOCase, already defined by Enum. Project: http://git-wip-us.apache.org/repos/asf/commons-io/repo Commit: http://git-wip-us.apache.org/repos/asf/commons-io/commit/68a73b54 Tree: http://git-wip-us.apache.org/repos/asf/commons-io/tree/68a73b54 Diff: http://git-wip-us.apache.org/repos/asf/commons-io/diff/68a73b54 Branch: refs/heads/master Commit: 68a73b54d6fd08ea2951ea1911e035a2390119bc Parents: 91a94d9 Author: Gary GregoryAuthored: Tue Mar 6 14:00:39 2018 -0700 Committer: Gary Gregory Committed: Tue Mar 6 14:00:39 2018 -0700 -- src/main/java/org/apache/commons/io/IOCase.java | 2 -- 1 file changed, 2 deletions(-) -- http://git-wip-us.apache.org/repos/asf/commons-io/blob/68a73b54/src/main/java/org/apache/commons/io/IOCase.java -- diff --git a/src/main/java/org/apache/commons/io/IOCase.java b/src/main/java/org/apache/commons/io/IOCase.java index a1ee69b..06dc449 100644 --- a/src/main/java/org/apache/commons/io/IOCase.java +++ b/src/main/java/org/apache/commons/io/IOCase.java @@ -16,8 +16,6 @@ */ package org.apache.commons.io; -import java.io.Serializable; - /** * Enumeration of IO case sensitivity. *
commons-io git commit: Unnecessary semicolon.
Repository: commons-io Updated Branches: refs/heads/master c329443d7 -> 91a94d9f4 Unnecessary semicolon. Project: http://git-wip-us.apache.org/repos/asf/commons-io/repo Commit: http://git-wip-us.apache.org/repos/asf/commons-io/commit/91a94d9f Tree: http://git-wip-us.apache.org/repos/asf/commons-io/tree/91a94d9f Diff: http://git-wip-us.apache.org/repos/asf/commons-io/diff/91a94d9f Branch: refs/heads/master Commit: 91a94d9f47b2bc928eaaf83d7c9dd06c235a2824 Parents: c329443 Author: Gary GregoryAuthored: Tue Mar 6 13:56:06 2018 -0700 Committer: Gary Gregory Committed: Tue Mar 6 13:56:06 2018 -0700 -- src/main/java/org/apache/commons/io/output/WriterOutputStream.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- http://git-wip-us.apache.org/repos/asf/commons-io/blob/91a94d9f/src/main/java/org/apache/commons/io/output/WriterOutputStream.java -- diff --git a/src/main/java/org/apache/commons/io/output/WriterOutputStream.java b/src/main/java/org/apache/commons/io/output/WriterOutputStream.java index 4b7110b..0658edd 100644 --- a/src/main/java/org/apache/commons/io/output/WriterOutputStream.java +++ b/src/main/java/org/apache/commons/io/output/WriterOutputStream.java @@ -341,7 +341,7 @@ public class WriterOutputStream extends OutputStream { if (!TEST_STRING_2.equals(cb2.toString())){ throw new UnsupportedOperationException("UTF-16 requested when runninng on an IBM JDK with broken UTF-16 support. " + "Please find a JDK that supports UTF-16 if you intend to use UF-16 with WriterOutputStream"); -}; +} } }
commons-io git commit: Refactor magic string into a constant.
Repository: commons-io Updated Branches: refs/heads/master b498cda5b -> 276b28257 Refactor magic string into a constant. Project: http://git-wip-us.apache.org/repos/asf/commons-io/repo Commit: http://git-wip-us.apache.org/repos/asf/commons-io/commit/276b2825 Tree: http://git-wip-us.apache.org/repos/asf/commons-io/tree/276b2825 Diff: http://git-wip-us.apache.org/repos/asf/commons-io/diff/276b2825 Branch: refs/heads/master Commit: 276b2825778c0f6286ead1dac0dfe5fca307e77a Parents: b498cda Author: Gary GregoryAuthored: Tue Mar 6 14:36:14 2018 -0700 Committer: Gary Gregory Committed: Tue Mar 6 14:36:14 2018 -0700 -- .../java/org/apache/commons/io/input/ReversedLinesFileReader.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) -- http://git-wip-us.apache.org/repos/asf/commons-io/blob/276b2825/src/main/java/org/apache/commons/io/input/ReversedLinesFileReader.java -- diff --git a/src/main/java/org/apache/commons/io/input/ReversedLinesFileReader.java b/src/main/java/org/apache/commons/io/input/ReversedLinesFileReader.java index 4fe9b46..9470f02 100644 --- a/src/main/java/org/apache/commons/io/input/ReversedLinesFileReader.java +++ b/src/main/java/org/apache/commons/io/input/ReversedLinesFileReader.java @@ -35,6 +35,7 @@ import org.apache.commons.io.Charsets; */ public class ReversedLinesFileReader implements Closeable { +private static final String EMPTY_STRING = ""; private static final int DEFAULT_BLOCK_SIZE = 4096; private final int blockSize; @@ -187,7 +188,7 @@ public class ReversedLinesFileReader implements Closeable { } // aligned behaviour with BufferedReader that doesn't return a last, empty line -if("".equals(line) && !trailingNewlineOfFileSkipped) { +if(EMPTY_STRING.equals(line) && !trailingNewlineOfFileSkipped) { trailingNewlineOfFileSkipped = true; line = readLine(); }
commons-io git commit: Redundant superinterface Serializable for the type IOCase, already defined by Enum.
Repository: commons-io Updated Branches: refs/heads/master 8993c0060 -> 48f7e179e Redundant superinterface Serializable for the type IOCase, already defined by Enum. Project: http://git-wip-us.apache.org/repos/asf/commons-io/repo Commit: http://git-wip-us.apache.org/repos/asf/commons-io/commit/48f7e179 Tree: http://git-wip-us.apache.org/repos/asf/commons-io/tree/48f7e179 Diff: http://git-wip-us.apache.org/repos/asf/commons-io/diff/48f7e179 Branch: refs/heads/master Commit: 48f7e179e4c5f4e59afdf0bfb4ec5228692e00ec Parents: 8993c00 Author: Gary GregoryAuthored: Tue Mar 6 13:52:49 2018 -0700 Committer: Gary Gregory Committed: Tue Mar 6 13:52:49 2018 -0700 -- src/main/java/org/apache/commons/io/IOCase.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- http://git-wip-us.apache.org/repos/asf/commons-io/blob/48f7e179/src/main/java/org/apache/commons/io/IOCase.java -- diff --git a/src/main/java/org/apache/commons/io/IOCase.java b/src/main/java/org/apache/commons/io/IOCase.java index 58e96a5..a1ee69b 100644 --- a/src/main/java/org/apache/commons/io/IOCase.java +++ b/src/main/java/org/apache/commons/io/IOCase.java @@ -33,7 +33,7 @@ import java.io.Serializable; * * @since 1.3 */ -public enum IOCase implements Serializable { +public enum IOCase { /** * The constant for case sensitive regardless of operating system.
commons-io git commit: Refactor magic int into a constant.
Repository: commons-io Updated Branches: refs/heads/master 68a73b54d -> b498cda5b Refactor magic int into a constant. Project: http://git-wip-us.apache.org/repos/asf/commons-io/repo Commit: http://git-wip-us.apache.org/repos/asf/commons-io/commit/b498cda5 Tree: http://git-wip-us.apache.org/repos/asf/commons-io/tree/b498cda5 Diff: http://git-wip-us.apache.org/repos/asf/commons-io/diff/b498cda5 Branch: refs/heads/master Commit: b498cda5bc8d834ab311a6a3415e990100d8a81a Parents: 68a73b5 Author: Gary GregoryAuthored: Tue Mar 6 14:35:28 2018 -0700 Committer: Gary Gregory Committed: Tue Mar 6 14:35:28 2018 -0700 -- .../org/apache/commons/io/input/ReversedLinesFileReader.java | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) -- http://git-wip-us.apache.org/repos/asf/commons-io/blob/b498cda5/src/main/java/org/apache/commons/io/input/ReversedLinesFileReader.java -- diff --git a/src/main/java/org/apache/commons/io/input/ReversedLinesFileReader.java b/src/main/java/org/apache/commons/io/input/ReversedLinesFileReader.java index 308e5fc..4fe9b46 100644 --- a/src/main/java/org/apache/commons/io/input/ReversedLinesFileReader.java +++ b/src/main/java/org/apache/commons/io/input/ReversedLinesFileReader.java @@ -35,6 +35,8 @@ import org.apache.commons.io.Charsets; */ public class ReversedLinesFileReader implements Closeable { +private static final int DEFAULT_BLOCK_SIZE = 4096; + private final int blockSize; private final Charset encoding; @@ -62,7 +64,7 @@ public class ReversedLinesFileReader implements Closeable { */ @Deprecated public ReversedLinesFileReader(final File file) throws IOException { -this(file, 4096, Charset.defaultCharset()); +this(file, DEFAULT_BLOCK_SIZE, Charset.defaultCharset()); } /** @@ -76,7 +78,7 @@ public class ReversedLinesFileReader implements Closeable { * @since 2.5 */ public ReversedLinesFileReader(final File file, final Charset charset) throws IOException { -this(file, 4096, charset); +this(file, DEFAULT_BLOCK_SIZE, charset); } /**
Nexus: Staging Repository Dropped
Message from: https://repository.apache.orgDescription:commons-parent-44-RC2, failed validation.Deployer properties:"userAgent" = "Apache-Maven/3.5.2 (Java 1.8.0_152; Mac OS X 10.13.3)""userId" = "chtompki""ip" = "107.77.203.217"Details:The orgapachecommons-1311 staging repository has been dropped.Action performed by Rob Tompkins (chtompki)
svn commit: r1826072 - /commons/proper/email/trunk/pom.xml
Author: ggregory Date: Wed Mar 7 04:54:58 2018 New Revision: 1826072 URL: http://svn.apache.org/viewvc?rev=1826072=rev Log: Update tests from Apache Commons IO 2.5 to 2.6. Modified: commons/proper/email/trunk/pom.xml Modified: commons/proper/email/trunk/pom.xml URL: http://svn.apache.org/viewvc/commons/proper/email/trunk/pom.xml?rev=1826072=1826071=1826072=diff == --- commons/proper/email/trunk/pom.xml (original) +++ commons/proper/email/trunk/pom.xml Wed Mar 7 04:54:58 2018 @@ -254,7 +254,7 @@ commons-io commons-io -2.5 +2.6 test
svn commit: r1826073 - /commons/proper/email/trunk/pom.xml
Author: ggregory Date: Wed Mar 7 04:56:30 2018 New Revision: 1826073 URL: http://svn.apache.org/viewvc?rev=1826073=rev Log: Update tests from Easymock 3.4 to 3.5.1. Modified: commons/proper/email/trunk/pom.xml Modified: commons/proper/email/trunk/pom.xml URL: http://svn.apache.org/viewvc/commons/proper/email/trunk/pom.xml?rev=1826073=1826072=1826073=diff == --- commons/proper/email/trunk/pom.xml (original) +++ commons/proper/email/trunk/pom.xml Wed Mar 7 04:56:30 2018 @@ -306,7 +306,7 @@ UTF-8 1.6.5 -3.4 +3.5.1 2.5.5
svn commit: r25544 - /dev/commons/commons-parent/
Author: chtompki Date: Wed Mar 7 01:41:51 2018 New Revision: 25544 Log: commons-parent-44-RC2, failed validation. Removed: dev/commons/commons-parent/RELEASE-NOTES.txt dev/commons/commons-parent/commons-parent-44-src.tar.gz dev/commons/commons-parent/commons-parent-44-src.tar.gz.asc dev/commons/commons-parent/commons-parent-44-src.tar.gz.md5 dev/commons/commons-parent/commons-parent-44-src.tar.gz.sha1 dev/commons/commons-parent/commons-parent-44-src.zip dev/commons/commons-parent/commons-parent-44-src.zip.asc dev/commons/commons-parent/commons-parent-44-src.zip.md5 dev/commons/commons-parent/commons-parent-44-src.zip.sha1 dev/commons/commons-parent/site.zip
svn commit: r1826070 - in /commons/proper/email/trunk: pom.xml src/changes/changes.xml
Author: ggregory Date: Wed Mar 7 04:47:14 2018 New Revision: 1826070 URL: http://svn.apache.org/viewvc?rev=1826070=rev Log: [EMAIL-177] Update from Java 6 to 7. Modified: commons/proper/email/trunk/pom.xml commons/proper/email/trunk/src/changes/changes.xml Modified: commons/proper/email/trunk/pom.xml URL: http://svn.apache.org/viewvc/commons/proper/email/trunk/pom.xml?rev=1826070=1826069=1826070=diff == --- commons/proper/email/trunk/pom.xml (original) +++ commons/proper/email/trunk/pom.xml Wed Mar 7 04:47:14 2018 @@ -292,8 +292,8 @@ UTF-8 UTF-8 -1.6 -1.6 +1.7 +1.7 email org.apache.commons.mail EMAIL Modified: commons/proper/email/trunk/src/changes/changes.xml URL: http://svn.apache.org/viewvc/commons/proper/email/trunk/src/changes/changes.xml?rev=1826070=1826069=1826070=diff == --- commons/proper/email/trunk/src/changes/changes.xml (original) +++ commons/proper/email/trunk/src/changes/changes.xml Wed Mar 7 04:47:14 2018 @@ -22,10 +22,13 @@ - + Upgrade javax.mail dependency to 1.6.1, so that i18n is supported for email addresses. + +Update from Java 6 to 7. + Add Automatic-Module-Name MANIFEST entry for Java 9 compatibility
svn commit: r1826074 - /commons/proper/email/trunk/pom.xml
Author: ggregory Date: Wed Mar 7 04:58:03 2018 New Revision: 1826074 URL: http://svn.apache.org/viewvc?rev=1826074=rev Log: Update tests from Powermock 1.6.5 to 1.7.3. Modified: commons/proper/email/trunk/pom.xml Modified: commons/proper/email/trunk/pom.xml URL: http://svn.apache.org/viewvc/commons/proper/email/trunk/pom.xml?rev=1826074=1826073=1826074=diff == --- commons/proper/email/trunk/pom.xml (original) +++ commons/proper/email/trunk/pom.xml Wed Mar 7 04:58:03 2018 @@ -305,7 +305,7 @@ UTF-8 -1.6.5 +1.7.3 3.5.1 2.5.5
svn commit: r1826077 - /commons/proper/email/trunk/src/main/java/org/apache/commons/mail/EmailUtils.java
Author: ggregory Date: Wed Mar 7 05:07:30 2018 New Revision: 1826077 URL: http://svn.apache.org/viewvc?rev=1826077=rev Log: Fix some Checkstyle errors. Modified: commons/proper/email/trunk/src/main/java/org/apache/commons/mail/EmailUtils.java Modified: commons/proper/email/trunk/src/main/java/org/apache/commons/mail/EmailUtils.java URL: http://svn.apache.org/viewvc/commons/proper/email/trunk/src/main/java/org/apache/commons/mail/EmailUtils.java?rev=1826077=1826076=1826077=diff == --- commons/proper/email/trunk/src/main/java/org/apache/commons/mail/EmailUtils.java (original) +++ commons/proper/email/trunk/src/main/java/org/apache/commons/mail/EmailUtils.java Wed Mar 7 05:07:30 2018 @@ -121,7 +121,7 @@ final class EmailUtils */ static boolean isEmpty(final String str) { -return (str == null) || (str.length() == 0); +return str == null || str.length() == 0; } /** @@ -135,7 +135,7 @@ final class EmailUtils */ static boolean isNotEmpty(final String str) { -return (str != null) && (str.length() > 0); +return str != null && str.length() > 0; } /** @@ -227,7 +227,7 @@ final class EmailUtils throw new IllegalArgumentException("Requested random string length " + count + " is less than 0."); } -if ((start == 0) && (end == 0)) +if (start == 0 && end == 0) { end = 'z' + 1; start = ' ';
svn commit: r1826075 - /commons/proper/email/trunk/pom.xml
Author: ggregory Date: Wed Mar 7 05:01:08 2018 New Revision: 1826075 URL: http://svn.apache.org/viewvc?rev=1826075=rev Log: Update FindBugs from 2.5.5 to 3.0.5. Modified: commons/proper/email/trunk/pom.xml Modified: commons/proper/email/trunk/pom.xml URL: http://svn.apache.org/viewvc/commons/proper/email/trunk/pom.xml?rev=1826075=1826074=1826075=diff == --- commons/proper/email/trunk/pom.xml (original) +++ commons/proper/email/trunk/pom.xml Wed Mar 7 05:01:08 2018 @@ -307,7 +307,7 @@ 1.7.3 3.5.1 -2.5.5 +3.0.5 @@ -489,18 +489,7 @@ ${commons.deployment.protocol}://people.apache.org/www/people.apache.org/builds/commons/${commons.componentid}/${commons.release.version}/${commons.rc.version}/site - - - - - test_java_8 - - 1.8 - - -3.0.3 - - + +
svn commit: r1826071 - /commons/proper/email/trunk/pom.xml
Author: ggregory Date: Wed Mar 7 04:53:46 2018 New Revision: 1826071 URL: http://svn.apache.org/viewvc?rev=1826071=rev Log: [EMAIL-177] Update from Java 6 to 7. Modified: commons/proper/email/trunk/pom.xml Modified: commons/proper/email/trunk/pom.xml URL: http://svn.apache.org/viewvc/commons/proper/email/trunk/pom.xml?rev=1826071=1826070=1826071=diff == --- commons/proper/email/trunk/pom.xml (original) +++ commons/proper/email/trunk/pom.xml Wed Mar 7 04:53:46 2018 @@ -298,7 +298,8 @@ org.apache.commons.mail EMAIL 12310474 -1.5 +1.6.0 +(Java 7) RC1
svn commit: r1826076 - /commons/proper/email/trunk/pom.xml
Author: ggregory Date: Wed Mar 7 05:03:42 2018 New Revision: 1826076 URL: http://svn.apache.org/viewvc?rev=1826076=rev Log: Update Maven PMD plugin from 2.7.1 to 3.9.0. Modified: commons/proper/email/trunk/pom.xml Modified: commons/proper/email/trunk/pom.xml URL: http://svn.apache.org/viewvc/commons/proper/email/trunk/pom.xml?rev=1826076=1826075=1826076=diff == --- commons/proper/email/trunk/pom.xml (original) +++ commons/proper/email/trunk/pom.xml Wed Mar 7 05:03:42 2018 @@ -447,7 +447,7 @@ org.apache.maven.plugins maven-pmd-plugin -2.7.1 +3.9.0 ${maven.compiler.target}
svn commit: r1826005 - in /commons/proper/commons-parent/trunk: RELEASE-NOTES.txt src/changes/changes.xml
Author: chtompki Date: Tue Mar 6 17:32:18 2018 New Revision: 1826005 URL: http://svn.apache.org/viewvc?rev=1826005=rev Log: Updating changes and RELEASE-NOTES.txt Modified: commons/proper/commons-parent/trunk/RELEASE-NOTES.txt commons/proper/commons-parent/trunk/src/changes/changes.xml Modified: commons/proper/commons-parent/trunk/RELEASE-NOTES.txt URL: http://svn.apache.org/viewvc/commons/proper/commons-parent/trunk/RELEASE-NOTES.txt?rev=1826005=1826004=1826005=diff == --- commons/proper/commons-parent/trunk/RELEASE-NOTES.txt (original) +++ commons/proper/commons-parent/trunk/RELEASE-NOTES.txt Tue Mar 6 17:32:18 2018 @@ -22,6 +22,8 @@ o maven-enforcer-plugin set version to 3 o jacoco-maven-plugin 0.7.9 -> 0.8.0. o Fix japicmp config: add to reporting section and define ignoreMissingNewVersion explicitly o org.apache:apache 18 -> 19 +o maven-surefire-plugin 2.20.1 -> 2.21.0 +o maven-failsafe-plugin 2.20.1 -> 2.21.0 Historical list of changes: http://commons.apache.org/commons-parent-pom.htmlchanges-report.html Modified: commons/proper/commons-parent/trunk/src/changes/changes.xml URL: http://svn.apache.org/viewvc/commons/proper/commons-parent/trunk/src/changes/changes.xml?rev=1826005=1826004=1826005=diff == --- commons/proper/commons-parent/trunk/src/changes/changes.xml (original) +++ commons/proper/commons-parent/trunk/src/changes/changes.xml Tue Mar 6 17:32:18 2018 @@ -69,6 +69,8 @@ The type attribute can be add,u org.apache:apache 18 -> 19 COMMONSSITE-105: Add commons-release-plugin version 1.1 COMMONSSITE-106: Add spotbugs-maven-plugin version 3.1.3 +maven-surefire-plugin 2.20.1 -> 2.21.0 +maven-failsafe-plugin 2.20.1 -> 2.21.0
svn commit: r1825977 - /commons/proper/commons-parent/tags/commons-parent-44-RC1/
Author: chtompki Date: Tue Mar 6 11:28:52 2018 New Revision: 1825977 URL: http://svn.apache.org/viewvc?rev=1825977=rev Log: Preparing commons-parent-44-RC1 Added: commons/proper/commons-parent/tags/commons-parent-44-RC1/ - copied from r1825976, commons/proper/commons-parent/trunk/
svn commit: r1825976 - in /commons/proper/commons-parent/trunk: RELEASE-NOTES.txt pom.xml
Author: chtompki Date: Tue Mar 6 11:27:06 2018 New Revision: 1825976 URL: http://svn.apache.org/viewvc?rev=1825976=rev Log: Prepare for releasing version 44. Modified: commons/proper/commons-parent/trunk/RELEASE-NOTES.txt commons/proper/commons-parent/trunk/pom.xml Modified: commons/proper/commons-parent/trunk/RELEASE-NOTES.txt URL: http://svn.apache.org/viewvc/commons/proper/commons-parent/trunk/RELEASE-NOTES.txt?rev=1825976=1825975=1825976=diff == --- commons/proper/commons-parent/trunk/RELEASE-NOTES.txt (original) +++ commons/proper/commons-parent/trunk/RELEASE-NOTES.txt Tue Mar 6 11:27:06 2018 @@ -1,3 +1,37 @@ + Apache Commons Parent 44 + RELEASE NOTES + +The Apache Commons Parent team is pleased to announce the release of Apache Commons Parent 44 + +The Apache Commons Parent POM provides common settings for all Apache Commons components. + +Updates plugins and generally requires Java 7. + +Changes in this version include: + +New features: +o new profile module-name to add 'Automatic-Module-Name' entry to the manifest +o COMMONSSITE-105: Add commons-release-plugin version 1.1 + + +Changes: +o felix:maven-bundle-plugin 3.4.0 -> 3.5.0. +o build artifacts -test.jar, -sources.jar and -test-sources.jar always, not only at release time +o maven-enforcer-plugin set version to 3.0.0-M1 and update Maven requirement from 3.0.0 to 3.0.5 (the latest 3.0.x.) +o jacoco-maven-plugin 0.7.9 -> 0.8.0. +o Fix japicmp config: add to reporting section and define ignoreMissingNewVersion explicitly +o org.apache:apache 18 -> 19 + + +Historical list of changes: http://commons.apache.org/commons-parent-pom.htmlchanges-report.html + +For complete information on Apache Commons Parent, including instructions on how to submit bug reports, +patches, or suggestions for improvement, see the Apache Apache Commons Parent website: + +http://commons.apache.org/commons-parent-pom.html + +- + Apache Commons Parent 43 RELEASE NOTES Modified: commons/proper/commons-parent/trunk/pom.xml URL: http://svn.apache.org/viewvc/commons/proper/commons-parent/trunk/pom.xml?rev=1825976=1825975=1825976=diff == --- commons/proper/commons-parent/trunk/pom.xml (original) +++ commons/proper/commons-parent/trunk/pom.xml Tue Mar 6 11:27:06 2018 @@ -28,7 +28,7 @@ org.apache.commons commons-parent pom - 44-SNAPSHOT + 44 Apache Commons Parent http://commons.apache.org/commons-parent-pom.html The Apache Commons Parent POM provides common settings for all Apache Commons components.
svn commit: r25479 - /dev/commons/commons-parent/
Author: chtompki Date: Tue Mar 6 11:46:02 2018 New Revision: 25479 Log: Staging commons-parent-44-RC1 Added: dev/commons/commons-parent/RELEASE-NOTES.txt dev/commons/commons-parent/commons-parent-44-src.tar.gz (with props) dev/commons/commons-parent/commons-parent-44-src.tar.gz.asc (with props) dev/commons/commons-parent/commons-parent-44-src.tar.gz.md5 dev/commons/commons-parent/commons-parent-44-src.tar.gz.sha1 dev/commons/commons-parent/commons-parent-44-src.zip (with props) dev/commons/commons-parent/commons-parent-44-src.zip.asc (with props) dev/commons/commons-parent/commons-parent-44-src.zip.md5 dev/commons/commons-parent/commons-parent-44-src.zip.sha1 dev/commons/commons-parent/site.zip (with props) Added: dev/commons/commons-parent/RELEASE-NOTES.txt == --- dev/commons/commons-parent/RELEASE-NOTES.txt (added) +++ dev/commons/commons-parent/RELEASE-NOTES.txt Tue Mar 6 11:46:02 2018 @@ -0,0 +1,107 @@ + Apache Commons Parent 44 + RELEASE NOTES + +The Apache Commons Parent team is pleased to announce the release of Apache Commons Parent 44 + +The Apache Commons Parent POM provides common settings for all Apache Commons components. + +Updates plugins and generally requires Java 7. + +Changes in this version include: + +New features: +o new profile module-name to add 'Automatic-Module-Name' entry to the manifest +o COMMONSSITE-105: Add commons-release-plugin version 1.1 + + +Changes: +o felix:maven-bundle-plugin 3.4.0 -> 3.5.0. +o build artifacts -test.jar, -sources.jar and -test-sources.jar always, not only at release time +o maven-enforcer-plugin set version to 3.0.0-M1 and update Maven requirement from 3.0.0 to 3.0.5 (the latest 3.0.x.) +o jacoco-maven-plugin 0.7.9 -> 0.8.0. +o Fix japicmp config: add to reporting section and define ignoreMissingNewVersion explicitly +o org.apache:apache 18 -> 19 + + +Historical list of changes: http://commons.apache.org/commons-parent-pom.htmlchanges-report.html + +For complete information on Apache Commons Parent, including instructions on how to submit bug reports, +patches, or suggestions for improvement, see the Apache Apache Commons Parent website: + +http://commons.apache.org/commons-parent-pom.html + +- + + Apache Commons Parent 43 + RELEASE NOTES + +The Apache Commons Parent team is pleased to announce the release of Apache Commons Parent 43 + +The Apache Commons Parent POM provides common settings for all Apache Commons components. + +Updates plugins and generally requires Java 7. + +Changes in this version include: + +Changes: +o maven-compiler-plugin 3.6.1 -> 3.6.2. +o maven-compiler-plugin 3.6.2 -> 3.7.0. +o jacoco-maven-plugin 0.7.7.201606060606 -> 0.7.9. +o maven-javadoc-plugin 2.10.4 -> 3.0.0 (Java 9 compatibility.) +o Update japicmp 0.9.3 -> 0.10.0. +o animal-sniffer-maven-plugin 1.15 -> 1.16. +o commons.findbugs.version 3.0.3 -> 3.0.5 (requires Java 7.) +o commons.clirr.version 2.7 -> 2.8. +o maven-surefire-plugin 2.19.1 -> 2.20.1. +o Add maven-failsafe-plugin 2.20.1 (to along with surefire.) +o felix:maven-bundle-plugin 3.0.1 -> 3.4.0 (requires Java 7. +o versions-maven-plugin 2.3 -> 2.5. +o japicmp-maven-plugin 0.10.0 -> 0.11.0. +o build-helper-maven-plugin 1.10 -> 3.0.0 (requires Maven 3 and Java 7.) +o wagon-ssh 2.10 -> 3.0.0. +o maven-site-plugin 3.6 -> 3.7 (fixes Java 9 builds; for migrating from 3.4 to 3.5.1, see https://maven.apache.org/components/plugins/maven-site-plugin/migrate.html) + + +Historical list of changes: http://commons.apache.org/commons-parent-pom.htmlchanges-report.html + +For complete information on Apache Commons Parent, including instructions on how to submit bug reports, +patches, or suggestions for improvement, see the Apache Apache Commons Parent website: + +http://commons.apache.org/commons-parent-pom.html + +- + + Apache Commons Parent 42 + RELEASE NOTES + +The Apache Commons Parent team is pleased to announce the release of Apache Commons Parent 42 + +The Apache Commons Parent POM provides common settings for all Apache Commons components. + +Changes in this version include: + +New features: +o new profiles to run coveralls coverage + reports via Travis using Jacoco or Cobertura respectively + +Changes: +o maven-site-plugin 3.4 -> 3.6 (for migrating from 3.4 to 3.5.1, see https://maven.apache.org/components/plugins/maven-site-plugin/migrate.html) +o jacoco-maven-plugin : 0.7.6.201602180812 -> 0.7.7.201606060606 +o commons-build-plugin : 1.6 -> 1.7 +o maven-changes-plugin : 2.12 -> 2.12.1 +o Update japicmp: 0.8.0 -> 0.9.1 +o maven-compiler-plugin : 3.5.1 -> 3.6.0 +o japicmp plugin no longer fail on "mvn site" (it requires
Nexus: Staging Repository Dropped
Message from: https://repository.apache.orgDescription:Going to rebuild RC1.Deployer properties:"userAgent" = "Apache-Maven/3.5.2 (Java 1.8.0_152; Mac OS X 10.13.3)""userId" = "chtompki""ip" = "107.77.203.169"Details:The orgapachecommons-1308 staging repository has been dropped.Action performed by Rob Tompkins (chtompki)
Nexus: Staging Repository Dropped
Message from: https://repository.apache.orgDescription:Building RC1 again.Deployer properties:"userAgent" = "Apache-Maven/3.5.2 (Java 1.8.0_152; Mac OS X 10.13.3)""userId" = "chtompki""ip" = "107.77.203.169"Details:The orgapachecommons-1309 staging repository has been dropped.Action performed by Rob Tompkins (chtompki)
svn commit: r1825999 - in /commons/proper/commons-parent/trunk: RELEASE-NOTES.txt pom.xml src/changes/changes.xml
Author: chtompki Date: Tue Mar 6 16:25:44 2018 New Revision: 1825999 URL: http://svn.apache.org/viewvc?rev=1825999=rev Log: COMMONSSITE-106: spotbugs-maven-plugin version 3.1.3 added Modified: commons/proper/commons-parent/trunk/RELEASE-NOTES.txt commons/proper/commons-parent/trunk/pom.xml commons/proper/commons-parent/trunk/src/changes/changes.xml Modified: commons/proper/commons-parent/trunk/RELEASE-NOTES.txt URL: http://svn.apache.org/viewvc/commons/proper/commons-parent/trunk/RELEASE-NOTES.txt?rev=1825999=1825998=1825999=diff == --- commons/proper/commons-parent/trunk/RELEASE-NOTES.txt (original) +++ commons/proper/commons-parent/trunk/RELEASE-NOTES.txt Tue Mar 6 16:25:44 2018 @@ -12,6 +12,7 @@ Changes in this version include: New features: o new profile module-name to add 'Automatic-Module-Name' entry to the manifest o COMMONSSITE-105: Add commons-release-plugin version 1.1 +o COMMONSSITE-106: Add spotbugs-maven-plugin version 3.1.3 Changes: Modified: commons/proper/commons-parent/trunk/pom.xml URL: http://svn.apache.org/viewvc/commons/proper/commons-parent/trunk/pom.xml?rev=1825999=1825998=1825999=diff == --- commons/proper/commons-parent/trunk/pom.xml (original) +++ commons/proper/commons-parent/trunk/pom.xml Tue Mar 6 16:25:44 2018 @@ -52,6 +52,7 @@ - Fix japicmp config: add to reporting section and define ignoreMissingNewVersion explicitly - org.apache:apache 18 -> 19 - add commons-release-plugin:1.1 +- add spotbugs-maven-plugin: 3.1.3 --> @@ -1588,6 +1589,7 @@ true true true +true true true true @@ -1729,6 +1731,7 @@ 3.7.0 1.1 3.0.5 +3.1.3 3.5.0 3.0.0 1.16 Modified: commons/proper/commons-parent/trunk/src/changes/changes.xml URL: http://svn.apache.org/viewvc/commons/proper/commons-parent/trunk/src/changes/changes.xml?rev=1825999=1825998=1825999=diff == --- commons/proper/commons-parent/trunk/src/changes/changes.xml (original) +++ commons/proper/commons-parent/trunk/src/changes/changes.xml Tue Mar 6 16:25:44 2018 @@ -68,6 +68,7 @@ The type attribute can be add,u Fix japicmp config: add to reporting section and define ignoreMissingNewVersion explicitly org.apache:apache 18 -> 19 COMMONSSITE-105: Add commons-release-plugin version 1.1 +COMMONSSITE-106: Add spotbugs-maven-plugin version 3.1.3
svn commit: r1826000 - /commons/proper/commons-parent/trunk/pom.xml
Author: ggregory Date: Tue Mar 6 16:40:06 2018 New Revision: 1826000 URL: http://svn.apache.org/viewvc?rev=1826000=rev Log: - maven-surefire-plugin 2.20.1 -> 2.21.0. - maven-failsafe-plugin 2.20.1 -> 2.21.0. 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=1826000=1825999=1826000=diff == --- commons/proper/commons-parent/trunk/pom.xml (original) +++ commons/proper/commons-parent/trunk/pom.xml Tue Mar 6 16:40:06 2018 @@ -53,6 +53,8 @@ - org.apache:apache 18 -> 19 - add commons-release-plugin:1.1 - add spotbugs-maven-plugin: 3.1.3 +- maven-surefire-plugin 2.20.1 -> 2.21.0 +- maven-failsafe-plugin 2.20.1 -> 2.21.0 --> @@ -555,6 +557,38 @@ + + org.apache.commons + commons-release-plugin + 1.0 + + ${commons-release-plugin.distSvnStagingUrl} +${dryRun} + + + + detatch-distributions + verify + +detatch-distributions + + + + compress-site + site + +compress-site + + + + stage-distributions + deploy + +stage-distributions + + + + @@ -1677,8 +1711,8 @@ 1.7 1.1 -2.20.1 -2.20.1 +2.21.0 +2.21.0 2.20.1 3.0.0 0.12
commons-io git commit: Javadoc fixes on Java 8.
Repository: commons-io Updated Branches: refs/heads/master 9e405ca54 -> a653a4487 Javadoc fixes on Java 8. Project: http://git-wip-us.apache.org/repos/asf/commons-io/repo Commit: http://git-wip-us.apache.org/repos/asf/commons-io/commit/a653a448 Tree: http://git-wip-us.apache.org/repos/asf/commons-io/tree/a653a448 Diff: http://git-wip-us.apache.org/repos/asf/commons-io/diff/a653a448 Branch: refs/heads/master Commit: a653a4487774f57a7aff2c9dc1fe40b9b221cb6b Parents: 9e405ca Author: Gary GregoryAuthored: Tue Mar 6 09:43:38 2018 -0700 Committer: Gary Gregory Committed: Tue Mar 6 09:43:38 2018 -0700 -- src/main/java/org/apache/commons/io/FilenameUtils.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- http://git-wip-us.apache.org/repos/asf/commons-io/blob/a653a448/src/main/java/org/apache/commons/io/FilenameUtils.java -- diff --git a/src/main/java/org/apache/commons/io/FilenameUtils.java b/src/main/java/org/apache/commons/io/FilenameUtils.java index fec3603..fbcfc27 100644 --- a/src/main/java/org/apache/commons/io/FilenameUtils.java +++ b/src/main/java/org/apache/commons/io/FilenameUtils.java @@ -726,7 +726,7 @@ public class FilenameUtils { * @param filename *the filename to find the last extension separator in, null returns -1 * @return the index of the last extension separator character, or -1 if there is no such character - * @throws IllegalArgumentException Windows only:/b> The filename parameter is, in fact, + * @throws IllegalArgumentException Windows only: The filename parameter is, in fact, * the identifier of an Alternate Data Stream, for example "foo.exe:bar.txt". */ public static int indexOfExtension(final String filename) throws IllegalArgumentException { @@ -1054,7 +1054,7 @@ public class FilenameUtils { * @param filename the filename to retrieve the extension of. * @return the extension of the file or an empty string if none exists or {@code null} * if the filename is {@code null}. - * @throws IllegalArgumentException Windows only:/b> The filename parameter is, in fact, + * @throws IllegalArgumentException Windows only: The filename parameter is, in fact, * the identifier of an Alternate Data Stream, for example "foo.exe:bar.txt". */ public static String getExtension(final String filename) throws IllegalArgumentException {
commons-io git commit: Simplify.
Repository: commons-io Updated Branches: refs/heads/master 0f98e790a -> 8f957f527 Simplify. Project: http://git-wip-us.apache.org/repos/asf/commons-io/repo Commit: http://git-wip-us.apache.org/repos/asf/commons-io/commit/8f957f52 Tree: http://git-wip-us.apache.org/repos/asf/commons-io/tree/8f957f52 Diff: http://git-wip-us.apache.org/repos/asf/commons-io/diff/8f957f52 Branch: refs/heads/master Commit: 8f957f527b9048f51aad91b544bed35c48bcf3a9 Parents: 0f98e79 Author: Gary GregoryAuthored: Tue Mar 6 09:46:03 2018 -0700 Committer: Gary Gregory Committed: Tue Mar 6 09:46:03 2018 -0700 -- src/main/java/org/apache/commons/io/FilenameUtils.java | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) -- http://git-wip-us.apache.org/repos/asf/commons-io/blob/8f957f52/src/main/java/org/apache/commons/io/FilenameUtils.java -- diff --git a/src/main/java/org/apache/commons/io/FilenameUtils.java b/src/main/java/org/apache/commons/io/FilenameUtils.java index e638813..4ef121b 100644 --- a/src/main/java/org/apache/commons/io/FilenameUtils.java +++ b/src/main/java/org/apache/commons/io/FilenameUtils.java @@ -583,10 +583,7 @@ public class FilenameUtils { if (path == null) { return null; } -if (isSystemWindows()) { -return separatorsToWindows(path); -} -return separatorsToUnix(path); +return isSystemWindows() ? separatorsToWindows(path) : separatorsToUnix(path); } //---
commons-io git commit: Refactor magic string into a constant.
Repository: commons-io Updated Branches: refs/heads/master 8f957f527 -> f03149e07 Refactor magic string into a constant. Project: http://git-wip-us.apache.org/repos/asf/commons-io/repo Commit: http://git-wip-us.apache.org/repos/asf/commons-io/commit/f03149e0 Tree: http://git-wip-us.apache.org/repos/asf/commons-io/tree/f03149e0 Diff: http://git-wip-us.apache.org/repos/asf/commons-io/diff/f03149e0 Branch: refs/heads/master Commit: f03149e07dee90b23369d1cdb7f15c142df5e31d Parents: 8f957f5 Author: Gary GregoryAuthored: Tue Mar 6 09:51:21 2018 -0700 Committer: Gary Gregory Committed: Tue Mar 6 09:51:21 2018 -0700 -- src/main/java/org/apache/commons/io/FilenameUtils.java | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) -- http://git-wip-us.apache.org/repos/asf/commons-io/blob/f03149e0/src/main/java/org/apache/commons/io/FilenameUtils.java -- diff --git a/src/main/java/org/apache/commons/io/FilenameUtils.java b/src/main/java/org/apache/commons/io/FilenameUtils.java index 4ef121b..170c7ef 100644 --- a/src/main/java/org/apache/commons/io/FilenameUtils.java +++ b/src/main/java/org/apache/commons/io/FilenameUtils.java @@ -81,6 +81,8 @@ import java.util.Stack; */ public class FilenameUtils { +private static final String EMPTY_STRING = ""; + private static final int NOT_FOUND = -1; /** @@ -430,7 +432,7 @@ public class FilenameUtils { } if (size <= 0) { // should never be less than 0 -return ""; +return EMPTY_STRING; } if (size <= prefix) { // should never be less than prefix return new String(array, 0, size); @@ -859,7 +861,7 @@ public class FilenameUtils { final int index = indexOfLastSeparator(filename); final int endIndex = index+separatorAdd; if (prefix >= filename.length() || index < 0 || prefix >= endIndex) { -return ""; +return EMPTY_STRING; } final String path = filename.substring(prefix, endIndex); failIfNullBytePresent(path); @@ -1056,7 +1058,7 @@ public class FilenameUtils { } final int index = indexOfExtension(filename); if (index == NOT_FOUND) { -return ""; +return EMPTY_STRING; } return filename.substring(index + 1); }
commons-io git commit: Don't need to nest else clause. Refactor magic numbers into constants.
Repository: commons-io Updated Branches: refs/heads/master f03149e07 -> 8993c0060 Don't need to nest else clause. Refactor magic numbers into constants. Project: http://git-wip-us.apache.org/repos/asf/commons-io/repo Commit: http://git-wip-us.apache.org/repos/asf/commons-io/commit/8993c006 Tree: http://git-wip-us.apache.org/repos/asf/commons-io/tree/8993c006 Diff: http://git-wip-us.apache.org/repos/asf/commons-io/diff/8993c006 Branch: refs/heads/master Commit: 8993c0060e4eb2d5bca20e3529a829a9dd90efdf Parents: f03149e Author: Gary GregoryAuthored: Tue Mar 6 10:00:42 2018 -0700 Committer: Gary Gregory Committed: Tue Mar 6 10:00:42 2018 -0700 -- .../java/org/apache/commons/io/FileUtils.java | 19 + .../io/comparator/DirectoryFileComparator.java | 10 +++ .../io/filefilter/DelegateFileFilter.java | 6 ++-- .../commons/io/filefilter/EmptyFileFilter.java | 3 +- .../commons/io/filefilter/FileFilterUtils.java | 12 ++-- .../commons/io/input/CharSequenceReader.java| 3 +- .../commons/io/input/DemuxInputStream.java | 5 +--- .../io/input/ReversedLinesFileReader.java | 13 - .../io/input/UnixLineEndingInputStream.java | 29 +--- .../io/input/WindowsLineEndingInputStream.java | 3 +- .../commons/io/input/XmlStreamReader.java | 16 --- 11 files changed, 45 insertions(+), 74 deletions(-) -- http://git-wip-us.apache.org/repos/asf/commons-io/blob/8993c006/src/main/java/org/apache/commons/io/FileUtils.java -- diff --git a/src/main/java/org/apache/commons/io/FileUtils.java b/src/main/java/org/apache/commons/io/FileUtils.java index 714f4c8..0049cbc 100644 --- a/src/main/java/org/apache/commons/io/FileUtils.java +++ b/src/main/java/org/apache/commons/io/FileUtils.java @@ -823,11 +823,10 @@ public class FileUtils { public static File toFile(final URL url) { if (url == null || !"file".equalsIgnoreCase(url.getProtocol())) { return null; -} else { -String filename = url.getFile().replace('/', File.separatorChar); -filename = decodeUrl(filename); -return new File(filename); } +String filename = url.getFile().replace('/', File.separatorChar); +filename = decodeUrl(filename); +return new File(filename); } /** @@ -2542,9 +2541,8 @@ public class FileUtils { if (file.isDirectory()) { return sizeOfDirectory0(file); // private method; expects directory -} else { -return file.length(); } +return file.length(); } @@ -2575,9 +2573,8 @@ public class FileUtils { if (file.isDirectory()) { return sizeOfDirectoryBig0(file); // internal method -} else { -return BigInteger.valueOf(file.length()); } +return BigInteger.valueOf(file.length()); } @@ -2638,9 +2635,8 @@ public class FileUtils { private static long sizeOf0(final File file) { if (file.isDirectory()) { return sizeOfDirectory0(file); -} else { -return file.length(); // will be 0 if file does not exist } +return file.length(); // will be 0 if file does not exist } /** @@ -2694,9 +2690,8 @@ public class FileUtils { private static BigInteger sizeOfBig0(final File fileOrDir) { if (fileOrDir.isDirectory()) { return sizeOfDirectoryBig0(fileOrDir); -} else { -return BigInteger.valueOf(fileOrDir.length()); } +return BigInteger.valueOf(fileOrDir.length()); } /** http://git-wip-us.apache.org/repos/asf/commons-io/blob/8993c006/src/main/java/org/apache/commons/io/comparator/DirectoryFileComparator.java -- diff --git a/src/main/java/org/apache/commons/io/comparator/DirectoryFileComparator.java b/src/main/java/org/apache/commons/io/comparator/DirectoryFileComparator.java index 1ab872b..c340191 100644 --- a/src/main/java/org/apache/commons/io/comparator/DirectoryFileComparator.java +++ b/src/main/java/org/apache/commons/io/comparator/DirectoryFileComparator.java @@ -44,6 +44,10 @@ import java.util.Comparator; */ public class DirectoryFileComparator extends AbstractFileComparator implements Serializable { +private static final int TYPE_FILE = 2; + +private static final int TYPE_DIRECTORY = 1; + private static final long serialVersionUID = 296132640160964395L; /** Singleton default comparator instance */ @@ -72,10 +76,6 @@ public class DirectoryFileComparator extends AbstractFileComparator implements S * @return 1 for directories and 2 for files
Nexus: Staging Repository Dropped
Message from: https://repository.apache.orgDescription:Vote cancelled because of spotbugs.Deployer properties:"userAgent" = "Apache-Maven/3.5.2 (Java 1.8.0_152; Mac OS X 10.13.3)""userId" = "chtompki""ip" = "107.77.203.169"Details:The orgapachecommons-1310 staging repository has been dropped.Action performed by Rob Tompkins (chtompki)
commons-io git commit: Don't need to nest else clause.
Repository: commons-io Updated Branches: refs/heads/master 27fb1044f -> 467386105 Don't need to nest else clause. Project: http://git-wip-us.apache.org/repos/asf/commons-io/repo Commit: http://git-wip-us.apache.org/repos/asf/commons-io/commit/46738610 Tree: http://git-wip-us.apache.org/repos/asf/commons-io/tree/46738610 Diff: http://git-wip-us.apache.org/repos/asf/commons-io/diff/46738610 Branch: refs/heads/master Commit: 467386105ad855e793a09632142c00cd01c5dd10 Parents: 27fb104 Author: Gary GregoryAuthored: Tue Mar 6 09:27:13 2018 -0700 Committer: Gary Gregory Committed: Tue Mar 6 09:27:13 2018 -0700 -- .../org/apache/commons/io/input/Tailer.java | 37 ++-- 1 file changed, 18 insertions(+), 19 deletions(-) -- http://git-wip-us.apache.org/repos/asf/commons-io/blob/46738610/src/main/java/org/apache/commons/io/input/Tailer.java -- diff --git a/src/main/java/org/apache/commons/io/input/Tailer.java b/src/main/java/org/apache/commons/io/input/Tailer.java index 0434e83..3702fc5 100644 --- a/src/main/java/org/apache/commons/io/input/Tailer.java +++ b/src/main/java/org/apache/commons/io/input/Tailer.java @@ -449,25 +449,24 @@ public class Tailer implements Runnable { Thread.sleep(delayMillis); } continue; -} else { -// File was not rotated -// See if the file needs to be read again -if (length > position) { -// The file has more content than it did last time -position = readLines(reader); -last = file.lastModified(); -} else if (newer) { -/* - * This can happen if the file is truncated or overwritten with the exact same length of - * information. In cases like this, the file position needs to be reset - */ -position = 0; -reader.seek(position); // cannot be null here - -// Now we can read new lines -position = readLines(reader); -last = file.lastModified(); -} +} +// File was not rotated +// See if the file needs to be read again +if (length > position) { +// The file has more content than it did last time +position = readLines(reader); +last = file.lastModified(); +} else if (newer) { +/* + * This can happen if the file is truncated or overwritten with the exact same length of + * information. In cases like this, the file position needs to be reset + */ +position = 0; +reader.seek(position); // cannot be null here + +// Now we can read new lines +position = readLines(reader); +last = file.lastModified(); } if (reOpen && reader != null) { reader.close();
commons-io git commit: Better ivar and param names.
Repository: commons-io Updated Branches: refs/heads/master 467386105 -> 9e405ca54 Better ivar and param names. Project: http://git-wip-us.apache.org/repos/asf/commons-io/repo Commit: http://git-wip-us.apache.org/repos/asf/commons-io/commit/9e405ca5 Tree: http://git-wip-us.apache.org/repos/asf/commons-io/tree/9e405ca5 Diff: http://git-wip-us.apache.org/repos/asf/commons-io/diff/9e405ca5 Branch: refs/heads/master Commit: 9e405ca54138b63a4daff58d14d0527fef1e8e66 Parents: 4673861 Author: Gary GregoryAuthored: Tue Mar 6 09:33:04 2018 -0700 Committer: Gary Gregory Committed: Tue Mar 6 09:33:04 2018 -0700 -- src/main/java/org/apache/commons/io/input/Tailer.java | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) -- http://git-wip-us.apache.org/repos/asf/commons-io/blob/9e405ca5/src/main/java/org/apache/commons/io/input/Tailer.java -- diff --git a/src/main/java/org/apache/commons/io/input/Tailer.java b/src/main/java/org/apache/commons/io/input/Tailer.java index 3702fc5..bd9b321 100644 --- a/src/main/java/org/apache/commons/io/input/Tailer.java +++ b/src/main/java/org/apache/commons/io/input/Tailer.java @@ -141,7 +141,7 @@ public class Tailer implements Runnable { /** * The character set that will be used to read the file. */ -private final Charset cset; +private final Charset charset; /** * The amount of time to wait for the file to be updated. @@ -241,14 +241,14 @@ public class Tailer implements Runnable { /** * Creates a Tailer for the given file, with a specified buffer size. * @param file the file to follow. - * @param cset the Charset to be used for reading the file + * @param charset the Charset to be used for reading the file * @param listener the TailerListener to use. * @param delayMillis the delay between checks of the file for new content in milliseconds. * @param end Set to true to tail from the end of the file, false to tail from the beginning of the file. * @param reOpen if true, close and reopen the file between reading chunks * @param bufSize Buffer size */ -public Tailer(final File file, final Charset cset, final TailerListener listener, final long delayMillis, +public Tailer(final File file, final Charset charset, final TailerListener listener, final long delayMillis, final boolean end, final boolean reOpen , final int bufSize) { this.file = file; @@ -261,7 +261,7 @@ public class Tailer implements Runnable { this.listener = listener; listener.init(this); this.reOpen = reOpen; -this.cset = cset; +this.charset = charset; } /** @@ -521,7 +521,7 @@ public class Tailer implements Runnable { switch ( ch ) { case '\n': seenCR = false; // swallow CR before LF -listener.handle(new String(lineBuf.toByteArray(), cset)); +listener.handle(new String(lineBuf.toByteArray(), charset)); lineBuf.reset(); rePos = pos + i + 1; break; @@ -534,7 +534,7 @@ public class Tailer implements Runnable { default: if (seenCR) { seenCR = false; // swallow final CR -listener.handle(new String(lineBuf.toByteArray(), cset)); +listener.handle(new String(lineBuf.toByteArray(), charset)); lineBuf.reset(); rePos = pos + i + 1; }
commons-io git commit: Don't need to nest else clause.
Repository: commons-io Updated Branches: refs/heads/master a653a4487 -> 0f98e790a Don't need to nest else clause. Project: http://git-wip-us.apache.org/repos/asf/commons-io/repo Commit: http://git-wip-us.apache.org/repos/asf/commons-io/commit/0f98e790 Tree: http://git-wip-us.apache.org/repos/asf/commons-io/tree/0f98e790 Diff: http://git-wip-us.apache.org/repos/asf/commons-io/diff/0f98e790 Branch: refs/heads/master Commit: 0f98e790a43b17ae1bb60d264931fb4f13300762 Parents: a653a44 Author: Gary GregoryAuthored: Tue Mar 6 09:45:28 2018 -0700 Committer: Gary Gregory Committed: Tue Mar 6 09:45:28 2018 -0700 -- .../org/apache/commons/io/FilenameUtils.java| 91 +--- 1 file changed, 41 insertions(+), 50 deletions(-) -- http://git-wip-us.apache.org/repos/asf/commons-io/blob/0f98e790/src/main/java/org/apache/commons/io/FilenameUtils.java -- diff --git a/src/main/java/org/apache/commons/io/FilenameUtils.java b/src/main/java/org/apache/commons/io/FilenameUtils.java index fbcfc27..e638813 100644 --- a/src/main/java/org/apache/commons/io/FilenameUtils.java +++ b/src/main/java/org/apache/commons/io/FilenameUtils.java @@ -500,9 +500,8 @@ public class FilenameUtils { final char ch = basePath.charAt(len - 1); if (isSeparator(ch)) { return normalize(basePath + fullFilenameToAdd); -} else { -return normalize(basePath + '/' + fullFilenameToAdd); } +return normalize(basePath + '/' + fullFilenameToAdd); } /** @@ -586,9 +585,8 @@ public class FilenameUtils { } if (isSystemWindows()) { return separatorsToWindows(path); -} else { -return separatorsToUnix(path); } +return separatorsToUnix(path); } //--- @@ -647,42 +645,41 @@ public class FilenameUtils { return 2; // return a length greater than the input } return isSeparator(ch0) ? 1 : 0; -} else { -if (ch0 == '~') { -int posUnix = filename.indexOf(UNIX_SEPARATOR, 1); -int posWin = filename.indexOf(WINDOWS_SEPARATOR, 1); -if (posUnix == NOT_FOUND && posWin == NOT_FOUND) { -return len + 1; // return a length greater than the input -} -posUnix = posUnix == NOT_FOUND ? posWin : posUnix; -posWin = posWin == NOT_FOUND ? posUnix : posWin; -return Math.min(posUnix, posWin) + 1; +} +if (ch0 == '~') { +int posUnix = filename.indexOf(UNIX_SEPARATOR, 1); +int posWin = filename.indexOf(WINDOWS_SEPARATOR, 1); +if (posUnix == NOT_FOUND && posWin == NOT_FOUND) { +return len + 1; // return a length greater than the input } -final char ch1 = filename.charAt(1); -if (ch1 == ':') { -ch0 = Character.toUpperCase(ch0); -if (ch0 >= 'A' && ch0 <= 'Z') { -if (len == 2 || isSeparator(filename.charAt(2)) == false) { -return 2; -} -return 3; -} else if (ch0 == UNIX_SEPARATOR) { -return 1; +posUnix = posUnix == NOT_FOUND ? posWin : posUnix; +posWin = posWin == NOT_FOUND ? posUnix : posWin; +return Math.min(posUnix, posWin) + 1; +} +final char ch1 = filename.charAt(1); +if (ch1 == ':') { +ch0 = Character.toUpperCase(ch0); +if (ch0 >= 'A' && ch0 <= 'Z') { +if (len == 2 || isSeparator(filename.charAt(2)) == false) { +return 2; } -return NOT_FOUND; +return 3; +} else if (ch0 == UNIX_SEPARATOR) { +return 1; +} +return NOT_FOUND; -} else if (isSeparator(ch0) && isSeparator(ch1)) { -int posUnix = filename.indexOf(UNIX_SEPARATOR, 2); -int posWin = filename.indexOf(WINDOWS_SEPARATOR, 2); -if (posUnix == NOT_FOUND && posWin == NOT_FOUND || posUnix == 2 || posWin == 2) { -return NOT_FOUND; -} -posUnix = posUnix == NOT_FOUND ? posWin : posUnix; -posWin = posWin == NOT_FOUND ? posUnix : posWin; -return Math.min(posUnix, posWin) + 1; -} else { -return isSeparator(ch0) ? 1 : 0; +} else if (isSeparator(ch0) && isSeparator(ch1)) { +int posUnix =
Nexus: Staging Completed
Message from: https://repository.apache.orgDescription:Staging commons-parent-44-RC1Deployer properties:"userAgent" = "Apache-Maven/3.5.2 (Java 1.8.0_152; Mac OS X 10.13.3)""userId" = "chtompki""ip" = "107.77.203.169"Details:The following artifacts have been staged/org/apache/commons/commons-parent/44/commons-parent-44-site.xml(SHA1: 02b3b54d26d97a72fd55b20d027040ca0daf52b7)/org/apache/commons/commons-parent/44/commons-parent-44-site.xml.asc(SHA1: 06cc8f3c9e28f4aa6837752856e3e06db1206a9b)/org/apache/commons/commons-parent/44/commons-parent-44.pom.asc(SHA1: c289e9b495738e47d69de3735bbabe766595)/org/apache/commons/commons-parent/44/commons-parent-44.pom(SHA1: 17c5c812fa8edbb477336fa29d2f4352464d320b)Action performed by Rob Tompkins (chtompki)