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 137822

Summary: Add CQI to VersioningSystem SPI
Product: versioncontrol Reporter: Maros Sandor <msandor>
Component: CodeAssignee: issues@versioncontrol <issues>
Status: RESOLVED FIXED    
Severity: blocker Keywords: API_REVIEW_FAST
Priority: P2    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: TASK Exception Reporter:
Bug Depends on:    
Bug Blocks: 137554    
Attachments: Diff of the change

Description Maros Sandor 2008-06-20 14:32:00 UTC
Please refer to the dependent issue for the description of the problem that we need to solve. In short: a
VersioningSystem should provide a CollocationQueryImplementation and this API change has 2 purposes:
1. It makes it clear and explicit that implementors of a VersioningSystem should provide the query. It would be possible
for them to just implement and register their own CollocationQueryImplementation but they could easily forget to do that.
2. There will be only one registered CQI (Versioning manager) that will delegate the query to the appropriate versioning
system which will speed things up.
Comment 1 Maros Sandor 2008-06-20 14:40:05 UTC
Created attachment 63167 [details]
Diff of the change
Comment 2 Jesse Glick 2008-06-20 14:51:31 UTC
Sounds reasonable.
Comment 3 Maros Sandor 2008-06-27 09:54:42 UTC
7a9cfe806c6b
Comment 4 Quality Engineering 2008-06-27 16:35:42 UTC
Integrated into 'main-golden', available in NB_Trunk_Production #285 build
Changeset: http://hg.netbeans.org/main/rev/7a9cfe806c6b
User: Maros Sandor <msandor@netbeans.org>
Log: #137822: Added CQI to VersioningSystem SPI