mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-10-08 21:30:57 +00:00
Fixed typo
This commit is contained in:
1 parent
fa51f9a3b8
commit
21d9b19196
1 file changed
+1
-1
@@ -16,7 +16,7 @@ public enum Month {
|
||||
*/
|
||||
public static Month fromInt(int month) {
|
||||
if (month < 1 || month > 12) {
|
||||
throw new IllegalArgumentException("Invalid value for MonthOfYear: " + month);
|
||||
throw new IllegalArgumentException("Invalid value for month: " + month);
|
||||
}
|
||||
return VALUES[month - 1];
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user