Browse Source

fix from CR

tobiasKaminsky 8 years ago
parent
commit
c315b0e753
1 changed files with 1 additions and 2 deletions
  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;
     }
 
     /**