Skip to content

Commit 1f44b29

Browse files
committed
[java] Format long JsonException throws to satisfy google-java-format
1 parent 87638c5 commit 1f44b29

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

java/src/org/openqa/selenium/json/JsonInput.java

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -326,8 +326,7 @@ public boolean hasNext() {
326326

327327
if (input.peek() == ',') {
328328
if (!seenElement) {
329-
throw new JsonException(
330-
"Unexpected ',' before first element of container. " + input);
329+
throw new JsonException("Unexpected ',' before first element of container. " + input);
331330
}
332331
input.read();
333332
skipWhitespace(input);
@@ -341,8 +340,7 @@ public boolean hasNext() {
341340
return false;
342341
}
343342
if (seenElement) {
344-
throw new JsonException(
345-
"Expected ',' or end of container but saw " + type + ". " + input);
343+
throw new JsonException("Expected ',' or end of container but saw " + type + ". " + input);
346344
}
347345
return true;
348346
}

0 commit comments

Comments
 (0)