camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject [4/6] camel git commit: Camel commands show more details
Date Tue, 28 Jul 2015 07:11:39 GMT
Camel commands show more details


Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/19ee7717
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/19ee7717
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/19ee7717

Branch: refs/heads/master
Commit: 19ee7717aa26621acc6479e2c216d2de35181dd4
Parents: d04768e
Author: Claus Ibsen <davsclaus@apache.org>
Authored: Tue Jul 28 09:13:19 2015 +0200
Committer: Claus Ibsen <davsclaus@apache.org>
Committed: Tue Jul 28 09:13:19 2015 +0200

----------------------------------------------------------------------
 .../java/org/apache/camel/commands/EndpointStatisticCommand.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/19ee7717/platforms/commands/commands-core/src/main/java/org/apache/camel/commands/EndpointStatisticCommand.java
----------------------------------------------------------------------
diff --git a/platforms/commands/commands-core/src/main/java/org/apache/camel/commands/EndpointStatisticCommand.java
b/platforms/commands/commands-core/src/main/java/org/apache/camel/commands/EndpointStatisticCommand.java
index a89f2e2..9e33f12 100644
--- a/platforms/commands/commands-core/src/main/java/org/apache/camel/commands/EndpointStatisticCommand.java
+++ b/platforms/commands/commands-core/src/main/java/org/apache/camel/commands/EndpointStatisticCommand.java
@@ -36,7 +36,7 @@ public class EndpointStatisticCommand extends AbstractCamelCommand {
     private static final String DIRECTION_COLUMN_LABEL = "Direction";
     private static final String STATIC_COLUMN_LABEL = "Static";
     private static final String DYNAMIC_COLUMN_LABEL = "Dynamic";
-    private static final String HITS_COLUMN_LABEL = "Hits";
+    private static final String HITS_COLUMN_LABEL = "Total #";
 
     private static final int DEFAULT_COLUMN_WIDTH_INCREMENT = 0;
     private static final String DEFAULT_FIELD_PREAMBLE = " ";
@@ -82,7 +82,7 @@ public class EndpointStatisticCommand extends AbstractCamelCommand {
 
                 if (!header) {
                     out.println(String.format(headerFormat, CONTEXT_COLUMN_LABEL, URI_COLUMN_LABEL,
ROUTE_COLUMN_LABEL, DIRECTION_COLUMN_LABEL, STATIC_COLUMN_LABEL, DYNAMIC_COLUMN_LABEL, HITS_COLUMN_LABEL));
-                    out.println(String.format(headerFormat, "-------", "---", "--------",
"---------", "------", "-------", "----"));
+                    out.println(String.format(headerFormat, "-------", "---", "--------",
"---------", "------", "-------", "-------"));
                     header = true;
                 }
 


Mime
View raw message