Skip to content

Commit

Permalink
Stop passing unused VisitorState to SuppressionHelper.
Browse files Browse the repository at this point in the history
MOE_MIGRATED_REVID=211489937
  • Loading branch information
awturner authored and cushon committed Sep 13, 2018
1 parent ca3356d commit 65d9693
Show file tree
Hide file tree
Showing 3 changed files with 60 additions and 61 deletions.
Expand Up @@ -51,10 +51,8 @@ public class SuppressionHelper {
/**
* @param customSuppressionAnnotations The set of custom suppression annotations that this
* SuppressionHelper should look for.
* @param state the {@link VisitorState} of the current analysis.
*/
public SuppressionHelper(
Set<Class<? extends Annotation>> customSuppressionAnnotations, VisitorState state) {
public SuppressionHelper(Set<Class<? extends Annotation>> customSuppressionAnnotations) {
if (customSuppressionAnnotations == null) {
throw new IllegalArgumentException("customSuppressionAnnotations must be non-null");
}
Expand Down

0 comments on commit 65d9693

Please sign in to comment.