public void privately_setPlanElement( PlanElement pe ) { if (myPE != null) { synchronized (System.err) { System.err.println("Warning: re-disposing "+this+" from "+myPE+" to "+pe+"."); Thread.dumpStack();
public synchronized void privately_setPlanElement( PlanElement pe ) { checkTransaction("privately_setPlanElement");  if (logger.isWarnEnabled()) { if (myPE != null) { logger.warn("Re-disposing "+this+" from "+myPE+" to "+pe+".", new Throwable());
  public void privately_setPlanElement( PlanElement pe ) {     if (myPE != null) {      synchronized (System.err) {        System.err.println("Warning: re-disposing "+this+" from "+myPE+" to "+pe+".");        Thread.dumpStack();      }    }    if (pe == null) {      synchronized (System.err) {        System.err.println("Warning: setting "+this+".planElement to null.");        Thread.dumpStack();      }    }     myPE = pe;  }