Removing unnecessary comments
This commit is contained in:
parent
efe3375389
commit
cf9dec3dcb
@ -64,17 +64,6 @@ public class BookmarkManager {
|
|||||||
mExecutor.execute(new BookmarkInitializer(context));
|
mExecutor.execute(new BookmarkInitializer(context));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* Look for bookmark using the url
|
|
||||||
*
|
|
||||||
* @param url the lookup url
|
|
||||||
* @return the bookmark as an {@link HistoryItem} or null
|
|
||||||
*/
|
|
||||||
@Nullable
|
|
||||||
public HistoryItem findBookmarkForUrl(final String url) {
|
|
||||||
return mBookmarksMap.get(url);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Initialize the BookmarkManager, it's a one-time operation and will be executed asynchronously.
|
* Initialize the BookmarkManager, it's a one-time operation and will be executed asynchronously.
|
||||||
* When done, mReady flag will been set to true.
|
* When done, mReady flag will been set to true.
|
||||||
@ -177,6 +166,17 @@ public class BookmarkManager {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Look for bookmark using the url
|
||||||
|
*
|
||||||
|
* @param url the lookup url
|
||||||
|
* @return the bookmark as an {@link HistoryItem} or null
|
||||||
|
*/
|
||||||
|
@Nullable
|
||||||
|
public HistoryItem findBookmarkForUrl(final String url) {
|
||||||
|
return mBookmarksMap.get(url);
|
||||||
|
}
|
||||||
|
|
||||||
public boolean isBookmark(String url) {
|
public boolean isBookmark(String url) {
|
||||||
return mBookmarksMap.containsKey(url);
|
return mBookmarksMap.containsKey(url);
|
||||||
}
|
}
|
||||||
|
@ -59,9 +59,6 @@ public final class HistoryModel {
|
|||||||
.historyDatabase()
|
.historyDatabase()
|
||||||
.visitHistoryItem(url, title);
|
.visitHistoryItem(url, title);
|
||||||
|
|
||||||
System.out.println("SHIT: " + BrowserApp.getAppComponent().historyDatabase().toString());
|
|
||||||
System.out.println("SHIT: " + BrowserApp.getAppComponent().historyDatabase().toString());
|
|
||||||
|
|
||||||
subscriber.onComplete();
|
subscriber.onComplete();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user