tobiasKaminsky 8 år sedan
förälder
incheckning
c315b0e753
1 ändrade filer med 1 tillägg och 2 borttagningar
  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;
     }
 
     /**