|
|
|
@ -5,6 +5,7 @@ import com.fanruan.api.data.open.BaseConnection;
|
|
|
|
|
import com.fanruan.api.i18n.I18nKit; |
|
|
|
|
import com.fanruan.api.util.StringKit; |
|
|
|
|
import com.fr.config.holder.Conf; |
|
|
|
|
import com.fr.stable.StringUtils; |
|
|
|
|
import com.fr.stable.xml.XMLPrintWriter; |
|
|
|
|
import com.fr.stable.xml.XMLableReader; |
|
|
|
|
import com.fr.third.ibm.icu.impl.Assert; |
|
|
|
@ -66,4 +67,13 @@ public class DemoConnection extends BaseConnection {
|
|
|
|
|
return cloned; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
|
public boolean equals(Object obj) { |
|
|
|
|
return super.equals(obj) && |
|
|
|
|
DemoConnection.class.isInstance( obj ) |
|
|
|
|
&& StringUtils.equals( |
|
|
|
|
DemoConnection.class.cast(obj).getKey(), getKey() |
|
|
|
|
); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|