Make fields immutable (final) where possible
This commit is contained in:
@@ -40,10 +40,10 @@ import org.springframework.integration.mqtt.core.DefaultMqttPahoClientFactory;
|
||||
*/
|
||||
public class BrokerRunning extends TestWatcher {
|
||||
|
||||
private static Log logger = LogFactory.getLog(BrokerRunning.class);
|
||||
private static final Log logger = LogFactory.getLog(BrokerRunning.class);
|
||||
|
||||
// Static so that we only test once on failure: speeds up test suite
|
||||
private static Map<Integer, Boolean> brokerOnline = new HashMap<>();
|
||||
private static final Map<Integer, Boolean> brokerOnline = new HashMap<>();
|
||||
|
||||
private final int port;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user