From e70aa06a3670a1861a635e8d09eaef35076a4810 Mon Sep 17 00:00:00 2001 From: ghm Date: Wed, 18 Oct 2023 03:46:16 -0700 Subject: [PATCH] Drop the period from the MemberName diagnostic, given we're concatenating something onto it in some paths. PiperOrigin-RevId: 574426317 --- .../main/java/com/google/errorprone/bugpatterns/MemberName.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/main/java/com/google/errorprone/bugpatterns/MemberName.java b/core/src/main/java/com/google/errorprone/bugpatterns/MemberName.java index d8c6c00942ea..d0c84aecae19 100644 --- a/core/src/main/java/com/google/errorprone/bugpatterns/MemberName.java +++ b/core/src/main/java/com/google/errorprone/bugpatterns/MemberName.java @@ -63,7 +63,7 @@ /** Flags a few ways in which member names may violate the style guide. */ @BugPattern( severity = WARNING, - summary = "Methods and non-static variables should be named in lowerCamelCase.", + summary = "Methods and non-static variables should be named in lowerCamelCase", linkType = CUSTOM, link = "https://google.github.io/styleguide/javaguide.html#s5.2-specific-identifier-names") public final class MemberName extends BugChecker implements MethodTreeMatcher, VariableTreeMatcher {