comparison src/ch/ethz/ssh2/transport/TransportManager.java @ 330:6740870cf268 ganymed

fix java formatting
author Carl Byington <carl@five-ten-sg.com>
date Thu, 31 Jul 2014 12:59:08 -0700
parents fe127b3c4b88
children d835e842d158
comparison
equal deleted inserted replaced
329:6896bfafa510 330:6740870cf268
169 try { 169 try {
170 socket.close(); 170 socket.close();
171 } 171 }
172 catch (IOException ignore) { 172 catch (IOException ignore) {
173 } 173 }
174
174 // OK, whoever tried to send data, should now agree that 175 // OK, whoever tried to send data, should now agree that
175 // there is no point in further waiting =) 176 // there is no point in further waiting =)
176 // It is safe now to acquire the semaphore. 177 // It is safe now to acquire the semaphore.
177 } 178 }
178 179
190 socket.close(); 191 socket.close();
191 } 192 }
192 catch (IOException ignore) { 193 catch (IOException ignore) {
193 } 194 }
194 } 195 }
196
195 connectionClosed = true; 197 connectionClosed = true;
196 reasonClosedCause = cause; 198 reasonClosedCause = cause;
197 } 199 }
200
198 connectionSemaphore.notifyAll(); 201 connectionSemaphore.notifyAll();
199 } 202 }
200 203
201 // check if we need to inform the monitors 204 // check if we need to inform the monitors
202 List<ConnectionMonitor> monitors = null; 205 List<ConnectionMonitor> monitors = null;