Skip to content

Commit

Permalink
Fix validation #2
Browse files Browse the repository at this point in the history
Signed-off-by: lsiepel <[email protected]>
  • Loading branch information
lsiepel committed Jan 4, 2023
1 parent 54026ff commit 0228d81
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ public void setMacAddress(String macAddress) {
}

public boolean isValid() {
return !label.isBlank() || !ipAddress.isBlank() || !macAddress.isBlank();
return !(label.isBlank() || ipAddress.isBlank() || macAddress.isBlank());
}

@Override
Expand Down

0 comments on commit 0228d81

Please sign in to comment.