Skip to content

Commit b728137

Browse files
committed
removed unnecessary else statement
1 parent 4ebaf08 commit b728137

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/main/java/org/apache/ibatis/parsing/PropertyParser.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,8 @@ public VariableTokenHandler(Properties variables) {
3535
public String handleToken(String content) {
3636
if (variables != null && variables.containsKey(content)) {
3737
return variables.getProperty(content);
38-
} else {
39-
return "${" + content + "}";
4038
}
39+
return "${" + content + "}";
4140
}
4241
}
4342
}

0 commit comments

Comments
 (0)