Skip to content

Commit a62b218

Browse files
author
Lloyd Watkin
committed
Small code tidy
1 parent 00fa5ee commit a62b218

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • src/main/java/org/buddycloud/channelserver/packetprocessor/iq/namespace/pubsub/set

src/main/java/org/buddycloud/channelserver/packetprocessor/iq/namespace/pubsub/set/NodeCreate.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ private HashMap<String, String> getNodeConfiguration() {
9797
}
9898

9999
private boolean validateNode() {
100-
if (node != null && !node.trim().equals("")) {
100+
if ((node != null) && !node.trim().equals("")) {
101101
return true;
102102
}
103103
response.setType(IQ.Type.error);

0 commit comments

Comments
 (0)