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 @ManagedAttribute
public long getCallTime() { public long getCallTime() {
if (this.callCount > 0) if (this.callCount > 0) {
return this.accumulatedCallTime / this.callCount; return this.accumulatedCallTime / this.callCount;
else } else {
return 0; return 0;
}
} }