From 855b450c1ac55b4517233d3d13ce9f421a90bbca Mon Sep 17 00:00:00 2001 From: Pascal Grimaud Date: Tue, 18 Oct 2022 07:40:19 +0200 Subject: [PATCH] Neo4j: format module factory --- .../database/neo4j/domain/Neo4jModuleFactory.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/main/java/tech/jhipster/lite/generator/server/springboot/database/neo4j/domain/Neo4jModuleFactory.java b/src/main/java/tech/jhipster/lite/generator/server/springboot/database/neo4j/domain/Neo4jModuleFactory.java index 43a82b53c73..5d54094a1ef 100644 --- a/src/main/java/tech/jhipster/lite/generator/server/springboot/database/neo4j/domain/Neo4jModuleFactory.java +++ b/src/main/java/tech/jhipster/lite/generator/server/springboot/database/neo4j/domain/Neo4jModuleFactory.java @@ -32,7 +32,7 @@ public JHipsterModule buildModule(JHipsterModuleProperties properties) { .startupCommand(DOCKER_COMPOSE_COMMAND) .context() .put("neo4jDockerImage", dockerImages.get("neo4j").fullName()) - .and() + .and() .javaDependencies() .addDependency(groupId("org.springframework.boot"), artifactId("spring-boot-starter-data-neo4j")) .addDependency(testContainerDependency()) @@ -45,12 +45,12 @@ public JHipsterModule buildModule(JHipsterModuleProperties properties) { .add(SOURCE.template("spring.factories"), to("src/test/resources/META-INF/spring.factories")) .and() .springMainProperties() - .set(propertyKey("spring.neo4j.uri"), propertyValue("bolt://localhost:7687")) - .set(propertyKey("spring.neo4j.pool.metrics-enabled"), propertyValue("true")) - .and() + .set(propertyKey("spring.neo4j.uri"), propertyValue("bolt://localhost:7687")) + .set(propertyKey("spring.neo4j.pool.metrics-enabled"), propertyValue("true")) + .and() .springTestProperties() - .set(propertyKey("spring.neo4j.uri"), propertyValue("${TEST_NEO4J_URI}")) - .and() + .set(propertyKey("spring.neo4j.uri"), propertyValue("${TEST_NEO4J_URI}")) + .and() .springMainLogger("org.neo4j.driver", LogLevel.WARN) .springTestLogger("org.neo4j.driver", LogLevel.WARN) .springTestLogger("com.github.dockerjava", LogLevel.WARN)