Style fix: leave brackets around for() one-liners

This commit is contained in:
str4d
2013-12-04 03:51:02 +00:00
parent a3fa48dcbe
commit c180292358
7 changed files with 28 additions and 14 deletions

View File

@@ -1667,8 +1667,9 @@ public class I2PTunnel extends EventDispatcherImpl implements Logging {
*/
void routerDisconnected() {
_log.error(getPrefix() + "Router disconnected - firing notification events");
for (ConnectionEventListener lsnr : listeners)
for (ConnectionEventListener lsnr : listeners) {
if (lsnr != null) lsnr.routerDisconnected();
}
}
/**