private boolean skipBar ( Row row ) { List < Row > childRows = row . getChildRows ( ) ; return childRows . size ( ) == 1 && childRows . get ( 0 ) . getChildRows ( ) . isEmpty ( ) ; }
Returns true if we should skip this bar i . e . the bar only has a single child task .