浏览代码

fix from CR

tobiasKaminsky 8 年之前
父节点
当前提交
c315b0e753
共有 1 个文件被更改,包括 1 次插入2 次删除
  1. 1 2
      src/third_parties/in/srain/cube/GridViewWithHeaderAndFooter.java

+ 1 - 2
src/third_parties/in/srain/cube/GridViewWithHeaderAndFooter.java

@@ -413,8 +413,7 @@ public class GridViewWithHeaderAndFooter extends GridView {
     }
 
     public boolean isCorrectAdapter(){
-        return getAdapter() == null ||
-               (getAdapter() != null && getAdapter() instanceof HeaderViewGridAdapter);
+        return getAdapter() == null || getAdapter() instanceof HeaderViewGridAdapter;
     }
 
     /**