- Timestamp:
- 02/26/08 20:27:16 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LogicMail/src/org/logicprobe/LogicMail/util/Connection.java
r192 r200 195 195 */ 196 196 public void close() throws IOException { 197 if(input != null) { 198 input.close(); 197 try { 198 if(input != null) { 199 input.close(); 200 input = null; 201 } 202 } catch (Exception exp) { 199 203 input = null; 200 204 } 201 if(output != null) { 202 output.close(); 205 try { 206 if(output != null) { 207 output.close(); 208 output = null; 209 } 210 } catch (Exception exp) { 203 211 output = null; 204 212 } 205 if(socket != null) { 206 socket.close(); 213 try { 214 if(socket != null) { 215 socket.close(); 216 socket = null; 217 } 218 } catch (Exception exp) { 207 219 socket = null; 208 220 }
Note: See TracChangeset
for help on using the changeset viewer.
