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 255264 - Use Files.delete in BaseFileObj
Summary: Use Files.delete in BaseFileObj
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Filesystems (show other bugs)
Version: 8.1
Hardware: All All
: P2 normal (vote)
Assignee: Jaroslav Havlin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-09-14 07:38 UTC by Ralph Ruijs
Modified: 2015-10-17 02:00 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ralph Ruijs 2015-09-14 07:38:31 UTC
BaseFileObj uses the old File#delete method to delete files. Files#delete has been introduced to give more details if a file cannot be deleted.
Comment 1 Jaroslav Havlin 2015-10-16 15:11:57 UTC
http://hg.netbeans.org/core-main/rev/a79198eeadd8
Fixed.
Good idea. Thank you for reporting.
Comment 2 Quality Engineering 2015-10-17 02:00:58 UTC
Integrated into 'main-silver', will be available in build *201510170002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/a79198eeadd8
User: Jaroslav Havlin <jhavlin@netbeans.org>
Log: #255264: Use Files.delete in BaseFileObj