Interrupting RoboRunner
Fragment of a discussion from Talk:RoboJogger
Jump to navigation
Jump to search
I just noticed that for getting battle results, there is a method hasBotList(String) method that I could call before trying to get battle scores. This would prevent the NPE without modifying RoboRunner. Given this, I could see arguing either way about whether getBattleScores should throw NPE or return null for a botList that does not exist.