Skip to content

Commit 0c902f0

Browse files
Lubos KoscoLubos Kosco
authored andcommitted
auto format code
1 parent 9c4ded6 commit 0c902f0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/org/opensolaris/opengrok/search/QueryBuilder.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,8 @@ private String escapeQueryString(String field, String query) {
271271
case PATH:
272272
// workaround for replacing / with escaped / - needed since lucene 4.x
273273
if (!(query.startsWith("/") && query.endsWith("/"))) {
274-
return (query.replace(":", "\\:")).replace("/", "\\/"); }
274+
return (query.replace(":", "\\:")).replace("/", "\\/");
275+
}
275276
// Other fields shouldn't use qualified terms, so escape colons
276277
// so that we can search for them.
277278
default:

0 commit comments

Comments
 (0)