public void removeFromDraggingConnections(Block rootBlock){
  if (mPendingDrag == null) {
    return;
  }
  mTempConnections.clear();
  rootBlock.getAllConnectionsRecursive(mTempConnections);
  for (int i=0; i < mTempConnections.size(); i++) {
    Connection conn=mTempConnections.get(i);
    mDraggedConnections.remove(conn);
    conn.setDragMode(false);
  }
}

public void removeFromDraggingConnections ( Block rootBlock ) { if ( mPendingDrag == null ) { return ; } mTempConnections . clear ( ) ; rootBlock . getAllConnectionsRecursive ( mTempConnections ) ; for ( int i = 0 ; i < mTempConnections . size ( ) ; i ++ ) { Connection conn = mTempConnections . get ( i ) ; mDraggedConnections . remove ( conn ) ; conn . setDragMode ( false ) ; } }
remove all the connections in a blocks tree from the list of connections being dragged . this is used when removing shadow blocks from a block tree during a drag . if there ' s no drag in progress this has no effects .
