Skip to content

Commit 0cc8a78

Browse files
committed
change format to +
1 parent df40156 commit 0cc8a78

File tree

1 file changed

+2
-2
lines changed
  • platform-yml-parser/src/main/java/com/flow/platform/yml/parser/exception

1 file changed

+2
-2
lines changed

platform-yml-parser/src/main/java/com/flow/platform/yml/parser/exception/YmlException.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@
2222
public class YmlException extends RuntimeException {
2323

2424
public YmlException(String message) {
25-
super(String.format("Illegal yml format: %s", message));
25+
super("Illegal yml format: " + message);
2626
}
2727

2828
public YmlException(String message, Throwable cause) {
29-
super(String.format("Illegal yml format: %s", message), cause);
29+
super("Illegal yml format: " + message, cause);
3030
}
3131
}

0 commit comments

Comments
 (0)