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 - Search in Projects API should support URI objects
Summary: Search in Projects API should support URI objects
Status: RESOLVED FIXED
Alias: None
Product: utilities
Classification: Unclassified
Component: Search (show other bugs)
Version: 7.2
Hardware: All All
: P3 normal (vote)
Assignee: Jaroslav Havlin
URL:
Keywords: API_REVIEW_FAST
Depends on:
Blocks:
 
Reported: 2012-04-27 13:59 UTC by Jaroslav Havlin
Modified: 2012-06-26 04:57 UTC (History)
4 users (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments
Patch - proposed API change (48.15 KB, application/octet-stream)
2012-04-27 13:59 UTC, Jaroslav Havlin
Details
Patch - proposed API change (48.15 KB, patch)
2012-06-19 12:49 UTC, Jaroslav Havlin
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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