Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 345244 - Close stream after getting the contents in FileUtils.getContents
Summary: Close stream after getting the contents in FileUtils.getContents
Status: RESOLVED FIXED
Alias: None
Product: Edapt
Classification: Modeling
Component: Core (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 normal
Target Milestone: ---   Edit
Assignee: Markus Herrmannsdoerfer CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-10 07:04 EDT by Markus Herrmannsdoerfer CLA
Modified: 2011-05-10 07:05 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Markus Herrmannsdoerfer CLA 2011-05-10 07:04:09 EDT
The class "edu.tum.cs.cope.common.FileUtils" appears to leave an InputStream
open after migration, which in turn prevents other processes from deleting the
migrated file.
Comment 1 Markus Herrmannsdoerfer CLA 2011-05-10 07:05:50 EDT
The stream is now closed after obtaining the contents.