garydgregory commented on code in PR #381:
URL: 
https://github.com/apache/commons-configuration/pull/381#discussion_r1526202831


##########
src/test/java/org/apache/commons/configuration2/TestMapConfiguration.java:
##########
@@ -154,4 +155,9 @@ public void testGetPropertyTrimNoSplit() {
         config.setListDelimiterHandler(new DisabledListDelimiterHandler());
         assertEquals(SPACE_VALUE, config.getProperty(KEY));
     }
+
+    @Test
+    public void testNullMap() {
+        assertThrows(NullPointerException.class, () -> {new 
MapConfiguration(null);});

Review Comment:
   The `{}`s are not needed, please remove the extra chars.



-- 
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.

To unsubscribe, e-mail: [email protected]

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

Reply via email to