format codes

This commit is contained in:
Dapeng 2016-09-19 15:04:07 +08:00
parent 8c4e274914
commit a2a9725618

View file

@ -66,10 +66,11 @@ public class CallMonitoringAspect {
@ManagedAttribute
public long getCallTime() {
if (this.callCount > 0)
return this.accumulatedCallTime / this.callCount;
else
return 0;
if (this.callCount > 0) {
return this.accumulatedCallTime / this.callCount;
} else {
return 0;
}
}