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

Summary: Cleanup settings API/SPI
Product: projects Reporter: Vitezslav Stejskal <vstejskal>
Component: Generic InfrastructureAssignee: Vitezslav Stejskal <vstejskal>
Status: RESOLVED FIXED    
Severity: blocker Keywords: API
Priority: P1    
Version: 3.x   
Hardware: PC   
OS: Windows ME/2000   
Issue Type: TASK Exception Reporter:

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