Removing unnecessary comments

This commit is contained in:
anthony restaino 2017-05-06 22:16:21 -04:00
parent efe3375389
commit cf9dec3dcb
2 changed files with 11 additions and 14 deletions

View File

@ -64,17 +64,6 @@ public class BookmarkManager {
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.
* 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) {
return mBookmarksMap.containsKey(url);
}

View File

@ -59,9 +59,6 @@ public final class HistoryModel {
.historyDatabase()
.visitHistoryItem(url, title);
System.out.println("SHIT: " + BrowserApp.getAppComponent().historyDatabase().toString());
System.out.println("SHIT: " + BrowserApp.getAppComponent().historyDatabase().toString());
subscriber.onComplete();
}
});