pzampino commented on a change in pull request #361:
URL: https://github.com/apache/knox/pull/361#discussion_r454401688



##########
File path: 
gateway-server/src/test/java/org/apache/knox/gateway/services/factory/ServiceFactoryTest.java
##########
@@ -52,7 +52,7 @@
 
   protected final GatewayServices gatewayServices = 
EasyMock.createNiceMock(GatewayServices.class);
   protected final GatewayConfig gatewayConfig = 
EasyMock.createNiceMock(GatewayConfig.class);
-  protected final Map<String, String> options = Collections.emptyMap();
+  protected final Map<String, String> options = new HashMap<>();

Review comment:
       Does the mutability of the map matter for a _test_?




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to