nhojpatrick commented on pull request #287:
URL:
https://github.com/apache/commons-collections/pull/287#issuecomment-1059740311
So MapUtilsTest, show should it indent?
As this throws and indentation issue;
```
() -> assertThrows(IllegalArgumentException.class, () ->
MapUtils.putAll(new HashMap<String, String>(), new String[][]{
{"RED", "#FF0000"},
null,
{"BLUE", "#0000FF"}
})),
```
But this doesn't;
```
() -> assertThrows(IllegalArgumentException.class, () ->
MapUtils.putAll(new HashMap<String, String>(), new String[][]{
{"RED", "#FF0000"},
{"GREEN"},
{"BLUE", "#0000FF"}
})),
```
According to the rule I need to change it to;
```
() -> assertThrows(IllegalArgumentException.class, () ->
MapUtils.putAll(new HashMap<String, String>(), new String[][]{
{"RED", "#FF0000"},
null,
{"BLUE", "#0000FF"}
})),
```
Which then looks weird and doesn't match the others.
--
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]