@ -62,11 +64,11 @@ public final class BookmarkPage extends AsyncTask<Void, Void, Void> {
@@ -62,11 +64,11 @@ public final class BookmarkPage extends AsyncTask<Void, Void, Void> {
@ -106,7 +108,7 @@ public final class BookmarkPage extends AsyncTask<Void, Void, Void> {
@@ -106,7 +108,7 @@ public final class BookmarkPage extends AsyncTask<Void, Void, Void> {
@ -29,7 +29,7 @@ public class HistoryItem implements Comparable<HistoryItem> {
@@ -29,7 +29,7 @@ public class HistoryItem implements Comparable<HistoryItem> {
// Empty constructor
publicHistoryItem(){}
publicHistoryItem(HistoryItemitem){
publicHistoryItem(@NonNullHistoryItemitem){
this.mUrl=item.mUrl;
this.mTitle=item.mTitle;
this.mFolder=item.mFolder;
@ -64,7 +64,7 @@ public class HistoryItem implements Comparable<HistoryItem> {
@@ -64,7 +64,7 @@ public class HistoryItem implements Comparable<HistoryItem> {
mBitmap=image;
}
publicvoidsetFolder(Stringfolder){
publicvoidsetFolder(@NullableStringfolder){
mFolder=(folder==null)?"":folder;
}
@ -76,31 +76,35 @@ public class HistoryItem implements Comparable<HistoryItem> {
@@ -76,31 +76,35 @@ public class HistoryItem implements Comparable<HistoryItem> {
returnmOrder;
}
@NonNull
publicStringgetFolder(){
returnmFolder;
}
@Nullable
publicBitmapgetBitmap(){
returnmBitmap;
}
// getting name
@NonNull
publicStringgetUrl(){
returnthis.mUrl;
}
// setting name
publicvoidsetUrl(Stringurl){
publicvoidsetUrl(@NullableStringurl){
this.mUrl=(url==null)?"":url;
}
// getting phone number
@NonNull
publicStringgetTitle(){
returnthis.mTitle;
}
// setting phone number
publicvoidsetTitle(Stringtitle){
publicvoidsetTitle(@NullableStringtitle){
this.mTitle=(title==null)?"":title;
}
@ -112,6 +116,7 @@ public class HistoryItem implements Comparable<HistoryItem> {
@@ -112,6 +116,7 @@ public class HistoryItem implements Comparable<HistoryItem> {
returnmIsFolder;
}
@NonNull
@Override
publicStringtoString(){
returnmTitle;
@ -127,7 +132,7 @@ public class HistoryItem implements Comparable<HistoryItem> {
@@ -127,7 +132,7 @@ public class HistoryItem implements Comparable<HistoryItem> {