15
15
*/
16
16
package org .springframework .data .jdbc .core .convert ;
17
17
18
+ import java .util .*;
19
+ import java .util .function .Function ;
20
+ import java .util .regex .Pattern ;
21
+ import java .util .stream .Collectors ;
22
+
18
23
import org .springframework .data .domain .Pageable ;
19
24
import org .springframework .data .domain .Sort ;
20
25
import org .springframework .data .jdbc .repository .support .SimpleJdbcRepository ;
33
38
import org .springframework .lang .Nullable ;
34
39
import org .springframework .util .Assert ;
35
40
36
- import java .util .*;
37
- import java .util .function .Function ;
38
- import java .util .regex .Pattern ;
39
- import java .util .stream .Collectors ;
40
-
41
41
/**
42
42
* Generates SQL statements to be used by {@link SimpleJdbcRepository}
43
43
*
@@ -751,12 +751,14 @@ Column getParentId() {
751
751
@ Override
752
752
public boolean equals (Object o ) {
753
753
754
- if (this == o ) return true ;
755
- if (o == null || getClass () != o .getClass ()) return false ;
754
+ if (this == o ) {
755
+ return true ;
756
+ }
757
+ if (o == null || getClass () != o .getClass ()) {
758
+ return false ;
759
+ }
756
760
Join join = (Join ) o ;
757
- return joinTable .equals (join .joinTable ) &&
758
- joinColumn .equals (join .joinColumn ) &&
759
- parentId .equals (join .parentId );
761
+ return joinTable .equals (join .joinTable ) && joinColumn .equals (join .joinColumn ) && parentId .equals (join .parentId );
760
762
}
761
763
762
764
@ Override
@@ -767,10 +769,10 @@ public int hashCode() {
767
769
@ Override
768
770
public String toString () {
769
771
770
- return "Join{" +
771
- "joinTable=" + joinTable +
772
- ", joinColumn=" + joinColumn +
773
- ", parentId=" + parentId +
772
+ return "Join{" + //
773
+ "joinTable=" + joinTable + //
774
+ ", joinColumn=" + joinColumn + //
775
+ ", parentId=" + parentId + //
774
776
'}' ;
775
777
}
776
778
}
0 commit comments