private static void addGovernmentBodyAnnualSummaryToMap ( final String name , final Map < Integer , GovernmentBodyAnnualSummary > map , final int year , final Row row ) { if ( row . getLastCellNum ( ) >= EXPECTED_COLUMN_LENGTH ) { final GovernmentBodyAnnualSummary governmentBodyAnnualSummary = createGovernmentBodyAnnualSummaryFromRow ( year , row ) ; if ( name == null || name . equalsIgnoreCase ( governmentBodyAnnualSummary . getName ( ) ) ) { map . put ( year , governmentBodyAnnualSummary ) ; } } }
Adds the government body annual summary to map .