Repository: commons-io
Updated Branches:
  refs/heads/master 86cc77e21 -> d3fc1a287


Modifier 'private' is redundant for enum constructors. (closes #53)


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

Branch: refs/heads/master
Commit: d3fc1a2877c165a57949414f5737ef00ffcd867d
Parents: 86cc77e
Author: shahab <shahab.kon...@gmail.com>
Authored: Fri Jan 12 18:06:51 2018 -0500
Committer: pascalschumacher <pascalschumac...@gmx.net>
Committed: Sun Jan 14 10:54:20 2018 +0100

----------------------------------------------------------------------
 src/main/java/org/apache/commons/io/FileSystem.java | 4 ++--
 src/main/java/org/apache/commons/io/IOCase.java     | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-io/blob/d3fc1a28/src/main/java/org/apache/commons/io/FileSystem.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/io/FileSystem.java 
b/src/main/java/org/apache/commons/io/FileSystem.java
index 820f229..0bd3872 100644
--- a/src/main/java/org/apache/commons/io/FileSystem.java
+++ b/src/main/java/org/apache/commons/io/FileSystem.java
@@ -194,8 +194,8 @@ public enum FileSystem {
      * @param reservedFileNames
      *            the reserved file names.
      */
-    private FileSystem(final int maxFileLength, final int maxPathLength, final 
char[] illegalFileNameChars,
-            final String[] reservedFileNames) {
+    FileSystem(final int maxFileLength, final int maxPathLength, final char[] 
illegalFileNameChars,
+               final String[] reservedFileNames) {
         this.maxFileNameLength = maxFileLength;
         this.maxPathLength = maxPathLength;
         this.illegalFileNameChars = 
Objects.requireNonNull(illegalFileNameChars, "illegalFileNameChars");

http://git-wip-us.apache.org/repos/asf/commons-io/blob/d3fc1a28/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 a0b2e32..58e96a5 100644
--- a/src/main/java/org/apache/commons/io/IOCase.java
+++ b/src/main/java/org/apache/commons/io/IOCase.java
@@ -89,12 +89,12 @@ public enum IOCase implements Serializable {
 
     //-----------------------------------------------------------------------
     /**
-     * Private constructor.
+     * Constructs a new instance.
      *
      * @param name  the name
      * @param sensitive  the sensitivity
      */
-    private IOCase(final String name, final boolean sensitive) {
+    IOCase(final String name, final boolean sensitive) {
         this.name = name;
         this.sensitive = sensitive;
     }

Reply via email to