private boolean skipBar(Row row)
   {
      List<Row> childRows = row.getChildRows();
      return childRows.size() == 1 && childRows.get(0).getChildRows().isEmpty();
   }
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.

@param row bar row to test
@return true if this bar should be skipped