naren2605 opened a new pull request, #7641:
URL: https://github.com/apache/netbeans/pull/7641

   issue:
   - @return is always treated as block tag , since java 16 return can be both 
inline and block tag as mentioned in the the 
[spec](https://docs.oracle.com/en/java/javase/22/docs/specs/javadoc/doc-comment-spec.html#Where%20Tags%20Can%20Be%20Used)
   - this also happens with any inline tag which is not present in list 
mentioned 
[here](https://github.com/apache/netbeans/blob/master/java/java.source.base/src/org/netbeans/modules/java/source/save/Reformatter.java#L4825)
   
   
   fix:
   - fix provided to check inline tags with inline tag prefix instead of 
checking with a list , as this list can grow and would impact other inline tags 
which are not there in the 
[list](https://github.com/apache/netbeans/blob/master/java/java.source.base/src/org/netbeans/modules/java/source/save/Reformatter.java#L4825)


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to