You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@accumulo.apache.org by ct...@apache.org on 2019/07/23 16:34:29 UTC
[accumulo] branch 2.0 updated: Fix formatting
This is an automated email from the ASF dual-hosted git repository.
ctubbsii pushed a commit to branch 2.0
in repository https://gitbox.apache.org/repos/asf/accumulo.git
The following commit(s) were added to refs/heads/2.0 by this push:
new 8b33ebe Fix formatting
8b33ebe is described below
commit 8b33ebeab627e845d7d628c2e96134e9156069a5
Author: Christopher Tubbs <ct...@apache.org>
AuthorDate: Tue Jul 23 12:26:13 2019 -0400
Fix formatting
---
.../src/main/java/org/apache/accumulo/tserver/TabletServer.java | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/server/tserver/src/main/java/org/apache/accumulo/tserver/TabletServer.java b/server/tserver/src/main/java/org/apache/accumulo/tserver/TabletServer.java
index 0b2c5e7..1ddec82 100644
--- a/server/tserver/src/main/java/org/apache/accumulo/tserver/TabletServer.java
+++ b/server/tserver/src/main/java/org/apache/accumulo/tserver/TabletServer.java
@@ -1152,13 +1152,13 @@ public class TabletServer extends AbstractServer {
}
private void updateAvgCommitTime(long time, int size) {
- if(size > 0)
+ if (size > 0)
updateMetrics.addCommitTime((long) (time / (double) size));
}
private void updateAvgPrepTime(long time, int size) {
- if(size > 0)
- updateMetrics.addCommitPrep((long) (time / (double) size));
+ if (size > 0)
+ updateMetrics.addCommitPrep((long) (time / (double) size));
}
@Override