summaryrefslogtreecommitdiffstats
path: root/org.eclipse.jgit
diff options
context:
space:
mode:
authorMatthias Sohn <matthias.sohn@sap.com>2015-04-12 01:01:14 +0200
committerMatthias Sohn <matthias.sohn@sap.com>2015-05-29 00:15:33 +0200
commit17307df3af722b9fcb5a90ebea03505a7a82faf0 (patch)
tree14d0b051f34f20b4d5566dd78b92946b040a73b7 /org.eclipse.jgit
parentfaae5cdb5be65547f7d681108f9a194e8da748f5 (diff)
downloadjgit-17307df3af722b9fcb5a90ebea03505a7a82faf0.tar.gz
jgit-17307df3af722b9fcb5a90ebea03505a7a82faf0.zip
Silence deprecation warning in DirCacheCheckout
Change-Id: I9e021ba2e0d1317bd98e86f832d55787ed6b0a63 Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
Diffstat (limited to 'org.eclipse.jgit')
-rw-r--r--org.eclipse.jgit/src/org/eclipse/jgit/dircache/DirCacheCheckout.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/dircache/DirCacheCheckout.java b/org.eclipse.jgit/src/org/eclipse/jgit/dircache/DirCacheCheckout.java
index f316ea99a1..00252547db 100644
--- a/org.eclipse.jgit/src/org/eclipse/jgit/dircache/DirCacheCheckout.java
+++ b/org.eclipse.jgit/src/org/eclipse/jgit/dircache/DirCacheCheckout.java
@@ -1192,6 +1192,7 @@ public class DirCacheCheckout {
entry.setLastModified(f.lastModified());
}
+ @SuppressWarnings("deprecation")
private static void checkValidPath(CanonicalTreeParser t)
throws InvalidPathException {
ObjectChecker chk = new ObjectChecker()