This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 206104

Summary: Utils.getUnversionedFolders / getRootFilesystem should use org.openide.modules.Places.getUserDirectory
Product: versioncontrol Reporter: emi <emi>
Component: CodeAssignee: Tomas Stupka <tstupka>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: P3    
Version: 7.0.1   
Hardware: PC   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:

Description emi 2011-12-07 16:51:35 UTC
I like the new Places.getUserDirectory since it provides data via lookup-registered services.

org.netbeans.modules.versioning.Utils.getUnversionedFolders (and getRootFilesystem) still seems to use System.getProperty("netbeans.user") directly.

I wonder if it wouldn't be better to use Places?

I know this might introduce a new dependency on Modules API, so it's up to you.
Comment 1 Ondrej Vrabec 2013-09-02 09:52:47 UTC

*** This bug has been marked as a duplicate of bug 226333 ***