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 - Utils.getUnversionedFolders / getRootFilesystem should use org.openide.modules.Places.getUserDirectory
Summary: Utils.getUnversionedFolders / getRootFilesystem should use org.openide.module...
Status: RESOLVED DUPLICATE of bug 226333
Alias: None
Product: versioncontrol
Classification: Unclassified
Component: Code (show other bugs)
Version: 7.0.1
Hardware: PC All
: P3 normal (vote)
Assignee: Tomas Stupka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-07 16:51 UTC by emi
Modified: 2013-09-02 09:52 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***