Put back some whitespace

This commit is contained in:
alansley 2024-01-17 13:01:55 +11:00
parent 42e58c477b
commit cab1ffec1e

View File

@ -218,6 +218,7 @@ public class SearchRepository {
*/
private String sanitizeQuery(@NonNull String query) {
StringBuilder out = new StringBuilder();
for (int i = 0; i < query.length(); i++) {
char c = query.charAt(i);
if (!BANNED_CHARACTERS.contains(c)) {
@ -226,6 +227,7 @@ public class SearchRepository {
out.append(' ');
}
}
return out.toString();
}