Merge "Reduce visibility of DirCacheCheckout.checkValidPath()"
This commit is contained in:
commit
429e96eab6
|
@ -1284,10 +1284,8 @@ private static void checkValidPath(CanonicalTreeParser t)
|
||||||
* @throws InvalidPathException
|
* @throws InvalidPathException
|
||||||
* if the path is invalid
|
* if the path is invalid
|
||||||
* @since 3.3
|
* @since 3.3
|
||||||
* @deprecated Use {@link SystemReader#checkPath(String)}.
|
|
||||||
*/
|
*/
|
||||||
@Deprecated
|
static void checkValidPath(String path) throws InvalidPathException {
|
||||||
public static void checkValidPath(String path) throws InvalidPathException {
|
|
||||||
try {
|
try {
|
||||||
SystemReader.getInstance().checkPath(path);
|
SystemReader.getInstance().checkPath(path);
|
||||||
} catch (CorruptObjectException e) {
|
} catch (CorruptObjectException e) {
|
||||||
|
|
Loading…
Reference in New Issue