Fixed major sonar issues in MonthData.java

No match.