project_files/Android-build/SDL-android-project/src/org/hedgewars/mobile/Utils.java
equal
deleted
inserted
replaced
66 for(String s : f.list()){ |
66 for(String s : f.list()){ |
67 if(s.endsWith(suffix)) return true; |
67 if(s.endsWith(suffix)) return true; |
68 } |
68 } |
69 return false; |
69 return false; |
70 }else{ |
70 }else{ |
71 throw new IllegalArgumentException("Not a directory.. f = " + f.getAbsolutePath()); |
71 return false; |
72 } |
72 } |
73 } |
73 } |
74 |
74 |
75 public static String[] getDirsWithFileSuffix(Context c, String path, String fileSuffix){ |
75 public static String[] getDirsWithFileSuffix(Context c, String path, String fileSuffix){ |
76 File[] files = getFilesFromRelativeDir(c,path); |
76 File[] files = getFilesFromRelativeDir(c,path); |