Skip to content

Commit

Permalink
Compilation fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
aldenml committed Mar 22, 2016
1 parent 6946dfd commit 9da6f3d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
7 changes: 2 additions & 5 deletions android/src/com/frostwire/android/gui/LocalSearchEngine.java
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,6 @@
import com.frostwire.search.torrent.TorrentSearchResult;
import com.frostwire.search.youtube.YouTubeCrawledSearchResult;
import com.frostwire.util.StringUtils;
import rx.Observable;
import rx.functions.Action1;
import rx.subjects.PublishSubject;

import java.text.Normalizer;
import java.util.*;
Expand All @@ -39,7 +36,7 @@
*/
public final class LocalSearchEngine {

private final SearchManager2 manager;
private final SearchManager manager;
private SearchListener listener;

// filter constants
Expand All @@ -64,7 +61,7 @@ public static LocalSearchEngine instance() {
}

private LocalSearchEngine() {
this.manager = SearchManager2.getInstance();
this.manager = SearchManager.getInstance();
this.manager.setListener(new SearchListener() {
@Override
public void onResults(long token, List<? extends SearchResult> results) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ public final class SearchMediator {

static final String CLOSE_TABS_TO_THE_RIGHT = I18n.tr("Close Tabs to the Right");

private final SearchManager2 manager;
private final SearchManager manager;

/**
* This instance handles the display of all search results.
Expand Down Expand Up @@ -135,7 +135,7 @@ public void stateChanged(ChangeEvent e) {

CrawlPagedWebSearchPerformer.setMagnetDownloader(new LibTorrentMagnetDownloader());

this.manager = SearchManager2.getInstance();
this.manager = SearchManager.getInstance();
this.manager.setListener(new SearchListener() {
@Override
public void onResults(long token, List<? extends SearchResult> results) {
Expand Down

0 comments on commit 9da6f3d

Please sign in to comment.