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 015d9d6a8..99e022bfe 100644 --- a/org.eclipse.jgit/src/org/eclipse/jgit/dircache/DirCacheCheckout.java +++ b/org.eclipse.jgit/src/org/eclipse/jgit/dircache/DirCacheCheckout.java @@ -1284,10 +1284,8 @@ public class DirCacheCheckout { * @throws InvalidPathException * if the path is invalid * @since 3.3 - * @deprecated Use {@link SystemReader#checkPath(String)}. */ - @Deprecated - public static void checkValidPath(String path) throws InvalidPathException { + static void checkValidPath(String path) throws InvalidPathException { try { SystemReader.getInstance().checkPath(path); } catch (CorruptObjectException e) {