Browse Source

Fixing nullable problems

master
anthony restaino 8 years ago
parent
commit
826ca9118e
  1. 2
      app/src/main/java/acr/browser/lightning/database/BookmarkManager.java
  2. 2
      app/src/main/java/acr/browser/lightning/database/HistoryItem.java

2
app/src/main/java/acr/browser/lightning/database/BookmarkManager.java

@ -447,7 +447,7 @@ public class BookmarkManager { @@ -447,7 +447,7 @@ public class BookmarkManager {
*
* @return the current folder
*/
@Nullable
@NonNull
public String getCurrentFolder() {
return mCurrentFolder;
}

2
app/src/main/java/acr/browser/lightning/database/HistoryItem.java

@ -63,7 +63,7 @@ public class HistoryItem implements Comparable<HistoryItem> { @@ -63,7 +63,7 @@ public class HistoryItem implements Comparable<HistoryItem> {
this.mImageId = id;
}
public void setBitmap(Bitmap image) {
public void setBitmap(@Nullable Bitmap image) {
mBitmap = image;
}

Loading…
Cancel
Save