creadur-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1625401 - in /creadur/rat/trunk/apache-rat-core/src/main/java/org/apache/rat/document/impl/guesser: ArchiveGuesser.java BinaryGuesser.java NoteGuesser.java
Date Tue, 16 Sep 2014 21:32:59 GMT
Author: sebb
Date: Tue Sep 16 21:32:59 2014
New Revision: 1625401

URL: http://svn.apache.org/r1625401
Log:
RAT-177 - final arrays should be private

Modified:
    creadur/rat/trunk/apache-rat-core/src/main/java/org/apache/rat/document/impl/guesser/ArchiveGuesser.java
    creadur/rat/trunk/apache-rat-core/src/main/java/org/apache/rat/document/impl/guesser/BinaryGuesser.java
    creadur/rat/trunk/apache-rat-core/src/main/java/org/apache/rat/document/impl/guesser/NoteGuesser.java

Modified: creadur/rat/trunk/apache-rat-core/src/main/java/org/apache/rat/document/impl/guesser/ArchiveGuesser.java
URL: http://svn.apache.org/viewvc/creadur/rat/trunk/apache-rat-core/src/main/java/org/apache/rat/document/impl/guesser/ArchiveGuesser.java?rev=1625401&r1=1625400&r2=1625401&view=diff
==============================================================================
--- creadur/rat/trunk/apache-rat-core/src/main/java/org/apache/rat/document/impl/guesser/ArchiveGuesser.java
(original)
+++ creadur/rat/trunk/apache-rat-core/src/main/java/org/apache/rat/document/impl/guesser/ArchiveGuesser.java
Tue Sep 16 21:32:59 2014
@@ -26,7 +26,7 @@ public class ArchiveGuesser {
 
     private static final String DOT = ".";
 
-    public static final String[] ARCHIVE_EXTENSIONS = {
+    private static final String[] ARCHIVE_EXTENSIONS = {
         "jar", "gz",
         "zip", "tar",
         "bz", "bz2",

Modified: creadur/rat/trunk/apache-rat-core/src/main/java/org/apache/rat/document/impl/guesser/BinaryGuesser.java
URL: http://svn.apache.org/viewvc/creadur/rat/trunk/apache-rat-core/src/main/java/org/apache/rat/document/impl/guesser/BinaryGuesser.java?rev=1625401&r1=1625400&r2=1625401&view=diff
==============================================================================
--- creadur/rat/trunk/apache-rat-core/src/main/java/org/apache/rat/document/impl/guesser/BinaryGuesser.java
(original)
+++ creadur/rat/trunk/apache-rat-core/src/main/java/org/apache/rat/document/impl/guesser/BinaryGuesser.java
Tue Sep 16 21:32:59 2014
@@ -227,7 +227,7 @@ public class BinaryGuesser {
             || BinaryGuesser.isBinaryData(normalisedName) || BinaryGuesser.isExecutable(normalisedName);
     }
 
-    public static final String[] DATA_EXTENSIONS = {
+    private static final String[] DATA_EXTENSIONS = {
         "DAT", "DOC",
         "NCB", "IDB",
         "SUO", "XCF",
@@ -235,22 +235,26 @@ public class BinaryGuesser {
         "KS", "TS",
         "ODP",
     };
-    public static final String[] EXE_EXTENSIONS = {
+
+    private static final String[] EXE_EXTENSIONS = {
         "EXE", "DLL",
         "LIB", "SO",
         "A", "EXP",
     };
-    public static final String[] KEYSTORE_EXTENSIONS = {
+
+    private static final String[] KEYSTORE_EXTENSIONS = {
         "JKS", "KEYSTORE", "PEM", "CRL"
     };
-    public static final String[] IMAGE_EXTENSIONS = {
+
+    private static final String[] IMAGE_EXTENSIONS = {
         "PNG", "PDF",
         "GIF", "GIFF",
         "TIF", "TIFF",
         "JPG", "JPEG",
         "ICO", "ICNS",
     };
-    public static final String[] BYTECODE_EXTENSIONS = {
+
+    private static final String[] BYTECODE_EXTENSIONS = {
         "CLASS", "PYD",
         "OBJ", "PYC",
     };
@@ -258,7 +262,7 @@ public class BinaryGuesser {
     /**
      * Based on http://www.apache.org/dev/svn-eol-style.txt
      */
-    public static final String[] NON_BINARY_EXTENSIONS = {
+    private static final String[] NON_BINARY_EXTENSIONS = {
         "AART",
         "AC",
         "AM",

Modified: creadur/rat/trunk/apache-rat-core/src/main/java/org/apache/rat/document/impl/guesser/NoteGuesser.java
URL: http://svn.apache.org/viewvc/creadur/rat/trunk/apache-rat-core/src/main/java/org/apache/rat/document/impl/guesser/NoteGuesser.java?rev=1625401&r1=1625400&r2=1625401&view=diff
==============================================================================
--- creadur/rat/trunk/apache-rat-core/src/main/java/org/apache/rat/document/impl/guesser/NoteGuesser.java
(original)
+++ creadur/rat/trunk/apache-rat-core/src/main/java/org/apache/rat/document/impl/guesser/NoteGuesser.java
Tue Sep 16 21:32:59 2014
@@ -27,7 +27,7 @@ public class NoteGuesser {
 
     private static final String DOT = ".";
 
-    public static final String[] NOTE_FILE_NAMES = {
+    private static final String[] NOTE_FILE_NAMES = {
         "NOTICE", "LICENSE",
         "LICENSE.TXT", "NOTICE.TXT",
         "INSTALL", "INSTALL.TXT",
@@ -47,7 +47,8 @@ public class NoteGuesser {
         "BUILDING", "BUILDING.TXT",
         "BUILD", "BUILT.TXT",
     };
-    public static final String[] NOTE_FILE_EXTENSIONS = {
+
+    private static final String[] NOTE_FILE_EXTENSIONS = {
         "LICENSE", "LICENSE.TXT",
         "NOTICE", "NOTICE.TXT",
     };



Mime
View raw message