Pankraz76 commented on PR #2364:
URL: https://github.com/apache/maven/pull/2364#issuecomment-2900369354

   > avoid noise and unnecessary notifications
   
   why cant we apply this valuable pattern inside the code too?
   
   `true ? false`
   is the logically same like
   `((true) ? (((false)))))`
   
   which one seems simpler?
   
   
   <img width="1493" alt="image" 
src="https://github.com/user-attachments/assets/4c907eef-fd8c-4c0d-85c0-edc7af4ff602";
 />
   
   
   
https://docs.openrewrite.org/recipes/staticanalysis/simplifyconstantifbranchexecution
   


-- 
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-unsubscr...@maven.apache.org

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

Reply via email to