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 0adf425 commit ab48054Copy full SHA for ab48054
src/test/java/software/xdev/saveactions/model/java/EpfKeyTest.java
@@ -55,7 +55,7 @@ private List<String> getPropertiesKeyNames(final Properties properties)
55
return properties.keySet().stream()
56
.map(Object::toString)
57
.filter(key -> EpfKey.getPrefixes().stream().anyMatch(key::startsWith))
58
- .map(key -> key.substring(key.lastIndexOf(".") == -1 ? 0 : key.lastIndexOf(".") + 1))
+ .map(key -> key.substring(key.lastIndexOf('.') == -1 ? 0 : key.lastIndexOf('.') + 1))
59
.collect(toList());
60
}
61
0 commit comments