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