Skip to content

Commit d56af75

Browse files
committed
refactor
1 parent 061fefa commit d56af75

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/org/scm4j/commons/regexconfig/RegexConfigLoaderYaml.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@ public void loadFromUrls(LinkedHashMap<Object, Object> content, String... separa
4646
}
4747

4848
String prependOmapIfNeed(String content, Yaml yaml) throws IOException {
49-
if (isSequence(content, yaml)) {
50-
if (noOMAPTag(content)) {
49+
if (noOMAPTag(content)) {
50+
if (isSequence(content, yaml)) {
5151
return OMAP_TAG + "\r\n" + content;
5252
}
5353
}

0 commit comments

Comments
 (0)