singh-akhilesh commented on code in PR #1877:
URL: https://github.com/apache/netbeans/pull/1877#discussion_r908325237


##########
java/java.navigation/src/org/netbeans/modules/java/navigation/ElementScanningTask.java:
##########
@@ -358,7 +360,7 @@ private Description element2description(final Element e, 
final Element parent,
         } else if( e instanceof ExecutableElement ) {
             d.htmlHeader = createHtmlHeader(info,  (ExecutableElement)e, 
info.getElements().isDeprecated(e),d.isInherited, fqn, overridenFrom);
         } else if( e instanceof VariableElement ) {
-            if( !(e.getKind() == ElementKind.FIELD || e.getKind() == 
ElementKind.ENUM_CONSTANT) )
+            if( !(e.getKind() == ElementKind.FIELD || e.getKind() == 
ElementKind.ENUM_CONSTANT || e.getKind().name().equals("STATE_COMPONENT")) )

Review Comment:
   Hi @mbien STATE_COMPONENT was part of the amber project and  replace by 
RECORD_COMPONENT in the java14 
https://hg.openjdk.java.net/amber/amber/rev/2a5e841bd91b. Will take necessary 
action.



-- 
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