in src/main/java/org/apache/sling/repoinit/parser/operations/RegisterNodetypes.java [60:69]
public String asRepoInitString() {
try (Formatter formatter = new Formatter()) {
for (String nodetypeRegistrationSentence : generateRepoInitLines(new BufferedReader(new StringReader(cndStatements)))) {
formatter.format("%s%n", nodetypeRegistrationSentence);
}
return formatter.toString();
} catch (IOException e) {
throw new RuntimeException("Unexpected IOException", e);
}
}