Skip to content

Commit b5dd416

Browse files
Vladimir Kotalahornace
authored andcommitted
chained append()
1 parent 24b7c16 commit b5dd416

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ Executor getHistoryLogExecutor(File file, String sinceRevision, String tillRevis
192192
} else {
193193
// If this is non-default branch we would like to get the changesets
194194
// on that branch and also follow any changesets from the parent branch.
195-
stringBuilder.append("'" + getBranch() + "'");
195+
stringBuilder.append("'").append(getBranch()).append("'");
196196
}
197197
if (!revisionsOnly) {
198198
stringBuilder.append(")");

0 commit comments

Comments
 (0)