This commit is contained in:
Phillip Webb
2024-10-18 10:47:52 -07:00
parent d9539783d2
commit 168d82e138
13 changed files with 32 additions and 33 deletions

View File

@@ -34,8 +34,8 @@ public class ExampleService {
this.neo4jTemplate = neo4jTemplate;
}
public boolean hasNode(Class<?> clazz) {
return this.neo4jTemplate.count(clazz) == 1;
public boolean hasNode(Class<?> type) {
return this.neo4jTemplate.count(type) == 1;
}
}