diff --git a/app/src/org/commcare/utils/FileUtil.java b/app/src/org/commcare/utils/FileUtil.java index a65c33b5f..3128f0e45 100644 --- a/app/src/org/commcare/utils/FileUtil.java +++ b/app/src/org/commcare/utils/FileUtil.java @@ -121,7 +121,7 @@ public static boolean cleanFilePath(String fullPath, String extendedPath) { private static final String illegalChars = "'*','+'~|<> !?:./\\"; - public static String sanitizeFileName(String input) { + public static String SanitizeFileName(String input) { for (char c : illegalChars.toCharArray()) { input = input.replace(c, '_'); } @@ -356,7 +356,7 @@ public static String getGlobalStringUri(String fileLocation) { return "file://" + fileLocation; } - public static Reference checkReferenceUri(String uri) throws InvalidReferenceException { + public static void checkReferenceURI(Resource r, String URI, Vector problems) throws InvalidReferenceException { Reference mRef = ReferenceManager.instance().DeriveReference(uri); String mLocalReference = mRef.getLocalURI(); try {