Daniel Crawford created NETBEANS-2926:
-----------------------------------------

             Summary: "Safely Delete" refactor is not safe
                 Key: NETBEANS-2926
                 URL: https://issues.apache.org/jira/browse/NETBEANS-2926
             Project: NetBeans
          Issue Type: Bug
    Affects Versions: 11.1
         Environment: OSX, Java 12
            Reporter: Daniel Crawford


Doing a "Safely Delete..." refactor on a private static method in a class does 
not find implementations of that method in the same class file.

e.g.
{quote}private static void iterateFileSystem(File root, File r, Set<String> s) {

...

}

 

public static void someMethod() {

...

if (p.isDirectory()) {
  iterateFileSystem(p, p, collectedURIs);

  }

}
{quote}
"Safely delete" on method  iterateFileSystem declaration does not find instance 
in someMethod().



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

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

Reply via email to