mirror of
https://github.com/corda/corda.git
synced 2025-06-16 22:28:15 +00:00
Adds separatorChar and pathSeparatorChar fields to File ...
... and fixes a bug which caused path.separator to always return null.
This commit is contained in:
@ -16,11 +16,15 @@ public class File implements Serializable {
|
||||
|
||||
public static final String separator = FileSeparator;
|
||||
|
||||
public static final char separatorChar = FileSeparator.charAt(0);
|
||||
|
||||
private static final String PathSeparator
|
||||
= System.getProperty("path.separator");
|
||||
|
||||
public static final String pathSeparator = PathSeparator;
|
||||
|
||||
public static final char pathSeparatorChar = PathSeparator.charAt(0);
|
||||
|
||||
// static {
|
||||
// System.loadLibrary("natives");
|
||||
// }
|
||||
|
Reference in New Issue
Block a user