JaroslavTulach commented on code in PR #9650:
URL: https://github.com/apache/netbeans/pull/9650#discussion_r4176911012
##########
java/java.file.launcher/src/org/netbeans/modules/java/file/launcher/SingleSourceFileUtil.java:
##########
@@ -95,9 +98,18 @@ public static boolean isSupportedFile(FileObject file) {
try {
FileObject dir = file.getParent();
File dirFile = dir != null ? FileUtil.toFile(dir) : null;
- return !MultiSourceRootProvider.DISABLE_MULTI_SOURCE_ROOT
- && FileOwnerQuery.getOwner(file) == null
- && !file.getFileSystem().isReadOnly()
+ if (MultiSourceRootProvider.DISABLE_MULTI_SOURCE_ROOT) {
+ return false;
+ }
+ Project owner = FileOwnerQuery.getOwner(file);
Review Comment:
- These options aren't even visible in non-Java projects
- need 86be29e75c6f to make them appear
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
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