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

[GitHub] activemq-artemis pull request #2080: ARTEMIS-1851 avoid exception in isRepli...

Github user jdanekrh commented on a diff in the pull request:
    --- Diff: artemis-server/src/main/java/org/apache/activemq/artemis/core/server/impl/ ---
    @@ -946,7 +946,7 @@ public boolean isReplicaSync() {
           } else if (activation instanceof SharedNothingBackupActivation) {
              return ((SharedNothingBackupActivation) activation).isRemoteBackupUpToDate();
           } else {
    -         throw ActiveMQMessageBundle.BUNDLE.methodNotApplicable();
    --- End diff --
    Isn't this the only place where this error message was generated? If so, then it may be also deleted at