Skip to content

Commit

Permalink
Delete WrongParameterPackage
Browse files Browse the repository at this point in the history
which was never productionized, and is buggy.

Consistently using `@Override` seems to provide most of the value
of this check, in terms of preventing accidentally overriding
(or accidentally failing to override) a method.

Fixes #1177

PiperOrigin-RevId: 350714077
  • Loading branch information
cushon authored and Error Prone Team committed Jan 8, 2021
1 parent a5f3056 commit be57b1b
Show file tree
Hide file tree
Showing 6 changed files with 1 addition and 298 deletions.

This file was deleted.

Expand Up @@ -365,7 +365,6 @@
import com.google.errorprone.bugpatterns.WildcardImport;
import com.google.errorprone.bugpatterns.WithSignatureDiscouraged;
import com.google.errorprone.bugpatterns.WrongOneof;
import com.google.errorprone.bugpatterns.WrongParameterPackage;
import com.google.errorprone.bugpatterns.XorPower;
import com.google.errorprone.bugpatterns.android.BinderIdentityRestoredDangerously;
import com.google.errorprone.bugpatterns.android.BundleDeserializationCast;
Expand Down Expand Up @@ -1035,8 +1034,7 @@ public static ScannerSupplier errorChecks() {
UrlInSee.class,
UseEnumSwitch.class,
VarChecker.class,
WildcardImport.class,
WrongParameterPackage.class
WildcardImport.class
// end
);

Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

4 changes: 0 additions & 4 deletions docs/bugpattern/ParameterPackage.md

This file was deleted.

0 comments on commit be57b1b

Please sign in to comment.