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 229281 - replace private contract via fo.GetAttribute with versioning query
Summary: replace private contract via fo.GetAttribute with versioning query
Alias: None
Product: projects
Classification: Unclassified
Component: Generic Infrastructure (show other bugs)
Version: 7.3
Hardware: All All
: P3 normal (vote)
Assignee: apireviews
Depends on:
Reported: 2013-05-02 14:14 UTC by Tomas Stupka
Modified: 2013-05-17 09:52 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:

proposed changes in the queries module (16.57 KB, patch)
2013-05-02 14:19 UTC, Tomas Stupka
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Tomas Stupka 2013-05-02 14:14:34 UTC
Product Version = NetBeans IDE Dev (Build 20130502-9fc430ac8116)
Operating System = Mac OS X version 10.8.2 running on x86_64
Java; VM; Vendor = 1.7.0_17
Runtime = Java HotSpot(TM) 64-Bit Server VM 23.7-b01

there is a private contract between versioning systems on one side and refactoring and team modules on the other side. FileObject.getAttribute(...) is used to retrieve versioning relevant information:

1.) "ProvidedExtensions.VCSManaged" - determines if a file is managed by a versionig system (used by refactoring and team modules)
2.) "ProvidedExtensions.RemoteLocation" - returns a string value representing a files remote repository or origin in case it is versioned (used only by team modules)

preferably the 2 private attributes would be replaced by a public query ...
Comment 1 Tomas Stupka 2013-05-02 14:19:26 UTC
Created attachment 134042 [details]
proposed changes in the queries module
Comment 2 Milos Kleint 2013-05-03 04:38:00 UTC
looks ok to me
Comment 3 Tomas Stupka 2013-05-15 10:00:28 UTC
will integrate tomorrow in case nobody objects
Comment 4 Tomas Stupka 2013-05-16 10:29:05 UTC
fixed in core-main #7f7224c36943
Comment 5 Tomas Stupka 2013-05-16 10:29:52 UTC
vcs relevant changes core-main #a94b3e4bc223
Comment 6 Quality Engineering 2013-05-17 09:52:18 UTC
Integrated into 'main-golden', will be available in build *201305170640* on (upload may still be in progress)
User: Tomas Stupka <>
Log: Issue #229281 - replace private contract via fo.GetAttribute with versioning query