question: void removeEmptyRows ( final List list ) { for ( final Iterator < ReceiptDetailInfo > detail = list . iterator ( ) ; detail . hasNext ( ) ; ) if ( detail . next ( ) == null ) detail . remove ( ) ; }
target:  Removes the empty rows.