Skip to content

Commit 53c293e

Browse files
authored
Merge pull request briandilley#163 from aloneboat/master
Fix "backwardsCompatible" setting process error.
2 parents 144bac1 + f6f6466 commit 53c293e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/googlecode/jsonrpc4j/JsonRpcBasicServer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -413,7 +413,7 @@ private boolean isNotificationRequest(Object id) {
413413
}
414414

415415
private boolean isValidRequest(ObjectNode node) {
416-
return !backwardsCompatible || hasMethodAndVersion(node);
416+
return backwardsCompatible || hasMethodAndVersion(node);
417417
}
418418

419419
private boolean hasMethodAndVersion(ObjectNode node) {

0 commit comments

Comments
 (0)