style: format

This commit is contained in:
HuaYan 2023-05-08 22:02:55 +08:00
parent bff1793697
commit 4b04ea2585
7 changed files with 19 additions and 17 deletions

View File

@ -15,8 +15,6 @@
*/
package com.baomidou.dynamic.datasource.annotation;
import com.baomidou.dynamic.datasource.tx.DsPropagation;
import java.lang.annotation.*;

View File

@ -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);
}