Fixed major sonar issues in MonthData.java