Skip to content

Commit

Permalink
Polish JavaDoc and fix doc.
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-simons committed Jul 6, 2021
1 parent a578c82 commit 8822ba2
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 10 deletions.
4 changes: 2 additions & 2 deletions docs/cypher-parser/cypher-parser.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ NOTE: The current version of the Cypher-DSL-Parser modules is rather big. This i
<dependency>
<groupId>{groupId}</groupId>
<artifactId>neo4j-cypher-dsl-parser</artifactId>
<version>{neo4j-cypher-dsl.version}</version>
<version>{neo4j-cypher-dsl-version}</version>
</dependency>
----

Expand All @@ -38,7 +38,7 @@ NOTE: The current version of the Cypher-DSL-Parser modules is rather big. This i
.Gradle variant for additional dependencies
----
dependencies {
implementation '{groupId}:neo4j-cypher-dsl-parser:{neo4j-cypher-dsl.version}'
implementation '{groupId}:neo4j-cypher-dsl-parser:{neo4j-cypher-dsl-version}'
}
----

Expand Down
1 change: 1 addition & 0 deletions etc/checkstyle/suppressions.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@
"http://www.puppycrawl.com/dtds/suppressions_1_1.dtd">
<suppressions>
<suppress checks="RegexpHeader" files="package-info\.java"/>
<suppress checks="[a-zA-Z0-9]*" files="[\\/]generated-test-sources[\\/]"/>
</suppressions>
Original file line number Diff line number Diff line change
Expand Up @@ -234,6 +234,8 @@ public static Condition isFalse() {
}

/**
* @param symbolicName Reference to the entity that should be checked for labels or types
* @param labelsOrTypes the list of labels or types to check for
* @return A condition that checks whether a node has a set of given labels or a relationship a set of given types.
* @since 2021.3.0
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,13 +82,17 @@ private static String[] mergeTypesIfNecessary(String type, String... additionalT
/**
* Always creates a relationship from start to end (left to right).
*
* @param symbolicName an optional symbolic name
* @param start start node
* @param properties The properties for the relationship
* @param end end node
* @param type type of the relationship
* @param symbolicName an optional symbolic name
* @param start start node
* @param properties The properties for the relationship
* @param end end node
* @param type type of the relationship
* @param additionalTypes Additional types to be added to the relationship, only meaningfull when the object is used
* for querying, when used in a {@literal CREATE} or {@literal MERGE} clause the runtime will
* throw an exception.
*/
protected RelationshipBase(SymbolicName symbolicName, Node start, String type, Properties properties, Node end, String... additionalTypes) {
protected RelationshipBase(SymbolicName symbolicName, Node start, String type, Properties properties, Node end,
String... additionalTypes) {

this(symbolicName, start, Direction.LTR, properties, end, mergeTypesIfNecessary(type, additionalTypes));
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,8 @@ static Statement of(@NotNull List<Clause> clauses) {
* <p>
* The {@literal USING PERIODIC HINT} is only valid right before the {@literal LOAD CSV clause}.
*
* @param clauses A list of clauses, must not be null
* @param batchSize The batch size to pass to {@literal PERIODIC COMMIT}.
* @param clauses A list of clauses, must not be null
* @return A statement
* @since 2021.3.0
*/
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -771,6 +771,7 @@
<neo4j-version>${neo4j.version}</neo4j-version>
<neo4j-java-driver-version>${neo4j-java-driver.version}</neo4j-java-driver-version>
<reactor-version>${reactor.version}</reactor-version>
<neo4j-cypher-dsl.version>${project.version}</neo4j-cypher-dsl.version>
</attributes>
<requires>
<require>asciidoctor-diagram</require>
Expand Down Expand Up @@ -838,7 +839,6 @@
<reports>
<report>aggregate</report>
</reports>
<configuration></configuration>
</reportSet>
</reportSets>
</plugin>
Expand Down

0 comments on commit 8822ba2

Please sign in to comment.