track.setRating(ratingInt.intValue());
track.setRating(rating);
  public void setRating(final Track track, int rating) {    final Integer ratingInt = new Integer(rating);    lastRatedTrack = track;    lastTrackPreviousRank = -1;    if (track.isRated()) {      lastTrackPreviousRank = (int) track.getRating();      updateTrack(track);    }    // Update the Track Rating    track.setRating(ratingInt.intValue());    if (ratingInt.intValue() == 0 && track == getSelectedTrack()) {      playThread.reject();    }    // Save the database with the updated rating    try {      trackDatabase.save();    }    catch (Exception e) {      e.printStackTrace();    }  }