src/main/resources/repairability_test_files/ground_truth/Cardumen/patch2-Closure-10-Cardumen/Cardumen/0087/Cardumen_0087_t.java
/**
   * Returns whether this a BLOCK node with no children.
   *
   * @param block The node.
   */
Returns whether this a BLOCK node with no children.
@param block The node.
Returns whether this a BLOCK node with no children . @param block The node .
static boolean isEmptyBlock(Node block) {
    if (!block.isBlock()) {
      return false;
    }
    for (Node n = block.getFirstChild(); n != null; n = n.getNext()) {
      if (!n.isEmpty()) {
        return false;
      }
    }
    return true;
  }
static boolean isEmptyBlock ( Node block ) { if ( ! block . isBlock ( ) ) { return false ; } for ( Node n = block . getFirstChild ( ) ; n != null ; n = n . getNext ( ) ) { if ( ! n . isEmpty ( ) ) { return false ; } } return true ; }
Returns whether this a BLOCK node with no children.
Returns whether this a BLOCK node with no children .