in src/main/java/org/apache/sling/repoinit/parser/operations/RegisterNodetypes.java [72:87]
public static List<String> generateRepoInitLines(@NotNull BufferedReader rawLines) throws IOException {
List<String> lines = new ArrayList<>();
lines.add("register nodetypes");
lines.add("<<===");
String raw;
while((raw = rawLines.readLine()) != null) {
if (raw.isEmpty()) {
lines.add("");
} else {
lines.add("<< "+raw);
}
}
lines.add("===>>");
return lines;
}