mx4j/src/core/mx4j/persist FilePersister.java,1.8,1.9
Simone Bordet <[email protected]> Sat, 09 Oct 2004 17:33:17 +0000
| Newsgroups | gmane.comp.java.mx4j.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/mx4j/mx4j/src/core/mx4j/persist
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17450/src/core/mx4j/persist
Modified Files:
FilePersister.java
Log Message:
Closing the input stream only if not null
Index: FilePersister.java
===================================================================
RCS file: /cvsroot/mx4j/mx4j/src/core/mx4j/persist/FilePersister.java,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** FilePersister.java 4 Sep 2004 15:44:09 -0000 1.8
--- FilePersister.java 9 Oct 2004 17:33:15 -0000 1.9
***************
*** 128,132 ****
try
{
! clois.close();
}
catch (IOException ignored)
--- 128,132 ----
try
{
! if (clois != null) clois.close();
}
catch (IOException ignored)
-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl