if ( s.getClient().currentTimeMillis()  > comdate.getTime() ) {  logger.warn("publishAdd of "+this+" past commitmenttime "+comdate.getTime());
long curTime = s.getClient().currentTimeMillis();   if ( curTime  > comdate.getTime() ) {   logger.warn("publishAdd of "+this + (curTime - comdate.getTime()) + " millis past commitmenttime "+comdate + " at curTime: " + (new Date(curTime)) + " by Subscriber " + s);
  public void addingToBlackboard(Subscriber s) {    Task t = getTask();    Date comdate = t.getCommitmentDate();    if (comdate != null) {      // make sure the current alp time is before commitment time      if ( s.getClient().currentTimeMillis()  > comdate.getTime() ) {        // its after the commitment time - don't publish the object        logger.warn("publishAdd of "+this+" past commitmenttime "+comdate.getTime());      }    }    PlanElement existingPE = t.getPlanElement();    if (existingPE == null) {      ((TaskImpl)t).privately_setPlanElement(this);    } else if (existingPE == this) {      throw new BlackboardException("publishAdd of miswired PlanElement (task already wired to this PE): " + this);    } else {      throw new BlackboardException("publishAdd of miswired PlanElement (task already has other PE): " + existingPE);    }  }