diff --git a/error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/ErrorProneTestHelperSourceFormatCheck.java b/error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/ErrorProneTestHelperSourceFormatCheck.java index ced81e1ad4d..94523bd1207 100644 --- a/error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/ErrorProneTestHelperSourceFormatCheck.java +++ b/error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/ErrorProneTestHelperSourceFormatCheck.java @@ -84,7 +84,7 @@ public Description matchMethodInvocation(MethodInvocationTree tree, VisitorState int startPos = ASTHelpers.getStartPosition(sourceLines.get(0)); int endPos = state.getEndPosition(sourceLines.get(sourceLines.size() - 1)); - /* Attempt to format the source code only if it fully consists of constant expression. */ + /* Attempt to format the source code only if it fully consists of constant expressions. */ return getConstantSourceCode(sourceLines) .map(source -> flagFormattingIssues(startPos, endPos, source, isOutputSource, state)) .orElse(Description.NO_MATCH);