Skip to content

Commit

Permalink
Drop @Nullable from RefasterRule#afterTemplates()
Browse files Browse the repository at this point in the history
This property is never null and the caller unconditionally dereferences

Fixes #1606

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=311377788
  • Loading branch information
Stephan202 authored and kluever committed May 14, 2020
1 parent 6305d20 commit 231247d
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@
import java.lang.annotation.Annotation;
import java.util.Collection;
import java.util.List;
import javax.annotation.Nullable;
import javax.tools.JavaFileManager;

/**
Expand Down Expand Up @@ -111,7 +110,6 @@ public abstract class RefasterRule<M extends TemplateMatch, T extends Template<M

abstract ImmutableList<T> beforeTemplates();

@Nullable
abstract ImmutableList<T> afterTemplates();

@Override
Expand Down

0 comments on commit 231247d

Please sign in to comment.