Skip to content

Commit bbbef58

Browse files
committed
remove unused method
1 parent ad33a26 commit bbbef58

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

opengrok-web/src/main/java/org/opengrok/web/PageConfig.java

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1856,15 +1856,6 @@ public boolean isNotModified(HttpServletRequest request, HttpServletResponse res
18561856
);
18571857
}
18581858

1859-
/**
1860-
* @param root root path
1861-
* @param path path
1862-
* @return path relative to root
1863-
*/
1864-
public static String getRelativePath(String root, String path) {
1865-
return Paths.get(root).relativize(Paths.get(path)).toString();
1866-
}
1867-
18681859
/**
18691860
* Determines whether a match offset from a search result has been indicated,
18701861
* and if so tries to calculate a translated xref fragment identifier.

0 commit comments

Comments
 (0)