matthiasblaesing commented on code in PR #5209:
URL: https://github.com/apache/netbeans/pull/5209#discussion_r1070253722
##########
java/java.source.base/src/org/netbeans/modules/java/source/pretty/VeryPretty.java:
##########
@@ -2223,6 +2223,7 @@ private boolean isLast(JCTree tree, List<? extends
JCTree> list) {
* <li>@deprecated (see How and When To Deprecate APIs)</li>
* </ul>
*/
+ @Deprecated
Review Comment:
This is wrong. The `@deprecated` string in the javadoc is part of a list of
tags.
##########
ide/xml.text/src/org/netbeans/modules/xml/text/completion/ElementResultItem.java:
##########
@@ -123,6 +123,7 @@ public boolean substituteText( JTextComponent c, int
offset, int len, int modifi
*/
// static class EndTag extends ElementResultItem {
// }
-
+
+ @Deprecated
Color getPaintColor() { return LFCustoms.shiftColor(COLOR); }
Review Comment:
This is wrong. The @deprecated javadoc annotation was on the `EndTag` class,
nut on getPaintColor. The author commenting out the class should have removed
it.
##########
java/javadoc/src/org/netbeans/modules/javadoc/hints/AddTagFix.java:
##########
@@ -144,6 +144,7 @@ protected DocTree getNewTag(TreeMaker make) {
* <li>@deprecated (see How and When To Deprecate APIs)</li>
* </ul>
*/
+ @Deprecated
Review Comment:
This is wrong. The @deprecated string in the javadoc is part of a list of
tags.
##########
java/refactoring.java/src/org/netbeans/modules/refactoring/java/plugins/ChangeParamsTransformer.java:
##########
@@ -915,6 +915,7 @@ public Boolean reduce(Boolean r1, Boolean r2) {
* <li>@deprecated (see How and When To Deprecate APIs)</li>
* </ul>
*/
+ @Deprecated
Review Comment:
This is wrong. The @deprecated string in the javadoc is part of a list of
tags.
--
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