From 40b4a21f4d99397daa2c4e9168248d7c817de480 Mon Sep 17 00:00:00 2001 From: dreis2211 Date: Sun, 1 Oct 2017 17:56:31 +0200 Subject: [PATCH] Remove non short-circuit expression in Neo4jPropertiesTests Closes gh-10468 --- .../boot/autoconfigure/data/neo4j/Neo4jPropertiesTests.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/data/neo4j/Neo4jPropertiesTests.java b/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/data/neo4j/Neo4jPropertiesTests.java index b884b2c945..4a61d58d76 100644 --- a/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/data/neo4j/Neo4jPropertiesTests.java +++ b/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/data/neo4j/Neo4jPropertiesTests.java @@ -157,7 +157,7 @@ public class Neo4jPropertiesTests { private static void assertCredentials(Configuration actual, String username, String password) { Credentials credentials = actual.getCredentials(); - if (username == null & password == null) { + if (username == null && password == null) { assertThat(credentials).isNull(); } else {