diff options
author | pfullbright | 2011-03-14 17:35:30 +0000 |
---|---|---|
committer | pfullbright | 2011-03-14 17:35:30 +0000 |
commit | bbdff9cb935f6ac7cd71a44533594633e4f862c2 (patch) | |
tree | 77f5bb77d0cd8d14d824004b3b03a3720d9487db /jaxb | |
parent | 1c33a199e9ee02dd2920ab034409f3a8d20b4e38 (diff) | |
download | webtools.dali-bbdff9cb935f6ac7cd71a44533594633e4f862c2.tar.gz webtools.dali-bbdff9cb935f6ac7cd71a44533594633e4f862c2.tar.xz webtools.dali-bbdff9cb935f6ac7cd71a44533594633e4f862c2.zip |
added reader.close()
Diffstat (limited to 'jaxb')
-rw-r--r-- | jaxb/plugins/org.eclipse.jpt.jaxb.core/src/org/eclipse/jpt/jaxb/core/internal/resource/jaxbindex/JaxbIndexResourceImpl.java | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/jaxb/plugins/org.eclipse.jpt.jaxb.core/src/org/eclipse/jpt/jaxb/core/internal/resource/jaxbindex/JaxbIndexResourceImpl.java b/jaxb/plugins/org.eclipse.jpt.jaxb.core/src/org/eclipse/jpt/jaxb/core/internal/resource/jaxbindex/JaxbIndexResourceImpl.java index 7c963f1f2d..151a3b10f3 100644 --- a/jaxb/plugins/org.eclipse.jpt.jaxb.core/src/org/eclipse/jpt/jaxb/core/internal/resource/jaxbindex/JaxbIndexResourceImpl.java +++ b/jaxb/plugins/org.eclipse.jpt.jaxb.core/src/org/eclipse/jpt/jaxb/core/internal/resource/jaxbindex/JaxbIndexResourceImpl.java @@ -10,6 +10,7 @@ package org.eclipse.jpt.jaxb.core.internal.resource.jaxbindex; import java.io.BufferedReader; +import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.util.List; @@ -75,6 +76,14 @@ public class JaxbIndexResourceImpl catch (Exception ex) { JptJaxbCorePlugin.log(ex); } + finally { + try { + reader.close(); + } + catch (IOException ioe) { + JptJaxbCorePlugin.log(ioe); + } + } } } |