Skip to content

Commit 0976cd2

Browse files
committed
Remove serialVersionUID and AutoService annotation to fix the test
1 parent b7df44a commit 0976cd2

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

core/src/main/java/com/google/errorprone/bugpatterns/MissingRefasterAnnotation.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121
import static com.google.errorprone.matchers.Matchers.anyOf;
2222
import static com.google.errorprone.matchers.Matchers.isType;
2323

24-
import com.google.auto.service.AutoService;
2524
import com.google.errorprone.BugPattern;
2625
import com.google.errorprone.BugPattern.LinkType;
2726
import com.google.errorprone.BugPattern.SeverityLevel;
@@ -37,15 +36,13 @@
3736
import com.sun.source.tree.Tree;
3837

3938
/** A {@link BugChecker}; see the associated {@link BugPattern} annotation for details. */
40-
@AutoService(BugChecker.class)
4139
@BugPattern(
4240
name = "MissingRefasterAnnotation",
4341
summary = "The Refaster template contains a method without any Refaster annotations",
4442
linkType = LinkType.NONE,
4543
severity = SeverityLevel.WARNING,
4644
tags = StandardTags.LIKELY_ERROR)
4745
public final class MissingRefasterAnnotation extends BugChecker implements ClassTreeMatcher {
48-
private static final long serialVersionUID = 1L;
4946
private static final MultiMatcher<Tree, AnnotationTree> HAS_REFASTER_ANNOTATION =
5047
annotations(
5148
AT_LEAST_ONE,

0 commit comments

Comments
 (0)