This input stream is not closed. We should follow a standard try-finally pattern for closing the input stream. With java 7, you could also do the try-with-resources pattern, but I don't think hraven requires java 7, so that's out of the question.