Buggy code:
public LanguageStrings getDataLanguageStrings ( Region region , String locale , String version ) throws RiotApiException { } public LanguageStrings getDataLanguageStrings ( String locale , String version ) throws RiotApiException { } public LanguageStrings getDataLanguageStrings ( Region region ) throws RiotApiException { } public LanguageStrings getDataLanguageStrings ( ) throws RiotApiException { } public MasteryList getDataMasteryList ( Region region , String locale , String version , MasteryListData ... masteryListData ) throws RiotApiException { } public MasteryList getDataMasteryList ( String locale , String version , MasteryListData ... masteryListData ) throws RiotApiException { } public MasteryList getDataMasteryList ( Region region ) throws RiotApiException { } public MasteryList getDataMasteryList ( ) throws RiotApiException { } public Mastery getDataMastery ( Region region , int id , String locale , String version , MasteryData ... masteryData ) throws RiotApiException { } public Mastery getDataMastery ( int id , String locale , String version , MasteryData ... masteryData ) throws RiotApiException { } public Mastery getDataMastery ( Region region , int id ) throws RiotApiException { } public Mastery getDataMastery ( int id ) throws RiotApiException { } public Realm getDataRealm ( Region region ) throws RiotApiException { } public Realm getDataRealm ( ) throws RiotApiException { } public RuneList getDataRuneList ( Region region , String locale , String version , RuneListData ... runeListData ) throws RiotApiException { } public RuneList getDataRuneList ( String locale , String version , RuneListData ... runeListData ) throws RiotApiException { } public RuneList getDataRuneList ( Region region ) throws RiotApiException { } public RuneList getDataRuneList ( ) throws RiotApiException { } public Rune getDataRune ( Region region , int id , String locale , String version , RuneData ... runeData ) throws RiotApiException { } public Rune getDataRune ( int id , String locale , String version , RuneData ... runeData ) throws RiotApiException { } public Rune getDataRune ( Region region , int id ) throws RiotApiException { } public Rune getDataRune ( int id ) throws RiotApiException { } public SummonerSpellList getDataSummonerSpellList ( Region region , String locale , String version , boolean dataById , SpellData ... spellData ) throws RiotApiException { } public SummonerSpellList getDataSummonerSpellList ( String locale , String version , boolean dataById , SpellData ... spellData ) throws RiotApiException { } public SummonerSpellList getDataSummonerSpellList ( Region region ) throws RiotApiException { } public SummonerSpellList getDataSummonerSpellList ( ) throws RiotApiException { } public SummonerSpell getDataSummonerSpell ( Region region , int id , String locale , String version , SpellData ... spellData ) throws RiotApiException { } public SummonerSpell getDataSummonerSpell ( int id , String locale , String version , SpellData ... spellData ) throws RiotApiException { } public SummonerSpell getDataSummonerSpell ( Region region , int id ) throws RiotApiException { } public SummonerSpell getDataSummonerSpell ( int id ) throws RiotApiException { } public List < String > getDataVersions ( Region region ) throws RiotApiException { } public List < String > getDataVersions ( ) throws RiotApiException { } public List < Shard > getShards ( ) throws RiotApiException { } public ShardStatus getShardStatus ( Region region ) throws RiotApiException { } public ShardStatus getShardStatus ( ) throws RiotApiException { } public TournamentCode getTournamentCode ( String tournamentCode ) throws RiotApiException { } public LobbyEventList getLobbyEventsByTournament ( String tournamentCode ) throws RiotApiException { } public MatchDetail getMatchForTournament ( Region region , long matchId , String tournamentCode , boolean includeTimeline ) throws RiotApiException { } public MatchDetail getMatchForTournament ( long matchId , String tournamentCode , boolean includeTimeline ) throws RiotApiException { } public MatchDetail getMatchForTournament ( Region region , long matchId , String tournamentCode ) throws RiotApiException { } public MatchDetail getMatchForTournament ( long matchId , String tournamentCode ) throws RiotApiException { <START_BUG> return getMatchForTournament ( getRegion ( ) , matchId , tournamentCode , false ) ; <END_BUG> } public List < Long > getMatchesByTournament ( Region region , String tournamentCode ) throws RiotApiException { } public List < Long > getMatchesByTournament ( String tournamentCode ) throws RiotApiException { } public int createProvider ( Region region , String callbackUrl ) throws RiotApiException { } public int createProvider ( String callbackUrl ) throws RiotApiException { } public int createTournament ( String tournamentName , int providerId ) throws RiotApiException { } public int createTournament ( int providerId ) throws RiotApiException { } public List < String > createTournamentCodes ( int tournamentId , int count , int teamSize , TournamentMap mapType , PickType pickType , SpectatorType spectatorType , String metaData , long ... allowedSummonerIds ) throws RiotApiException { } public List < String > createTournamentCodes ( int tournamentId , int count , int teamSize , TournamentMap mapType , PickType pickType , SpectatorType spectatorType , long ... allowedSummonerIds ) throws RiotApiException { } public String createTournamentCode ( int tournamentId , int teamSize , TournamentMap mapType , PickType pickType , SpectatorType spectatorType , String metaData , long ... allowedSummonerIds ) throws RiotApiException { } public String createTournamentCode ( int tournamentId , int teamSize , TournamentMap mapType , PickType pickType , SpectatorType spectatorType , long ... allowedSummonerIds ) throws RiotApiException { } public void updateTournamentCode ( String tournamentCode , TournamentMap mapType , PickType pickType , SpectatorType spectatorType , long ... allowedSummonerIds ) throws RiotApiException { } public void updateTournamentCode ( String tournamentCode , PickType pickType , SpectatorType spectatorType , long ... allowedSummonerIds ) throws RiotApiException { } public void updateTournamentCode ( String tournamentCode , TournamentMap mapType , SpectatorType spectatorType , long ... allowedSummonerIds ) throws RiotApiException { } public void updateTournamentCode ( String tournamentCode , TournamentMap mapType , PickType pickType , long ... allowedSummonerIds ) throws RiotApiException { } public void updateTournamentCode ( String tournamentCode , TournamentMap mapType , long ... allowedSummonerIds ) throws RiotApiException { } public void updateTournamentCode ( String tournamentCode , PickType pickType , long ... allowedSummonerIds ) throws RiotApiException { } public void updateTournamentCode ( String tournamentCode , SpectatorType spectatorType , long ... allowedSummonerIds ) throws RiotApiException { } public String getEndpoint ( ) { } public String getKey ( ) { }

Fix:
return getMatchForTournament ( getRegion ( ) , matchId , tournamentCode ) ;