]> source.dussan.org Git - jgit.git/commitdiff
Silence deprecation warning in DirCacheCheckout 07/45707/7
authorMatthias Sohn <matthias.sohn@sap.com>
Sat, 11 Apr 2015 23:01:14 +0000 (01:01 +0200)
committerMatthias Sohn <matthias.sohn@sap.com>
Thu, 28 May 2015 22:15:33 +0000 (00:15 +0200)
Change-Id: I9e021ba2e0d1317bd98e86f832d55787ed6b0a63
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
org.eclipse.jgit/src/org/eclipse/jgit/dircache/DirCacheCheckout.java

index f316ea99a1c230444cf71d8e394f75ebcfd64eb2..00252547db818f6eade0c717b6f5db816ba353cd 100644 (file)
@@ -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()