Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions exist-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -944,6 +944,7 @@
<include>src/main/java/org/exist/storage/NativeValueIndex.java</include>
<include>src/main/java/org/exist/storage/NodePath.java</include>
<include>src/test/java/org/exist/storage/NodePathTest.java</include>
<include>src/main/java/org/exist/storage/NotificationService.java</include>
<include>src/main/java/org/exist/storage/ProcessMonitor.java</include>
<include>src/test/java/org/exist/storage/RecoverBinary2Test.java</include>
<include>src/test/java/org/exist/storage/Recovery2Test.java</include>
Expand Down Expand Up @@ -1544,6 +1545,7 @@
<exclude>src/main/java/org/exist/storage/NativeValueIndex.java</exclude>
<exclude>src/main/java/org/exist/storage/NodePath.java</exclude>
<exclude>src/test/java/org/exist/storage/NodePathTest.java</exclude>
<exclude>src/main/java/org/exist/storage/NotificationService.java</exclude>
<exclude>src/main/java/org/exist/storage/ProcessMonitor.java</exclude>
<exclude>src/test/java/org/exist/storage/RecoverBinary2Test.java</exclude>
<exclude>src/test/java/org/exist/storage/RecoverBinaryTest.java</exclude>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,28 @@
/*
* Elemental
* Copyright (C) 2024, Evolved Binary Ltd
*
* [email protected]
* https://www.evolvedbinary.com | https://www.elemental.xyz
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; version 2.1.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*
* NOTE: Parts of this file contain code from 'The eXist-db Authors'.
* The original license header is included below.
*
* =====================================================================
*
* eXist-db Open Source Native XML Database
* Copyright (C) 2001 The eXist-db Authors
*
Expand Down Expand Up @@ -104,7 +128,10 @@ public synchronized void debug() {
@Override
public void shutdown() {
synchronized (this) {
LOG.warn("Expected 0 listeners at shutdown, but {} listeners are still registered", listeners.size());
final int remainingListeners = listeners.size();
if (remainingListeners > 0) {
LOG.warn("Expected 0 listeners at shutdown, but {} listeners are still registered", remainingListeners);
}
}
BrokerPoolService.super.shutdown();
}
Expand Down