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 50580 - Merge task does not release the file handles of english files
Summary: Merge task does not release the file handles of english files
Status: RESOLVED FIXED
Alias: None
Product: nblocalization
Classification: Unclassified
Component: Code (show other bugs)
Version: 4.x
Hardware: PC Windows ME/2000
: P3 blocker (vote)
Assignee: issues@nblocalization
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-18 23:46 UTC by santhosh
Modified: 2004-10-19 11:17 UTC (History)
0 users

See Also:
Issue Type: TASK
Exception Reporter:


Attachments
Proposed Patch (628 bytes, patch)
2004-10-19 00:02 UTC, santhosh
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description santhosh 2004-10-18 23:46:16 UTC
Merge task does not release the file handles of 
english files.

I tried to remove the Bundle.properties (english)
after merge task using delete task. but ant 
reports the error that it was unable to delete 
the file. 

org.netbeans.modules.translatedfiles.tools.Merge.d
oMerge(String enFileName, String jaFileName)
opens filereader but doesn't close it.

it changed the code locally to close the reader. 
it is working property.

plz make the changes. (I don't have access to 
this module)
Comment 1 santhosh 2004-10-19 00:02:08 UTC
Created attachment 18369 [details]
Proposed Patch
Comment 2 santhosh 2004-10-19 00:02:59 UTC
Proposed patch is attached.
Comment 3 _ mihmax 2004-10-19 11:17:55 UTC
Thanks a lot, Santosh!

I've looked through your patch, it looked OK so I checked it in.

Checking in Merge.java;
/cvs/translatedfiles/tools/src/org/netbeans/modules/translatedfiles/tools/Merge.java,v
 <--  Merge.java
new revision: 1.4; previous revision: 1.3
done