List newTracks = new ArrayList();
  private int updateRatings(Map trackMap, RatingPair[] ratingPairs) {    int ratingsUpdated = 0;    List newTracks = new ArrayList();    for (int i = 0; i < ratingPairs.length; i++) {      RatingPair ratingPair = new RatingPair();      Track track = (Track) trackMap.get(ratingPair.trackId);      if (ratingPair.rating == track.getRating()) {        System.out.println("Was " + track.getRating() + " should be " + ratingPair.rating);        // track.setRating(ratingPair.rating);        ratingsUpdated++;      }    }    return ratingsUpdated;  }