OSDN Git Service

StaticUtils to be package private
authorHiroshi Miura <miurahr@linux.com>
Sat, 9 Apr 2016 06:43:22 +0000 (15:43 +0900)
committerHiroshi Miura <miurahr@linux.com>
Sat, 9 Apr 2016 06:43:22 +0000 (15:43 +0900)
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
dictzip-cli/src/main/java/org/dict/zip/cli/StaticUtils.java

index 2836ab7..43781cd 100644 (file)
@@ -10,7 +10,7 @@ import java.util.Arrays;
  * Created by Hiroshi Miura on 16/04/09.
  * @author Hiroshi Miura
  */
-public class StaticUtils {
+class StaticUtils {
    /**
     * Compare binary files. Both files must be files (not directories) and exist.
     *
@@ -19,7 +19,7 @@ public class StaticUtils {
     * @return boolean - true if files are binery equal
     * @throws IOException - error in function
     */
-   public static boolean isFileBinaryEquals(File first, File second) throws IOException {
+   static boolean isFileBinaryEquals(File first, File second) throws IOException {
       return isFileBinaryEquals(first, second, 0, first.length());
    }