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 41650

Summary: Make DataLoaderPool.getDefault public
Product: platform Reporter: Jesse Glick <jglick>
Component: Data SystemsAssignee: Jaroslav Tulach <jtulach>
Status: RESOLVED FIXED    
Severity: blocker CC: apireviews, jtulach
Priority: P3 Keywords: API, API_REVIEW_FAST
Version: 4.x   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:
Attachments: Proposed change

Description Jesse Glick 2004-04-02 17:32:34 UTC
Since it is safer than looking for DLP in lookup.
E.g. works if core.jar is not there.
Comment 1 David Konecny 2004-04-05 11:28:50 UTC
You marked it P2. Why do you think it is that important? I'm just
asking to better understand the background.
Comment 2 David Konecny 2004-04-05 12:45:14 UTC
I see, just a convenient method.
Comment 3 Jesse Glick 2004-04-07 00:25:31 UTC
P3 is probably more appropriate. Mentioned on nbdev.
Comment 4 Jaroslav Tulach 2005-01-25 06:50:48 UTC
Created attachment 19923 [details]
Proposed change
Comment 5 Jaroslav Tulach 2005-01-25 06:51:49 UTC
I've inherited few simple fixes and I'd like to close them asap. This
is one of them.
Comment 6 _ rkubacki 2005-01-25 09:24:30 UTC
No problem with such method. Should we add a notion into JavaDoc of
deprecated TM too?
Who will fix the occurences of the code that can be replaced?
ant/debugger, apisupport, core, java, utilities, vcscore, web/project
and maybe some others.
Comment 7 Jaroslav Tulach 2005-01-26 09:55:44 UTC
I can update TM javadoc, but it is not being build anymore.

I'll find and fix all occurences of the old pattern and replace it
with getDefault() call.
Comment 8 Jaroslav Tulach 2005-02-03 06:54:06 UTC
I'll implement it as agreed. 
Comment 9 Jaroslav Tulach 2005-02-07 10:06:26 UTC
cvs -q ci -m "#41650: DataLoaderPool.getDefault() made public" 
Checking in 
ant/debugger/src/org/netbeans/modules/ant/debugger/AntDebuggerModule.java; 
/cvs/ant/debugger/src/org/netbeans/modules/ant/debugger/AntDebuggerModule.java,v  
<--  AntDebuggerModule.java 
new revision: 1.2; previous revision: 1.1 
done 
Processing log script arguments... 
More commits to come... 
Checking in 
apisupport/src/org/netbeans/modules/apisupport/APIModule.java; 
/cvs/apisupport/src/org/netbeans/modules/apisupport/APIModule.java,v  
<--  APIModule.java 
new revision: 1.56; previous revision: 1.55 
done 
Processing log script arguments... 
More commits to come... 
Checking in 
apisupport/src/org/netbeans/modules/apisupport/manifests/CategoryNode.java; 
/cvs/apisupport/src/org/netbeans/modules/apisupport/manifests/CategoryNode.java,v  
<--  CategoryNode.java 
new revision: 1.8; previous revision: 1.7 
done 
Processing log script arguments... 
More commits to come... 
Checking in 
contrib/naming/src/org/netbeans/core/naming/EventDOContext.java; 
/cvs/contrib/naming/src/org/netbeans/core/naming/EventDOContext.java,v  
<--  EventDOContext.java 
new revision: 1.2; previous revision: 1.1 
done 
Processing log script arguments... 
More commits to come... 
Checking in core/src/org/netbeans/core/LoaderPoolNode.java; 
/cvs/core/src/org/netbeans/core/LoaderPoolNode.java,v  <--  
LoaderPoolNode.java 
new revision: 1.78; previous revision: 1.77 
done 
Processing log script arguments... 
More commits to come... 
Checking in java/src/org/netbeans/modules/java/JavaModule.java; 
/cvs/java/src/org/netbeans/modules/java/JavaModule.java,v  <--  
JavaModule.java 
new revision: 1.49; previous revision: 1.48 
done 
Processing log script arguments... 
More commits to come... 
Checking in openide/deprecated/src/org/openide/TopManager.java; 
/cvs/openide/deprecated/src/org/openide/TopManager.java,v  <--  
TopManager.java 
new revision: 1.11; previous revision: 1.10 
done 
Processing log script arguments... 
More commits to come... 
Checking in openide/loaders/manifest.mf; 
/cvs/openide/loaders/manifest.mf,v  <--  manifest.mf 
new revision: 1.18; previous revision: 1.17 
done 
Processing log script arguments... 
More commits to come... 
Checking in openide/loaders/api/apichanges.xml; 
/cvs/openide/loaders/api/apichanges.xml,v  <--  apichanges.xml 
new revision: 1.12; previous revision: 1.11 
done 
Processing log script arguments... 
More commits to come... 
Checking in 
openide/loaders/src/org/openide/loaders/DataLoaderPool.java; 
/cvs/openide/loaders/src/org/openide/loaders/DataLoaderPool.java,v  
<--  DataLoaderPool.java 
new revision: 1.17; previous revision: 1.16 
done 
Processing log script arguments... 
More commits to come... 
Checking in 
openide/test/qa-functional/src/DataLoaderTests/LoaderPoolTest/LoaderPoolTest.java; 
/cvs/openide/test/qa-functional/src/DataLoaderTests/LoaderPoolTest/LoaderPoolTest.java,v  
<--  LoaderPoolTest.java 
new revision: 1.9; previous revision: 1.8 
done 
Processing log script arguments... 
More commits to come... 
Checking in openide/test/unit/src/org/openide/TopManagerTest.java; 
/cvs/openide/test/unit/src/org/openide/TopManagerTest.java,v  <--  
TopManagerTest.java 
new revision: 1.4; previous revision: 1.3 
done 
Processing log script arguments... 
More commits to come... 
Checking in 
openide/test/unit/src/org/openide/loaders/AddLoaderManuallyHid.java; 
/cvs/openide/test/unit/src/org/openide/loaders/AddLoaderManuallyHid.java,v  
<--  AddLoaderManuallyHid.java 
new revision: 1.5; previous revision: 1.4 
done 
Checking in 
openide/test/unit/src/org/openide/loaders/DataFolderTest.java; 
/cvs/openide/test/unit/src/org/openide/loaders/DataFolderTest.java,v  
<--  DataFolderTest.java 
new revision: 1.24; previous revision: 1.23 
done 
Checking in 
openide/test/unit/src/org/openide/loaders/DataLoaderPoolTest.java; 
/cvs/openide/test/unit/src/org/openide/loaders/DataLoaderPoolTest.java,v  
<--  DataLoaderPoolTest.java 
new revision: 1.10; previous revision: 1.9 
done 
Checking in 
openide/test/unit/src/org/openide/loaders/DataLoaderTest.java; 
/cvs/openide/test/unit/src/org/openide/loaders/DataLoaderTest.java,v  
<--  DataLoaderTest.java 
new revision: 1.15; previous revision: 1.14 
done 
Checking in 
openide/test/unit/src/org/openide/loaders/OperationListenerTest.java; 
/cvs/openide/test/unit/src/org/openide/loaders/OperationListenerTest.java,v  
<--  OperationListenerTest.java 
new revision: 1.8; previous revision: 1.7 
done 
Processing log script arguments... 
More commits to come... 
Checking in 
projects/projectui/src/org/netbeans/modules/project/ui/Hacks.java; 
/cvs/projects/projectui/src/org/netbeans/modules/project/ui/Hacks.java,v  
<--  Hacks.java 
new revision: 1.17; previous revision: 1.16 
done 
Processing log script arguments... 
More commits to come... 
Checking in 
refactoring/src/org/netbeans/modules/refactoring/ui/RefactoringOperationListener.java; 
/cvs/refactoring/src/org/netbeans/modules/refactoring/ui/RefactoringOperationListener.java,v  
<--  RefactoringOperationListener.java 
new revision: 1.17; previous revision: 1.16 
done 
Processing log script arguments... 
More commits to come... 
Checking in 
utilities/loaderswitcher/src/org/netbeans/modules/loaderswitcher/ObjectType.java; 
/cvs/utilities/loaderswitcher/src/org/netbeans/modules/loaderswitcher/ObjectType.java,v  
<--  ObjectType.java 
new revision: 1.4; previous revision: 1.3 
done 
Processing log script arguments... 
More commits to come... 
Checking in 
utilities/src/org/netbeans/modules/openfile/DefaultOpenFileImpl.java; 
/cvs/utilities/src/org/netbeans/modules/openfile/DefaultOpenFileImpl.java,v  
<--  DefaultOpenFileImpl.java 
new revision: 1.12; previous revision: 1.11 
 
