From 826ca9118ede39695a9d5c0d9f7cecc88e114e04 Mon Sep 17 00:00:00 2001 From: anthony restaino Date: Sun, 26 Mar 2017 20:08:22 -0400 Subject: [PATCH] Fixing nullable problems --- .../java/acr/browser/lightning/database/BookmarkManager.java | 2 +- .../main/java/acr/browser/lightning/database/HistoryItem.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/acr/browser/lightning/database/BookmarkManager.java b/app/src/main/java/acr/browser/lightning/database/BookmarkManager.java index e8e48ca..82ffad8 100644 --- a/app/src/main/java/acr/browser/lightning/database/BookmarkManager.java +++ b/app/src/main/java/acr/browser/lightning/database/BookmarkManager.java @@ -447,7 +447,7 @@ public class BookmarkManager { * * @return the current folder */ - @Nullable + @NonNull public String getCurrentFolder() { return mCurrentFolder; } diff --git a/app/src/main/java/acr/browser/lightning/database/HistoryItem.java b/app/src/main/java/acr/browser/lightning/database/HistoryItem.java index c0c6626..137f295 100644 --- a/app/src/main/java/acr/browser/lightning/database/HistoryItem.java +++ b/app/src/main/java/acr/browser/lightning/database/HistoryItem.java @@ -63,7 +63,7 @@ public class HistoryItem implements Comparable { this.mImageId = id; } - public void setBitmap(Bitmap image) { + public void setBitmap(@Nullable Bitmap image) { mBitmap = image; }