Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 345244

Summary: Close stream after getting the contents in FileUtils.getContents
Product: [Modeling] Edapt Reporter: Markus Herrmannsdoerfer <herrmama>
Component: CoreAssignee: Markus Herrmannsdoerfer <herrmama>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:

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.