Skip to content

Commit

Permalink
Small cleanup (#15964)
Browse files Browse the repository at this point in the history
* Minor formatting and syntax cleanup

* One more syntax cleanup
  • Loading branch information
Dan Torrey authored Jul 17, 2023
1 parent 3282147 commit 950b8e8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -903,7 +903,7 @@ public Builder mergeFrom(
}
private com.google.protobuf.MapField<java.lang.Integer, com.google.protobuf.ByteString>
internalGetMutableTemplates() {
onChanged();;
onChanged();
if (templates_ == null) {
templates_ = com.google.protobuf.MapField.newMapField(
TemplatesDefaultEntryHolder.defaultEntry);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ public GrokResult evaluate(FunctionArgs args, EvaluationContext context) {

final Grok grok = grokPatternRegistry.cachedGrokForPattern(pattern, onlyNamedCaptures);

final Match match = grok.match(value);;
final Match match = grok.match(value);
return new GrokResult(match.captureFlattened());
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1339,7 +1339,7 @@ public void stringEntropy() {
assertThat(message.getField("one_entropy")).isEqualTo(1.0D);
}

@ Test
@Test
public void notExpressionTypeCheck() {
try {
Rule rule = parser.parseRule(ruleForTest(), true);
Expand Down

0 comments on commit 950b8e8

Please sign in to comment.