Skip to content

Commit ef73696

Browse files
committed
fix: fix UnnecessaryParentheses ErrorProne warning
1 parent fe90327 commit ef73696

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/github/packageurl/PackageURL.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -942,7 +942,7 @@ public String getCoordinates() {
942942
* @since 1.2.0
943943
*/
944944
public boolean isCanonicalEquals(final PackageURL purl) {
945-
return (this.canonicalize().equals(purl.canonicalize()));
945+
return this.canonicalize().equals(purl.canonicalize());
946946
}
947947

948948
private static boolean isEmpty(@Nullable String value) {

0 commit comments

Comments
 (0)