XmlPullStreamDecoder: do not close streams after decode.

They're passed to XmlPullStreamDecoder, so should be managed by calling object.
This commit is contained in:
Ryszard Wiśniewski 2011-05-02 00:36:35 +02:00
parent f05f264182
commit b11d41aefb

View File

@ -46,8 +46,6 @@ public class XmlPullStreamDecoder implements ResStreamDecoder {
ser.event(par);
}
ser.flush();
in.close();
out.close();
} catch (XmlPullParserException ex) {
throw new AndrolibException("Could not decode XML", ex);
} catch (IOException ex) {