activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From clebertsuco...@apache.org
Subject [activemq-artemis] branch main updated: NO-JIRA Small tweaks on PrintData.java
Date Fri, 11 Jun 2021 14:54:51 GMT
This is an automated email from the ASF dual-hosted git repository.

clebertsuconic pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/activemq-artemis.git


The following commit(s) were added to refs/heads/main by this push:
     new bff242b  NO-JIRA Small tweaks on PrintData.java
bff242b is described below

commit bff242bba738b6f1d9a2fa5bdb223ffee4889be3
Author: Clebert Suconic <clebertsuconic@apache.org>
AuthorDate: Fri Jun 11 10:52:51 2021 -0400

    NO-JIRA Small tweaks on PrintData.java
---
 .../org/apache/activemq/artemis/cli/commands/tools/PrintData.java  | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/artemis-cli/src/main/java/org/apache/activemq/artemis/cli/commands/tools/PrintData.java
b/artemis-cli/src/main/java/org/apache/activemq/artemis/cli/commands/tools/PrintData.java
index e17e5b9..25df90a 100644
--- a/artemis-cli/src/main/java/org/apache/activemq/artemis/cli/commands/tools/PrintData.java
+++ b/artemis-cli/src/main/java/org/apache/activemq/artemis/cli/commands/tools/PrintData.java
@@ -149,8 +149,9 @@ public class PrintData extends DBOption {
 
       DescribeJournal describeJournal = null;
       describeJournal = printMessages(messagesDirectory, out, safe, true, true, reclaimed);
-      if (describeJournal == null)
+      if (describeJournal == null) {
          return;
+      }
 
       try {
          printBanner(out, "P A G I N G");
@@ -163,10 +164,10 @@ public class PrintData extends DBOption {
 
    }
 
-   public static DescribeJournal printMessages(File messagesDirectory, PrintStream out, boolean
safe, boolean printRecords, boolean printSurving, boolean reclaimed) {
+   public static DescribeJournal printMessages(File messagesDirectory, PrintStream out, boolean
safe, boolean printRecords, boolean printSurviving, boolean reclaimed) {
       DescribeJournal describeJournal;
       try {
-         describeJournal = DescribeJournal.describeMessagesJournal(messagesDirectory, out,
safe, printRecords, printSurving, reclaimed);
+         describeJournal = DescribeJournal.describeMessagesJournal(messagesDirectory, out,
safe, printRecords, printSurviving, reclaimed);
       } catch (Exception e) {
          e.printStackTrace();
          return null;

Mime
View raw message