()
| 1461 | // } |
| 1462 | |
| 1463 | private String getAbsoluteName() { |
| 1464 | File f = getAbsoluteFile(); |
| 1465 | String name = f.getPath(); |
| 1466 | |
| 1467 | if (f.isDirectory() && name.charAt(name.length() - 1) != separatorChar) { |
| 1468 | // Directories must end with a slash |
| 1469 | name = new StringBuilder(name.length() + 1).append(name) |
| 1470 | .append('/').toString(); |
| 1471 | } |
| 1472 | if (separatorChar != '/') { // Must convert slashes. |
| 1473 | name = name.replace(separatorChar, '/'); |
| 1474 | } |
| 1475 | return name; |
| 1476 | } |
| 1477 | |
| 1478 | // private void writeObject(ObjectOutputStream stream) throws IOException { |
| 1479 | // stream.defaultWriteObject(); |
no test coverage detected