style: format
This commit is contained in:
parent
bff1793697
commit
4b04ea2585
@ -15,8 +15,6 @@
|
|||||||
*/
|
*/
|
||||||
package com.baomidou.dynamic.datasource.annotation;
|
package com.baomidou.dynamic.datasource.annotation;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
import com.baomidou.dynamic.datasource.tx.DsPropagation;
|
import com.baomidou.dynamic.datasource.tx.DsPropagation;
|
||||||
|
|
||||||
import java.lang.annotation.*;
|
import java.lang.annotation.*;
|
||||||
|
@ -335,8 +335,12 @@ public class ConnectionProxy implements Connection {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean equals(Object o) {
|
public boolean equals(Object o) {
|
||||||
if (this == o) {return true;}
|
if (this == o) {
|
||||||
if (!(o instanceof ConnectionProxy)) {return false;}
|
return true;
|
||||||
|
}
|
||||||
|
if (!(o instanceof ConnectionProxy)) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
ConnectionProxy that = (ConnectionProxy) o;
|
ConnectionProxy that = (ConnectionProxy) o;
|
||||||
return Objects.equals(connection, that.connection) && Objects.equals(ds, that.ds);
|
return Objects.equals(connection, that.connection) && Objects.equals(ds, that.ds);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user