Skip to content

Commit c55a35f

Browse files
authored
fix inverted hasValue() return
1 parent c595370 commit c55a35f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/sap4j/Argument.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ public String getValue() {
4141
* @return Whether the argument has a value
4242
*/
4343
public boolean hasValue() {
44-
return this.value == null;
44+
return this.value != null;
4545
}
4646

4747
@Override

0 commit comments

Comments
 (0)