Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
fix: fixed compilation warnings from error prone
* Fixed equals check to compare against other instead of self * Added annotation to ignore error prone warning (Details here: https://errorprone.info/bugpattern/TruthSelfEquals) * Fixed EqualsTester usage (details on usage error here https://errorprone.info/bugpattern/MissingTestCall, proper usage described at https://www.javadoc.io/doc/com.google.guava/guava-testlib/21.0/com/google/common/testing/EqualsTester.html) * Added missing assertion
- Loading branch information
Showing
with
11 additions
and 12 deletions.
- +1 −1 google-cloud-core/src/main/java/com/google/cloud/ServiceOptions.java
- +1 −0 google-cloud-core/src/test/java/com/google/cloud/BaseServiceExceptionTest.java
- +1 −3 google-cloud-core/src/test/java/com/google/cloud/DateTest.java
- +8 −8 google-cloud-core/src/test/java/com/google/cloud/StringEnumTest.java
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
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 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 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