Description
The getTrustStores() and getKeyStores() methods of the BrokerAdapter class seem use both the _trustStores object as a lock for the sychronize statement:
@Override
public Collection<KeyStore> getKeyStores()
{
synchronized(_trustStores)
}
@Override
public Collection<TrustStore> getTrustStores()
{
synchronized(_trustStores)
}
Is that a bug? I would assume that the getKeyStores method should use the _keyStores object instead of _trustStores.