remove nullable.

This commit is contained in:
daimajia 2017-03-09 16:39:15 +08:00
parent 4e55a83a73
commit 85adc4a022
2 changed files with 1 additions and 3 deletions

View File

@ -3,7 +3,7 @@ android:
components: components:
- tools - tools
- platform-tools - platform-tools
- build-tools-25.2.0 - build-tools-25.0.2
- android-25 - android-25
- extra-android-support - extra-android-support
- extra - extra

View File

@ -3,7 +3,6 @@ package com.daimajia.swipe;
import android.content.Context; import android.content.Context;
import android.content.res.TypedArray; import android.content.res.TypedArray;
import android.graphics.Rect; import android.graphics.Rect;
import android.support.annotation.Nullable;
import android.support.v4.view.GravityCompat; import android.support.v4.view.GravityCompat;
import android.support.v4.view.ViewCompat; import android.support.v4.view.ViewCompat;
import android.support.v4.widget.ViewDragHelper; import android.support.v4.widget.ViewDragHelper;
@ -1270,7 +1269,6 @@ public class SwipeLayout extends FrameLayout {
/** /**
* return null if there is no bottom view * return null if there is no bottom view
*/ */
@Nullable
public View getCurrentBottomView() { public View getCurrentBottomView() {
List<View> bottoms = getBottomViews(); List<View> bottoms = getBottomViews();
if (mCurrentDragEdge.ordinal() < bottoms.size()) { if (mCurrentDragEdge.ordinal() < bottoms.size()) {