up1/kata_java_tennis_group2 — pull request #3 by bomb0069 (2014-03-21 18:21:04+00:00)
Title: solved bothPlayerDrawWithFifteenShouldReturnFifteenAll

ไม่รู้จะ Refactor ยังไงดีครับ จะลองไปท่าล่างนี้มันก็ดูแปลก ๆ

String returnString = "";
if (this.playerAScore > 0) {
returnString = "Fifteen";
returnString += (this.playerBScore > 0) ? " all" : " Love";
} else {
returnString = "Love all";
}
return returnString;