提交 4fd9989a 编写于 作者: S Serge Rider

DBUtils fix


Former-commit-id: 60b03231
上级 163a91f8
......@@ -464,7 +464,7 @@ public final class DBUtils {
if (adapterType.isAssignableFrom(object.getClass())) {
return adapterType.cast(object);
} else if (object instanceof IAdaptable) {
return adapterType.cast(((IAdaptable)object).getAdapter(adapterType));
return ((IAdaptable)object).getAdapter(adapterType);
} else {
return null;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册