Skip to content

Commit 275d251

Browse files
author
Vladimir Kotal
committed
remove redundant code
1 parent 2a63f72 commit 275d251

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

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

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -327,8 +327,7 @@ private String findOriginalName(String fullpath, String full_rev_to_find)
327327

328328
if (!content.isEmpty()) {
329329
/*
330-
* Split string of 'newfile1 (oldfile1)newfile2
331-
* (oldfile2) ...' into pairs of renames.
330+
* Split string of 'newfile1 (oldfile1)newfile2 (oldfile2) ...' into pairs of renames.
332331
*/
333332
String[] splitArray = content.split("\\)");
334333
for (String s : splitArray) {
@@ -343,10 +342,6 @@ private String findOriginalName(String fullpath, String full_rev_to_find)
343342
}
344343
}
345344
}
346-
347-
if (rev.equals(rev_to_find)) {
348-
break;
349-
}
350345
}
351346
}
352347

0 commit comments

Comments
 (0)