Skip to content

Commit

Permalink
fix the ci issue.
Browse files Browse the repository at this point in the history
  • Loading branch information
brotherlu-xcq committed Apr 28, 2022
1 parent 19c6f39 commit 14ee2de
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,10 @@ public Optional<StringConverter> createConverter(Key key) {
@Override
public Object fromString(String value) {
if (converter == null) {
throw new IllegalArgumentException("There is no suitable StringConverter for class(" + key.type() + "),"
+ "It should have a constructor that accepts a single String argument or "
+ "have a static method named valueOf() or fromString() that accepts a single String argument.");
throw new IllegalArgumentException("There is no suitable StringConverter for class(" +
key.type() + "),It should have a constructor that accepts a single String argument" +
" or have a static method named valueOf() or fromString() that accepts a " +
"single String argument.");
}

return converter.apply(value);
Expand Down

0 comments on commit 14ee2de

Please sign in to comment.