Fix 1 ErrorProneStyle finding:
* The Google Java Style Guide requires that each switch statement includes a default statement group, even if it contains no code. (This requirement is lifted for any switch statement that covers all values of an enum.)
(see []
@@ -156,6 +156,8 @@ public final class Lexer {
// close-quote, all done.
return new Token(bufferSlice(oldPos + 1, pos - 1));
}
+ break;
+ default: // fall out
}
}
throw new QuerySyntaxException("unclosed quotation");
