Modifier 'private' is redundant for enum constructors. (closes
MODIFY
src/main/java/org/apache/commons/io/FileSystem.java
src/main/java/org/apache/commons/io/FileSystem.java
@@ -194,7 +194,7 @@ private static boolean isOsNameMatch(final String osName, final String osNamePre
* @param reservedFileNames
* the reserved file names.
*/
- private FileSystem(final int maxFileLength, final int maxPathLength, final char[] illegalFileNameChars,
+ FileSystem(final int maxFileLength, final int maxPathLength, final char[] illegalFileNameChars,
final String[] reservedFileNames) {
this.maxFileNameLength = maxFileLength;
this.maxPathLength = maxPathLength;

MODIFY
src/main/java/org/apache/commons/io/IOCase.java
src/main/java/org/apache/commons/io/IOCase.java
@@ -89,12 +89,12 @@ public static IOCase forName(final String name) {
//-----------------------------------------------------------------------
/**
- * 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;
}

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