public void checkLongestWinStreak(TeamStreak streak){
  if (streak.getStreakLength() > longestWinStreak.getStreakLength()) {
    longestWinStreak=new TeamStreak(streak.getStartYear(),streak.getEndYear(),streak.getStreakLength(),streak.getTeam());
  }
}

public void checkLongestWinStreak ( TeamStreak streak ) { if ( streak . getStreakLength ( ) > longestWinStreak . getStreakLength ( ) ) { longestWinStreak = new TeamStreak ( streak . getStartYear ( ) , streak . getEndYear ( ) , streak . getStreakLength ( ) , streak . getTeam ( ) ) ; } }
check the longest win streak . if the given streak is longer , replace .
