Skip to content

Commit

Permalink
[NETBEANS-6970] Adding a system property to disable the multi source …
Browse files Browse the repository at this point in the history
…file handling.
  • Loading branch information
lahodaj committed Jan 22, 2024
1 parent 14a7674 commit 3d9ce2f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ public class MultiSourceRootProvider implements ClassPathProvider {

private static final Logger LOG = Logger.getLogger(MultiSourceRootProvider.class.getName());

public static boolean DISABLE_MULTI_SOURCE_ROOT = false;
public static boolean DISABLE_MULTI_SOURCE_ROOT = Boolean.getBoolean("java.disable.multi.source.root");

//TODO: the cache will probably be never cleared, as the ClassPath/value refers to the key(?)
private Map<FileObject, ClassPath> file2SourceCP = new WeakHashMap<>();
Expand Down

0 comments on commit 3d9ce2f

Please sign in to comment.