Merge pull request #10468 from dreis2211:short-circuit-cleanup

* pr/10468:
  Remove non short-circuit expression in Neo4jPropertiesTests
pull/10468/merge
Stephane Nicoll 7 years ago
commit 5e2ec29413

@ -157,7 +157,7 @@ public class Neo4jPropertiesTests {
private static void assertCredentials(Configuration actual, String username, private static void assertCredentials(Configuration actual, String username,
String password) { String password) {
Credentials<?> credentials = actual.getCredentials(); Credentials<?> credentials = actual.getCredentials();
if (username == null & password == null) { if (username == null && password == null) {
assertThat(credentials).isNull(); assertThat(credentials).isNull();
} }
else { else {

Loading…
Cancel
Save