commit | 092657aa794a58f97ec99a12157c840ef7d07e91 | [log] [tgz] |
---|---|---|
author | Michael Jumper <mjumper@apache.org> | Sat Jun 08 13:44:45 2019 -0700 |
committer | Michael Jumper <mjumper@apache.org> | Sat Jun 08 13:44:45 2019 -0700 |
tree | 54b9d0bbd0bd8742e21f8275b36a63ce8a36e9aa | |
parent | f2ae848b1bea0163749c017d3ce6b3fe59cd6eef [diff] |
GUACAMOLE-422: Replace non-short-circuit logic in null check (`&`) with proper short-circuit logic (`&&`). Checking `timezone != null & !timezone.isEmpty()` will result in a `NullPointerException` when `timezone` is null, as the `&` ensures `timezone.isEmpty()` will run in all cases.