format codes

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

View file

@ -66,11 +66,12 @@ public class CallMonitoringAspect {
@ManagedAttribute
public long getCallTime() {
if (this.callCount > 0)
if (this.callCount > 0) {
return this.accumulatedCallTime / this.callCount;
else
} else {
return 0;
}
}
@Around("within(@org.springframework.stereotype.Repository *)")