Skip to content
Snippets Groups Projects
Commit a2a97256 authored by Dapeng's avatar Dapeng
Browse files

format codes

parent 8c4e2749
Branches
No related tags found
No related merge requests found
......@@ -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;
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment