Hi Adrian:
Here you go...a partial listing from recent 9.04 iCalRecurConverter.java (with my comments) source:

// ----- TemporalExpressionVisitor Implementation ----- //

   // @Override
   public void visit(Difference expr) {
       VisitorState newState = new VisitorState();
       newState.isIntersection = this.state.isIntersection;
       this.stateStack.push(this.state);
       this.state = newState;
       expr.getIncluded().accept(this);
       newState.isExcluded = true;
       expr.getExcluded().accept(this);
       this.state = this.stateStack.pop();
       if (this.state.isIntersection) {
           this.state.inclRecurList.addAll(newState.inclRecurList);
           this.state.exRecurList.addAll(newState.exRecurList);
       }
   }

   @SuppressWarnings("unchecked")
   // @Override
   public void visit(HourRange expr) {
       NumberList hourList = new NumberList();
       hourList.addAll(expr.getHourRangeAsSet());
       Recur recur = new Recur(Recur.HOURLY, 0);
       recur.getHourList().addAll(hourList
...
TIA
Ruth
Adrian Crum wrote:
On 5/27/2010 4:18 AM, Ruth Hoffman wrote:
(Ended up just commenting out the offending lines in the code.)

I would be interested in seeing what those offending lines are. Like I said in my previous reply, there are no @Override annotations in the 9.04 version of that file.

-Adrian

Reply via email to