소스 검색

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;
     }
 
     /**