Skip to content

Commit a90b366

Browse files
committed
remove unused method
1 parent 28c2c13 commit a90b366

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
@@ -1857,15 +1857,6 @@ public boolean isNotModified(HttpServletRequest request, HttpServletResponse res
18571857
);
18581858
}
18591859

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

0 commit comments

Comments
 (0)