forked from I2P_Developers/i2p.i2p
Style fix: leave brackets around for() one-liners
This commit is contained in:
@@ -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)) {
|
||||
|
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user