]> source.dussan.org Git - jgit.git/commit
Use java.nio.file consistently in FS 90/56390/3
authorMatthias Sohn <matthias.sohn@sap.com>
Mon, 21 Sep 2015 23:17:18 +0000 (01:17 +0200)
committerMatthias Sohn <matthias.sohn@sap.com>
Sun, 27 Sep 2015 20:24:06 +0000 (22:24 +0200)
commit9e5380e7fb797e83b6f6b5754249bea4cae534e7
tree76a412f1bab35bbca849f2a62e725b48e71c1951
parentd35245e906c0a1dcbd50173150ea1eb0697ce71c
Use java.nio.file consistently in FS

Since 4.0 we require Java 7 so there is no longer a need to override the
following methods in FS_POSIX, FS_Win32, FS_Win32_Cygwin
- lastModified()
- setLastModified()
- length()
- isSymlink()
- exists()
- isDirectory()
- isFile()
- isHidden()
Hence implement these methods in FS and remove overrides in subclasses.

Change-Id: I5dbde6ec806c66c86ac542978918361461021294
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
org.eclipse.jgit/resources/org/eclipse/jgit/internal/JGitText.properties
org.eclipse.jgit/src/org/eclipse/jgit/internal/JGitText.java
org.eclipse.jgit/src/org/eclipse/jgit/util/FS.java
org.eclipse.jgit/src/org/eclipse/jgit/util/FS_POSIX.java
org.eclipse.jgit/src/org/eclipse/jgit/util/FS_Win32.java
org.eclipse.jgit/src/org/eclipse/jgit/util/FS_Win32_Cygwin.java