From 0cd1285aa44c1d526a9505098ab99bdbcdb55de0 Mon Sep 17 00:00:00 2001 From: Johnny Lim Date: Tue, 11 Apr 2017 00:14:18 +0900 Subject: [PATCH] Polish Closes gh-8879 --- spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc | 2 +- .../autoconfigure/data/neo4j/DataNeo4jTypeExcludeFilter.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc b/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc index 8e688e8e3f..e4a2dcb531 100644 --- a/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc +++ b/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc @@ -5733,7 +5733,7 @@ A list of the auto-configuration that is enabled by `@DataMongoTest` can be [[boot-features-testing-spring-boot-applications-testing-autoconfigured-neo4j-test]] ==== Auto-configured Data Neo4j tests `@DataNeo4jTest` can be used if you want to test Neo4j applications. By default, it will -use an in-memory embedded Neo4j (if the embedded driver is available), scan for +use an in-memory embedded Neo4j (if the embedded driver is available), scan for `@NodeEntity` classes and configure Spring Data Neo4j repositories. Regular `@Component` beans will not be loaded into the `ApplicationContext`: diff --git a/spring-boot-test-autoconfigure/src/main/java/org/springframework/boot/test/autoconfigure/data/neo4j/DataNeo4jTypeExcludeFilter.java b/spring-boot-test-autoconfigure/src/main/java/org/springframework/boot/test/autoconfigure/data/neo4j/DataNeo4jTypeExcludeFilter.java index 5b0ee1cf7f..e379718a1f 100644 --- a/spring-boot-test-autoconfigure/src/main/java/org/springframework/boot/test/autoconfigure/data/neo4j/DataNeo4jTypeExcludeFilter.java +++ b/spring-boot-test-autoconfigure/src/main/java/org/springframework/boot/test/autoconfigure/data/neo4j/DataNeo4jTypeExcludeFilter.java @@ -33,7 +33,7 @@ class DataNeo4jTypeExcludeFilter extends AnnotationCustomizableTypeExcludeFilter private final DataNeo4jTest annotation; - DataNeo4jTypeExcludeFilter(final Class testClass) { + DataNeo4jTypeExcludeFilter(Class testClass) { this.annotation = AnnotatedElementUtils.getMergedAnnotation(testClass, DataNeo4jTest.class); }