diff --git a/Simple-Yaml/src/main/java/org/simpleyaml/configuration/comments/YamlCommentParser.java b/Simple-Yaml/src/main/java/org/simpleyaml/configuration/comments/YamlCommentParser.java index ce6a41c..4b8e7e6 100644 --- a/Simple-Yaml/src/main/java/org/simpleyaml/configuration/comments/YamlCommentParser.java +++ b/Simple-Yaml/src/main/java/org/simpleyaml/configuration/comments/YamlCommentParser.java @@ -125,7 +125,7 @@ protected void trackBlockCommentExplicit(final KeyTree.Node node) { } public static String removeHeader(String blockComment, final YamlConfigurationOptions options) { - String header = options.headerFormatter().dump(options.header()); + final String header = options.headerFormatter().dump(options.header()); if (header != null && !header.isEmpty()) { boolean headerWithBlankLine = header.endsWith("\n\n"); if (headerWithBlankLine) {