Skip to content

Commit

Permalink
Suppress SelfEquals check in third_party code - []
Browse files Browse the repository at this point in the history
We intend to make this a compilation error in []'s Java compiler, so it is necessary to fix existing occurrences first to avoid breaking builds.

See [] for more details.

Tested:
    TAP --sample for global presubmit queue
    []

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=129248457
  • Loading branch information
sumitbhagwani authored and eamonnmcmanus committed Aug 30, 2016
1 parent 1f36b37 commit 3574a39
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -809,6 +809,7 @@ public boolean equals(Object o) {
}
}

@SuppressWarnings("SelfEquals")
public void testExplicitEquals() throws Exception {
ExplicitEquals instance = ExplicitEquals.create();
assertEquals(0, instance.equalsCount);
Expand Down

0 comments on commit 3574a39

Please sign in to comment.