Skip to content

Commit

Permalink
Fix matcher logic
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Jackson <[email protected]>
  • Loading branch information
cdjackson committed Mar 13, 2019
1 parent fe4eeef commit ab6d9a2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ private void generateZclClusterCommands(ZigBeeXmlCluster cluster, String package
out.println(" public boolean isTransactionMatch(ZigBeeCommand request, ZigBeeCommand response) {");
if (command.response.matchers.isEmpty()) {
out.println(" return (response instanceof " + command.response.command + ")");
out.println(" & ((ZdoRequest) request).getDestinationAddress().equals((("
out.println(" && ((ZdoRequest) request).getDestinationAddress().equals((("
+ command.response.command + ") response).getSourceAddress());");
} else {
out.println(" if (!(response instanceof " + command.response.command + ")) {");
Expand Down

0 comments on commit ab6d9a2

Please sign in to comment.