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 207435 - FileUtil.refreshFor(File... files) should be java.io.File independent.
Summary: FileUtil.refreshFor(File... files) should be java.io.File independent.
Status: RESOLVED FIXED
Alias: None
Product: versioncontrol
Classification: Unclassified
Component: Code (show other bugs)
Version: 7.2
Hardware: PC Solaris
: P3 normal (vote)
Assignee: Alexander Simon
URL:
Keywords: API_REVIEW_FAST
Depends on: 207491
Blocks:
  Show dependency tree
 
Reported: 2012-01-18 11:18 UTC by Alexander Simon
Modified: 2012-01-27 07:57 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Inital proposal (8.17 KB, patch)
2012-01-18 12:10 UTC, Alexander Simon
Details | Diff
variant #2 (fixed TS01) (8.35 KB, patch)
2012-01-19 07:48 UTC, Alexander Simon
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Simon 2012-01-18 11:18:27 UTC
VCS clients use FileUtil.refreshFor(File... files)
There are no way to refresh remote file system.
Comment 1 Alexander Simon 2012-01-18 12:10:19 UTC
Created attachment 114993 [details]
Inital proposal
Comment 2 Tomas Stupka 2012-01-18 21:29:33 UTC
[TS01] please be more explicit in VersioningSupport.refreshFiles(...) javadoc. It is not obvious if the refresh is going to happen accordingly to FileUtil.refreshFiles(),  recursively or not, etc.
Comment 3 Alexander Simon 2012-01-19 07:48:10 UTC
Created attachment 115060 [details]
variant #2 (fixed TS01)
Comment 4 Alexander Simon 2012-01-26 07:38:44 UTC
So if there are no objections, I'll commit fix tomorrow.
Comment 5 Alexander Simon 2012-01-27 07:57:07 UTC
fixed, change set:
http://hg.netbeans.org/cnd-main/rev/4d5dd99f9b01