int autoDownload = trackDatabase.getAutoDownload(); int noOfUnrated = trackDatabase.getNoOfUnrated(); if (noOfUnrated >= autoDownload) setState(noOfUnrated + " unrated track" + (noOfUnrated == 1 ? "" : "s")); else go();
if (!trackDatabase.hasRatedEnoughTracks()) { setState("Not enough rated tracks"); } else { int autoDownload = trackDatabase.getAutoDownload(); int noOfUnrated = trackDatabase.getNoOfUnrated(); if (noOfUnrated >= autoDownload) setState(noOfUnrated + " unrated track" + (noOfUnrated == 1 ? "" : "s")); else go(); }
  private void doCheckAutoDownload() {    int autoDownload = trackDatabase.getAutoDownload();    int noOfUnrated = trackDatabase.getNoOfUnrated();    if (noOfUnrated >= autoDownload)       setState(noOfUnrated + " unrated track" + (noOfUnrated == 1 ? "" : "s"));    else      go();  }