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

@@ -541,10 +541,12 @@ public class TransientSessionKeyManager extends SessionKeyManager {
if (old != null) {
// drop both old and tagSet tags
synchronized (_inboundTagSets) {
for (SessionTag tag : old.getTags())
for (SessionTag tag : old.getTags()) {
_inboundTagSets.remove(tag);
for (SessionTag tag : sessionTags)
}
for (SessionTag tag : sessionTags) {
_inboundTagSets.remove(tag);
}
}
if (_log.shouldLog(Log.WARN)) {

View File

@@ -62,8 +62,9 @@ public class StatManager {
public StatLog getStatLog() { return _statLog; }
public void setStatLog(StatLog log) {
_statLog = log;
for (RateStat rs : _rateStats.values())
for (RateStat rs : _rateStats.values()) {
rs.setStatLog(log);
}
}
/**