Merge pull request #30 from TouchInstinct/static_analysis
pass static analysis
This commit is contained in:
commit
a5b54816c3
|
|
@ -278,7 +278,6 @@ public abstract class ObservableCollectionAdapter<TItem, TItemViewHolder extends
|
|||
return;
|
||||
}
|
||||
|
||||
final TItem item = innerCollection.get(position - getHeadersCount());
|
||||
final TItemViewHolder itemViewHolder;
|
||||
try {
|
||||
itemViewHolder = (TItemViewHolder) holder;
|
||||
|
|
@ -286,6 +285,7 @@ public abstract class ObservableCollectionAdapter<TItem, TItemViewHolder extends
|
|||
Lc.assertion(exception);
|
||||
return;
|
||||
}
|
||||
final TItem item = innerCollection.get(position - getHeadersCount());
|
||||
onBindItemToViewHolder(itemViewHolder, position, item);
|
||||
(itemViewHolder).bindPosition(position);
|
||||
if (onItemClickListener != null && !isOnClickListenerDisabled(item)) {
|
||||
|
|
|
|||
|
|
@ -47,6 +47,7 @@ import rx.functions.Action1;
|
|||
* @param <TActivity> Type of activity where such {@link ViewController} could be;
|
||||
* @param <TFragment> Type of fragment where such {@link ViewController} could be;
|
||||
*/
|
||||
@SuppressWarnings("PMD.TooManyMethods")
|
||||
public class ViewController<TActivity extends ViewControllerActivity<?>,
|
||||
TFragment extends ViewControllerFragment<?, TActivity>>
|
||||
implements LifecycleBindable {
|
||||
|
|
|
|||
|
|
@ -55,6 +55,7 @@ import rx.subjects.BehaviorSubject;
|
|||
* @param <TState> Type of object which is representing it's fragment state;
|
||||
* @param <TActivity> Type of {@link ViewControllerActivity} where fragment could be attached to.
|
||||
*/
|
||||
@SuppressWarnings("PMD.TooManyMethods")
|
||||
public abstract class ViewControllerFragment<TState extends AbstractState, TActivity extends ViewControllerActivity<?>>
|
||||
extends ViewFragment<TActivity> {
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue