| OLD | NEW |
| 1 library java.engine; | 1 library java.engine; |
| 2 | 2 |
| 3 class StringUtilities { | 3 class StringUtilities { |
| 4 static List<String> EMPTY_ARRAY = new List(0); | 4 static List<String> EMPTY_ARRAY = new List(0); |
| 5 } | 5 } |
| 6 | 6 |
| 7 class FileNameUtilities { | 7 class FileNameUtilities { |
| 8 static String getExtension(String fileName) { | 8 static String getExtension(String fileName) { |
| 9 if (fileName == null) { | 9 if (fileName == null) { |
| 10 return ""; | 10 return ""; |
| 11 } | 11 } |
| 12 int index = fileName.lastIndexOf('.'); | 12 int index = fileName.lastIndexOf('.'); |
| 13 if (index >= 0) { | 13 if (index >= 0) { |
| 14 return fileName.substring(index + 1); | 14 return fileName.substring(index + 1); |
| 15 } | 15 } |
| 16 return ""; | 16 return ""; |
| 17 } | 17 } |
| 18 } | 18 } |
| OLD | NEW |