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 28571 - Cleanup settings API/SPI
Summary: Cleanup settings API/SPI
Status: RESOLVED FIXED
Alias: None
Product: projects
Classification: Unclassified
Component: Generic Infrastructure (show other bugs)
Version: 3.x
Hardware: PC Windows ME/2000
: P1 blocker (vote)
Assignee: Vitezslav Stejskal
URL:
Keywords: API
Depends on:
Blocks:
 
Reported: 2002-11-07 16:39 UTC by Vitezslav Stejskal
Modified: 2004-04-19 16:39 UTC (History)
0 users

See Also:
Issue Type: TASK
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vitezslav Stejskal 2002-11-07 16:39:50 UTC
There is Contexts class in o.n.spi.p which is
already obsoleted by similar class in
o.n.api.projects.settings, also the Scope class
should be moved to o.n.api.projects.settings
package since it is used in API classes from that
package.
Comment 1 Vitezslav Stejskal 2002-11-07 17:52:53 UTC
Upgrade info:

o.n.spi.p.Contexts -> o.n.api.p.settings.Contexts
o.n.spi.p.Scope -> o.n.api.p.settings.Scope
Comment 2 David Konecny 2002-11-08 08:21:28 UTC
IMO the name of this class could be more descriptive, I mean something
like ContextUtils or something similar. It is just bunch of helper
static methods, right? The same case is Projects class. I would not
expect in class with name "Projects" utility methods. ProjectUtils? My
two cents guys.
Comment 3 Vitezslav Stejskal 2002-11-08 09:29:41 UTC
ProjectUtil would be in clash with o.n.api.projects.ide.ProjectUtil,
also conventions seem to move from using Util, look at Looks API.
Comment 4 Vitezslav Stejskal 2002-11-08 23:49:53 UTC
done