NO-JIRA Small tweaks on PrintData.java

This commit is contained in:
Clebert Suconic 2021-06-11 10:52:51 -04:00
parent a4c1155a01
commit bff242bba7
1 changed files with 4 additions and 3 deletions

View File

@ -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;