Use always recommended spotbug version, defined by plugin
exclude data binding generated classes Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
This commit is contained in:
parent
5f185326ab
commit
e40893a136
|
@ -96,9 +96,7 @@ for (TaskExecutionRequest tr : getGradle().getStartParameter().getTaskRequests()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
spotbugs {
|
|
||||||
toolVersion = '3.1.12'
|
|
||||||
}
|
|
||||||
|
|
||||||
android {
|
android {
|
||||||
lintOptions {
|
lintOptions {
|
||||||
|
|
|
@ -32,6 +32,7 @@
|
||||||
<Or>
|
<Or>
|
||||||
<Class name="~.*BindingImpl"/>
|
<Class name="~.*BindingImpl"/>
|
||||||
<Class name="~.*\.DataBinderMapperImpl" />
|
<Class name="~.*\.DataBinderMapperImpl" />
|
||||||
|
<Class name="~.*Binding" />
|
||||||
</Or>
|
</Or>
|
||||||
</Match>
|
</Match>
|
||||||
|
|
||||||
|
|
|
@ -65,10 +65,10 @@ public class SyncedFolderAdapter extends SectionedRecyclerViewAdapter<SectionedV
|
||||||
private final List<SyncedFolderDisplayItem> syncFolderItems;
|
private final List<SyncedFolderDisplayItem> syncFolderItems;
|
||||||
private final List<SyncedFolderDisplayItem> filteredSyncFolderItems;
|
private final List<SyncedFolderDisplayItem> filteredSyncFolderItems;
|
||||||
private final boolean light;
|
private final boolean light;
|
||||||
private final int VIEW_TYPE_EMPTY = Integer.MAX_VALUE;
|
private static final int VIEW_TYPE_EMPTY = Integer.MAX_VALUE;
|
||||||
private final int VIEW_TYPE_ITEM = 1;
|
private static final int VIEW_TYPE_ITEM = 1;
|
||||||
private final int VIEW_TYPE_HEADER = 2;
|
private static final int VIEW_TYPE_HEADER = 2;
|
||||||
private final int VIEW_TYPE_FOOTER = 3;
|
private static final int VIEW_TYPE_FOOTER = 3;
|
||||||
private boolean hideItems;
|
private boolean hideItems;
|
||||||
|
|
||||||
public SyncedFolderAdapter(Context context, Clock clock, int gridWidth, ClickListener listener, boolean light) {
|
public SyncedFolderAdapter(Context context, Clock clock, int gridWidth, ClickListener listener, boolean light) {
|
||||||
|
|
Loading…
Reference in New Issue