private static void addEntryData ( final DataSeries dataSeries , final SimpleDateFormat simpleDateFormat , final Entry < String , List < GovernmentBodyAnnualOutcomeSummary > > entry ) { for ( final GovernmentBodyAnnualOutcomeSummary data : entry . getValue ( ) ) { final Map < Date , Double > valueMap = data . getValueMap ( ) ; for ( final Entry < Date , Double > entryData : valueMap . entrySet ( ) ) { if ( entryData . getValue ( ) != null && entryData . getValue ( ) . intValue ( ) > 0 ) { dataSeries . add ( simpleDateFormat . format ( entryData . getKey ( ) ) , entryData . getValue ( ) . intValue ( ) ) ; } } } }
Adds the entry data .