Skip to content

Commit 6098ad8

Browse files
AlessandroMinoccherirhamzeh
authored andcommitted
chore: remove unnecessary if condition
source: openfga/sdk-generator#546
1 parent 3ad2121 commit 6098ad8

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/main/java/dev/openfga/sdk/api/model/AbstractOpenApiSchema.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,8 +137,7 @@ public int hashCode() {
137137
public Boolean isNullable() {
138138
if (Boolean.TRUE.equals(isNullable)) {
139139
return Boolean.TRUE;
140-
} else {
141-
return Boolean.FALSE;
142140
}
141+
return Boolean.FALSE;
143142
}
144143
}

0 commit comments

Comments
 (0)