Skip to content

Commit 86aa5c1

Browse files
luckygcschauder
authored andcommitted
Fix typo SqlGenerator.java
Original pull request #1987 Signed-off-by: luckygc <[email protected]> Commit message edited.
1 parent 5d98ebe commit 86aa5c1

File tree

1 file changed

+3
-3
lines changed
  • spring-data-jdbc/src/main/java/org/springframework/data/jdbc/core/convert

1 file changed

+3
-3
lines changed

spring-data-jdbc/src/main/java/org/springframework/data/jdbc/core/convert/SqlGenerator.java

+3-3
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ class SqlGenerator {
6969
/**
7070
* Length of an aggregate path that is one longer then the root path.
7171
*/
72-
private static final int FIRST_NON_ROOT_LENTH = 2;
72+
private static final int FIRST_NON_ROOT_LENGTH = 2;
7373

7474
private final RelationalPersistentEntity<?> entity;
7575
private final RelationalMappingContext mappingContext;
@@ -131,7 +131,7 @@ class SqlGenerator {
131131
* @return If the given path is considered deeply nested.
132132
*/
133133
private static boolean isFirstNonRoot(AggregatePath path) {
134-
return path.getLength() == FIRST_NON_ROOT_LENTH;
134+
return path.getLength() == FIRST_NON_ROOT_LENGTH;
135135
}
136136

137137
/**
@@ -148,7 +148,7 @@ private static boolean isFirstNonRoot(AggregatePath path) {
148148
* @return If the given path is considered deeply nested.
149149
*/
150150
private static boolean isDeeplyNested(AggregatePath path) {
151-
return path.getLength() > FIRST_NON_ROOT_LENTH;
151+
return path.getLength() > FIRST_NON_ROOT_LENGTH;
152152
}
153153

154154
/**

0 commit comments

Comments
 (0)