From 85adc4a022bd48794bf40bb4e0a675bde117d9d7 Mon Sep 17 00:00:00 2001 From: daimajia Date: Thu, 9 Mar 2017 16:39:15 +0800 Subject: [PATCH] remove nullable. --- .travis.yml | 2 +- library/src/main/java/com/daimajia/swipe/SwipeLayout.java | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index f4c489a8..797c2f4b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,7 +3,7 @@ android: components: - tools - platform-tools - - build-tools-25.2.0 + - build-tools-25.0.2 - android-25 - extra-android-support - extra diff --git a/library/src/main/java/com/daimajia/swipe/SwipeLayout.java b/library/src/main/java/com/daimajia/swipe/SwipeLayout.java index 316e9b94..6703123c 100644 --- a/library/src/main/java/com/daimajia/swipe/SwipeLayout.java +++ b/library/src/main/java/com/daimajia/swipe/SwipeLayout.java @@ -3,7 +3,6 @@ import android.content.Context; import android.content.res.TypedArray; import android.graphics.Rect; -import android.support.annotation.Nullable; import android.support.v4.view.GravityCompat; import android.support.v4.view.ViewCompat; import android.support.v4.widget.ViewDragHelper; @@ -1270,7 +1269,6 @@ public View getSurfaceView() { /** * return null if there is no bottom view */ - @Nullable public View getCurrentBottomView() { List bottoms = getBottomViews(); if (mCurrentDragEdge.ordinal() < bottoms.size()) {