Akhilesh Singh created NETBEANS-3640:
----------------------------------------

             Summary: Show hints to convert new pattern matching code to legacy 
instance of code.
                 Key: NETBEANS-3640
                 URL: https://issues.apache.org/jira/browse/NETBEANS-3640
             Project: NetBeans
          Issue Type: Improvement
          Components: java - Editor
         Environment: OpenJDK Runtime Environment 14-ea+27-1339
            Reporter: Akhilesh Singh


Issue to convert new pattern
if (obj instanceof String s) {
 // can use s here
}

to legacy code
if (obj instanceof String) {
 String s = (String) obj;
 // use s
}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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