Akhilesh Singh created NETBEANS-3639:
----------------------------------------
Summary: Show hints to convert legacy written "instance of"
checking code to new pattern matching
Key: NETBEANS-3639
URL: https://issues.apache.org/jira/browse/NETBEANS-3639
Project: NetBeans
Issue Type: Improvement
Components: java - Editor
Environment: OpenJDK Runtime Environment 14-ea+27-1339
Reporter: Akhilesh Singh
Issue to convert legacy written code e.g
if (obj instanceof String) {
String s = (String) obj;
// use s
}
to new pattern
if (obj instanceof String s) {
// can use s here
}
--
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