Skip to content

Commit f5d1dbd

Browse files
author
Vladimir Kotal
committed
tidy up
1 parent 8a15dae commit f5d1dbd

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

opengrok-indexer/src/main/java/org/opengrok/indexer/history/GitRepository.java

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -232,13 +232,12 @@ boolean getHistoryGet(OutputStream out, String parent, String basename, String r
232232
return result.success;
233233
}
234234

235-
private String getPathRelativeToCanonicalRepositoryRoot(String fullpath)
236-
throws IOException {
235+
private String getPathRelativeToCanonicalRepositoryRoot(String fullPath) throws IOException {
237236
String repoPath = getCanonicalDirectoryName() + File.separator;
238-
if (fullpath.startsWith(repoPath)) {
239-
return fullpath.substring(repoPath.length());
237+
if (fullPath.startsWith(repoPath)) {
238+
return fullPath.substring(repoPath.length());
240239
}
241-
return fullpath;
240+
return fullPath;
242241
}
243242

244243
/**

0 commit comments

Comments
 (0)