(String path)
| 110 | // directory when starting the IDE (which is not the same as the |
| 111 | // current working directory!). |
| 112 | static public File absoluteFile(String path) { |
| 113 | if (path == null) return null; |
| 114 | |
| 115 | File file = new File(path); |
| 116 | if (!file.isAbsolute()) { |
| 117 | file = new File(currentDirectory, path); |
| 118 | } |
| 119 | return file; |
| 120 | } |
| 121 | |
| 122 | /** |
| 123 | * Get the number of lines in a file by counting the number of newline |
no outgoing calls
no test coverage detected