Extract the suffix from a given filename. For example, given "std-0.3.2.zip" we return "zip". @param t @return
(String t)
| 224 | * @return |
| 225 | */ |
| 226 | private static String getSuffix(String t) { |
| 227 | int i = t.lastIndexOf('.'); |
| 228 | if (i >= 0) { |
| 229 | return t.substring(i + 1); |
| 230 | } else { |
| 231 | return null; |
| 232 | } |
| 233 | } |
| 234 | |
| 235 | /** |
| 236 | * Read a Whiley source file from the file system. |
no outgoing calls
no test coverage detected