if (noOfUnrated >= autoDownload)
int noOfUnratedOnPlaylist = trackDatabase.getNoOfUnratedOnPlaylist(); if (noOfRated > noOfUnrated / 2 && noOfUnrated < noOfUnratedOnPlaylist)
  public void doCheckAutoDownload() {    if (!trackDatabase.hasRatedEnoughTracks()) {      setState(getResourceString("DownloadThread.Not_enough_rated_tracks")); //$NON-NLS-1$    }    else {      int autoDownload = trackDatabase.getAutoDownload();      int noOfUnrated = trackDatabase.getNoOfUnrated();      if (noOfUnrated >= autoDownload)        setState(noOfUnrated + (noOfUnrated == 1 ? getResourceString("DownloadThread.unrated_track") : getResourceString("DownloadThread.unrated_tracks")));      else        go();    }  }