Update Java7Base.java

Closing BufferedReader using try--finally