You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Daniel Crawford (JIRA)" <ji...@apache.org> on 2019/07/30 21:19:00 UTC

[jira] [Created] (NETBEANS-2926) "Safely Delete" refactor is not safe

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-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org

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