Changeset 1348
- Timestamp:
- 01/31/14 10:46:53 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/java-utils/src/main/java/de/ugoe/cs/util/console/defaultcommands/CMDman.java
r1341 r1348 59 59 60 60 if (manStream != null) { 61 BufferedReader reader = n ew BufferedReader(new InputStreamReader(manStream));61 BufferedReader reader = null; 62 62 try { 63 reader = new BufferedReader(new InputStreamReader(manStream, "UTF-8")); 63 64 String line = reader.readLine(); 64 65 … … 75 76 finally { 76 77 try { 77 reader.close(); 78 if (reader != null) { 79 reader.close(); 80 } 78 81 } 79 82 catch (IOException e) {
Note: See TracChangeset
for help on using the changeset viewer.