You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "timtebeek (via GitHub)" <gi...@apache.org> on 2023/09/26 12:10:05 UTC

[GitHub] [maven-doxia-linkcheck] timtebeek commented on a diff in pull request #10: [MNG-6847] Use diamond operator

timtebeek commented on code in PR #10:
URL: https://github.com/apache/maven-doxia-linkcheck/pull/10#discussion_r1337108391


##########
src/main/java/org/apache/maven/doxia/linkcheck/validation/LinkValidationItem.java:
##########
@@ -91,12 +91,7 @@ public boolean equals( Object obj )
             return false;
         }
 
-        if ( !lvi.source.equals( this.source ) )
-        {
-            return false;
-        }
-
-        return true;
+        return lvi.source.equals(this.source);

Review Comment:
   ```suggestion
           return lvi.source.equals( this.source );
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org