-
Notifications
You must be signed in to change notification settings - Fork 745
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
It seems redundant in the face of ReferenceEquality as a general check. The value it _could_ have is turning this into an error, except it doesn't. PiperOrigin-RevId: 438536211
- Loading branch information
1 parent
ce2e0f7
commit 62a2d27
Showing
8 changed files
with
24 additions
and
208 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -45,8 +45,7 @@ | |
* Abstract implementation of a BugPattern that detects the use of reference equality to compare | ||
* classes with value semantics. | ||
* | ||
* <p>See e.g. {@link OptionalEquality}, {@link ProtoStringFieldReferenceEquality}, and {@link | ||
* StringEquality}. | ||
* <p>See e.g. {@link OptionalEquality}, {@link ProtoStringFieldReferenceEquality}. | ||
* | ||
* @author [email protected] (Liam Miller-Cushon) | ||
*/ | ||
|
38 changes: 0 additions & 38 deletions
38
core/src/main/java/com/google/errorprone/bugpatterns/StringEquality.java
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
42 changes: 0 additions & 42 deletions
42
core/src/test/java/com/google/errorprone/bugpatterns/StringEqualityTest.java
This file was deleted.
Oops, something went wrong.
43 changes: 0 additions & 43 deletions
43
...src/test/java/com/google/errorprone/bugpatterns/testdata/StringEqualityNegativeCases.java
This file was deleted.
Oops, something went wrong.
60 changes: 0 additions & 60 deletions
60
...src/test/java/com/google/errorprone/bugpatterns/testdata/StringEqualityPositiveCases.java
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.