public String renderResult(Result matchResult) { String result = ""; if (matchResult != null) { result = Integer.toString(matchResult.getHomeGoals()) + ":" + Integer.toString(matchResult.getAwayGoals()); } return result; }