private void hideSuggestionsIfNecessary(final @NonNull QueryToken currentQuery,final @NonNull TokenSource source){
  String queryTS=currentQuery.getTokenString();
  String currentTS=source.getCurrentTokenString();
  if (!isWaitingForResults(currentQuery) && queryTS != null && queryTS.equals(currentTS)) {
    mSuggestionsVisibilityManager.displaySuggestions(false);
  }
}

private void hideSuggestionsIfNecessary ( final @ NonNull QueryToken currentQuery , final @ NonNull TokenSource source ) { String queryTS = currentQuery . getTokenString ( ) ; String currentTS = source . getCurrentTokenString ( ) ; if ( ! isWaitingForResults ( currentQuery ) && queryTS != null && queryTS . equals ( currentTS ) ) { mSuggestionsVisibilityManager . displaySuggestions ( false ) ; } }
hides the suggestions if there are no more incoming queries .
