remove tri-state logic from IncludeExcludeConnectionStatistics
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
This commit is contained in:
parent
1663a6d7af
commit
c37d902ef7
|
@ -64,14 +64,14 @@ public class IncludeExcludeConnectionStatistics extends ConnectionStatistics
|
|||
@Override
|
||||
public void onOpened(Connection connection)
|
||||
{
|
||||
if (Boolean.TRUE.equals(_set.isIncludedAndNotExcluded(connection)))
|
||||
if (_set.test(connection))
|
||||
super.onOpened(connection);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onClosed(Connection connection)
|
||||
{
|
||||
if (Boolean.TRUE.equals(_set.isIncludedAndNotExcluded(connection)))
|
||||
if (_set.test(connection))
|
||||
super.onClosed(connection);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue