[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GitHub] activemq-artemis pull request #2470: Fixes for alerts from

Github user jbertram commented on a diff in the pull request:
    --- Diff: artemis-cli/src/main/java/org/apache/activemq/artemis/cli/commands/tools/ ---
    @@ -216,63 +216,63 @@ private static void printPages(DescribeJournal describeJournal,
              if (pgStore != null) {
                 folder = pgStore.getFolder();
    --- End diff --
    The not-null check here on `pgStore` indicates that `pgStore` may, in fact, be null. If it is null then it will trigger a `NullPointerException` almost straight away.