Comment 10 Jaroslav Tulach 2005-02-10 19:51:07 UTC
cvs ci -m "#41650: Additional part of the fix - increasing module
dependnecies as requested by rkubacki"
Checking in ant/debugger/nbproject/project.xml;
/cvs/ant/debugger/nbproject/project.xml,v  <--  project.xml
new revision: 1.2; previous revision: 1.1
done
Processing log script arguments...
More commits to come...
Checking in apisupport/nbproject/project.xml;
/cvs/apisupport/nbproject/project.xml,v  <--  project.xml
new revision: 1.4; previous revision: 1.3
done
Processing log script arguments...
More commits to come...
Checking in core/nbproject/project.xml;
/cvs/core/nbproject/project.xml,v  <--  project.xml
new revision: 1.6; previous revision: 1.5
done
Processing log script arguments...
More commits to come...
Checking in java/nbproject/project.xml;
/cvs/java/nbproject/project.xml,v  <--  project.xml
new revision: 1.12; previous revision: 1.11
done
Processing log script arguments...
More commits to come...
Checking in openide/deprecated/nbproject/project.xml;
/cvs/openide/deprecated/nbproject/project.xml,v  <--  project.xml
new revision: 1.2; previous revision: 1.1
done
Processing log script arguments...
More commits to come...
Checking in projects/projectui/nbproject/project.xml;
/cvs/projects/projectui/nbproject/project.xml,v  <--  project.xml
new revision: 1.15; previous revision: 1.14
done
Processing log script arguments...
More commits to come...
Checking in refactoring/nbproject/project.xml;
/cvs/refactoring/nbproject/project.xml,v  <--  project.xml
new revision: 1.16; previous revision: 1.15
done
Processing log script arguments...
More commits to come...
Checking in utilities/loaderswitcher/manifest.mf;
/cvs/utilities/loaderswitcher/manifest.mf,v  <--  manifest.mf
new revision: 1.4; previous revision: 1.3
done
Processing log script arguments...
More commits to come...
Checking in utilities/nbproject/project.xml;
/cvs/utilities/nbproject/project.xml,v  <--  project.xml
new revision: 1.8; previous revision: 1.7