Skip to content

Commit b502140

Browse files
committed
update example solution
1 parent e2c8bb0 commit b502140

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

exercises/concept/football-match-reports/.meta/src/reference/java/FootballMatchReports.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ public static String onField(int shirtNum) {
3030
playerDescription = "striker";
3131
break;
3232
default:
33-
throw new IllegalArgumentException();
33+
playerDescription = "unknown";
3434
}
3535
return playerDescription;
3636
}

0 commit comments

Comments
 (0)