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 211855

Summary: Search in Projects API should support URI objects
Product: utilities Reporter: Jaroslav Havlin <jhavlin>
Component: SearchAssignee: Jaroslav Havlin <jhavlin>
Status: RESOLVED FIXED    
Severity: normal CC: akrasny, alexvsimon, apireviews, jglick
Priority: P3 Keywords: API_REVIEW_FAST
Version: 7.2   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:
Attachments: Patch - proposed API change
Patch - proposed API change

Description Jaroslav Havlin 2012-04-27 13:59:55 UTC
Created attachment 118878 [details]
Patch - proposed API change

Search in Projects API supports searching based on FileObjects. This is not very suitable for some cases, e.g. remote filesystems, and the API should also support working with URI objects.

Methods that take FileObject instances as parameters should have alternatives accepting URI instances, and methods returning FileObjects should be complemented by methods returning URI objects.

The patch was co-authored and revised by Andrew Krasny from CND team.
Comment 1 Jaroslav Havlin 2012-04-27 14:04:06 UTC
Please review.
Comment 2 Jaroslav Havlin 2012-06-19 12:49:20 UTC
Created attachment 121053 [details]
Patch - proposed API change

Patch updated to be applicable on the current sources (module version changed).

If there are no objections, I will integrate it on Friday.
Comment 3 Jaroslav Havlin 2012-06-22 14:48:35 UTC
http://hg.netbeans.org/core-main/rev/d5e6c6ed16e1
Integrated.
Comment 4 Quality Engineering 2012-06-26 04:57:47 UTC
Integrated into 'main-golden', will be available in build *201206260002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/d5e6c6ed16e1
User: Jaroslav Havlin <jhavlin@netbeans.org>
Log: #211855: Search in Projects API should support URI objects