Skip to content

Commit

Permalink
Flip default around so that we don't need the else.
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Newman committed Sep 27, 2020
1 parent 5f606d0 commit e075722
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/main/java/com/amihaiemil/eoyaml/ReadPlainScalar.java
Original file line number Diff line number Diff line change
Expand Up @@ -122,8 +122,6 @@ public String value() {
} else if (matcher.group(SEQUENCE_GROUP) != null) {
value = matcher.group(SEQUENCE_GROUP).trim();
}
} else {
value = trimmed;
}
if("null".equals(value)) {
return null;
Expand Down

0 comments on commit e075722

Please sign in to comment.