We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6865449 commit e2f82c4Copy full SHA for e2f82c4
lib/src/main/java/com/diffplug/spotless/java/ImportSorterImpl.java
@@ -45,7 +45,7 @@ private static class ImportsGroup {
45
private final List<String> subGroups;
46
47
public ImportsGroup(String importOrder) {
48
- this.subGroups = Stream.of(importOrder.split("\\" + SUBGROUP_SEPARATOR))
+ this.subGroups = Stream.of(importOrder.split("\\" + SUBGROUP_SEPARATOR, -1))
49
.map(this::normalizeStatic)
50
.collect(Collectors.toList());
51
}
0 commit comments