We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a1c1692 + 9afc73e commit db72992Copy full SHA for db72992
java/refactoring.java/src/org/netbeans/modules/refactoring/java/RefactoringUtils.java
@@ -305,7 +305,7 @@ public static boolean isFileInOpenProject(FileObject file) {
305
public static boolean isOnSourceClasspath(FileObject fo) {
306
Project pr = FileOwnerQuery.getOwner(fo);
307
if (pr == null) {
308
- return false;
+ return SourceLauncher.isSourceLauncherFile(fo);
309
}
310
311
//workaround for 143542
0 commit comments