How to I overcome this error?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
22 messages Options
12
Reply | Threaded
Open this post in threaded view
|

How to I overcome this error?

Ruth Hoffman-2
Hi All:
Running ant run-install on the current stable 9.04 release I just
downloaded causes this problem:

/Users/ruthhoffman/ofbiz-release9.04_May2010/build.xml:151: The
following error occurred while executing this line:
/Users/ruthhoffman/ofbiz-release9.04_May2010/applications/build.xml:67:
The following error occurred while executing this line:
/Users/ruthhoffman/ofbiz-release9.04_May2010/macros.xml:27: The
following error occurred while executing this line:
/Users/ruthhoffman/ofbiz-release9.04_May2010/applications/workeffort/build.xml:55:
Compile failed; see the compiler error output for details.

Compile error:

[javac15]
/Users/ruthhoffman/ofbiz-release9.04_May2010/applications/workeffort/src/org/ofbiz/workeffort/workeffort/ICalRecurConverter.java:298:
method does not override a method from its superclass
  [javac15]     @Override

... 13 times over..


Any way to get past this?

TIA
Ruth

Reply | Threaded
Open this post in threaded view
|

Re: How to I overcome this error?

Scott Gray-2
Hi Ruth,

Sounds like some code got back ported to 9.04 that wasn't compatible with java 1.5.  Your options are to either:
- use java 1.6
- create a jira issue and either fix it or hope someone else does
- find out who committed the code and pester them to fix it

Regards
Scott

HotWax Media
http://www.hotwaxmedia.com

On 27/05/2010, at 2:14 PM, Ruth Hoffman wrote:

> Hi All:
> Running ant run-install on the current stable 9.04 release I just downloaded causes this problem:
>
> /Users/ruthhoffman/ofbiz-release9.04_May2010/build.xml:151: The following error occurred while executing this line:
> /Users/ruthhoffman/ofbiz-release9.04_May2010/applications/build.xml:67: The following error occurred while executing this line:
> /Users/ruthhoffman/ofbiz-release9.04_May2010/macros.xml:27: The following error occurred while executing this line:
> /Users/ruthhoffman/ofbiz-release9.04_May2010/applications/workeffort/build.xml:55: Compile failed; see the compiler error output for details.
>
> Compile error:
>
> [javac15] /Users/ruthhoffman/ofbiz-release9.04_May2010/applications/workeffort/src/org/ofbiz/workeffort/workeffort/ICalRecurConverter.java:298: method does not override a method from its superclass
> [javac15]     @Override
>
> ... 13 times over..
>
>
> Any way to get past this?
>
> TIA
> Ruth
>


smime.p7s (3K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: How to I overcome this error?

Adrian Crum-2
Actually, this error is due to an undocumented change to the compiler. I will look into it.

-Adrian

--- On Wed, 5/26/10, Scott Gray <[hidden email]> wrote:

> From: Scott Gray <[hidden email]>
> Subject: Re: How to I overcome this error?
> To: [hidden email]
> Date: Wednesday, May 26, 2010, 10:04 PM
> Hi Ruth,
>
> Sounds like some code got back ported to 9.04 that wasn't
> compatible with java 1.5.  Your options are to either:
> - use java 1.6
> - create a jira issue and either fix it or hope someone
> else does
> - find out who committed the code and pester them to fix
> it
>
> Regards
> Scott
>
> HotWax Media
> http://www.hotwaxmedia.com
>
> On 27/05/2010, at 2:14 PM, Ruth Hoffman wrote:
>
> > Hi All:
> > Running ant run-install on the current stable 9.04
> release I just downloaded causes this problem:
> >
> >
> /Users/ruthhoffman/ofbiz-release9.04_May2010/build.xml:151:
> The following error occurred while executing this line:
> >
> /Users/ruthhoffman/ofbiz-release9.04_May2010/applications/build.xml:67:
> The following error occurred while executing this line:
> >
> /Users/ruthhoffman/ofbiz-release9.04_May2010/macros.xml:27:
> The following error occurred while executing this line:
> >
> /Users/ruthhoffman/ofbiz-release9.04_May2010/applications/workeffort/build.xml:55:
> Compile failed; see the compiler error output for details.
> >
> > Compile error:
> >
> > [javac15]
> /Users/ruthhoffman/ofbiz-release9.04_May2010/applications/workeffort/src/org/ofbiz/workeffort/workeffort/ICalRecurConverter.java:298:
> method does not override a method from its superclass
> > [javac15]     @Override
> >
> > ... 13 times over..
> >
> >
> > Any way to get past this?
> >
> > TIA
> > Ruth
> >
>
>



Reply | Threaded
Open this post in threaded view
|

Re: How to I overcome this error?

Adrian Crum-2
I spoke too soon:

R9.04 ICalRecurConverter.java:298

does not point to an override annotation. I ran ant clean and ant run-install using JDK 1.5 and everything worked fine. Double-check your installation.

-Adrian

--- On Wed, 5/26/10, Adrian Crum <[hidden email]> wrote:

> From: Adrian Crum <[hidden email]>
> Subject: Re: How to I overcome this error?
> To: [hidden email]
> Date: Wednesday, May 26, 2010, 10:55 PM
> Actually, this error is due to an
> undocumented change to the compiler. I will look into it.
>
> -Adrian
>
> --- On Wed, 5/26/10, Scott Gray <[hidden email]>
> wrote:
>
> > From: Scott Gray <[hidden email]>
> > Subject: Re: How to I overcome this error?
> > To: [hidden email]
> > Date: Wednesday, May 26, 2010, 10:04 PM
> > Hi Ruth,
> >
> > Sounds like some code got back ported to 9.04 that
> wasn't
> > compatible with java 1.5.  Your options are to
> either:
> > - use java 1.6
> > - create a jira issue and either fix it or hope
> someone
> > else does
> > - find out who committed the code and pester them to
> fix
> > it
> >
> > Regards
> > Scott
> >
> > HotWax Media
> > http://www.hotwaxmedia.com
> >
> > On 27/05/2010, at 2:14 PM, Ruth Hoffman wrote:
> >
> > > Hi All:
> > > Running ant run-install on the current stable
> 9.04
> > release I just downloaded causes this problem:
> > >
> > >
> >
> /Users/ruthhoffman/ofbiz-release9.04_May2010/build.xml:151:
> > The following error occurred while executing this
> line:
> > >
> >
> /Users/ruthhoffman/ofbiz-release9.04_May2010/applications/build.xml:67:
> > The following error occurred while executing this
> line:
> > >
> >
> /Users/ruthhoffman/ofbiz-release9.04_May2010/macros.xml:27:
> > The following error occurred while executing this
> line:
> > >
> >
> /Users/ruthhoffman/ofbiz-release9.04_May2010/applications/workeffort/build.xml:55:
> > Compile failed; see the compiler error output for
> details.
> > >
> > > Compile error:
> > >
> > > [javac15]
> >
> /Users/ruthhoffman/ofbiz-release9.04_May2010/applications/workeffort/src/org/ofbiz/workeffort/workeffort/ICalRecurConverter.java:298:
> > method does not override a method from its superclass
> > > [javac15]     @Override
> > >
> > > ... 13 times over..
> > >
> > >
> > > Any way to get past this?
> > >
> > > TIA
> > > Ruth
> > >
> >
> >
>
>
>
>



Reply | Threaded
Open this post in threaded view
|

Re: How to I overcome this error?

Ruth Hoffman-2
Hi Adrian:
The first time I ran ant clean/run-install against the download it
worked fine. Second and subsequent times I get this error. Tried
downloading again and same thing - first time it works. 2nd and
subsequent times it fails. Probably is the environment, but I haven't a
clue where to look.

(Ended up just commenting out the offending lines in the code.)

Regards,
Ruth

Adrian Crum wrote:

> I spoke too soon:
>
> R9.04 ICalRecurConverter.java:298
>
> does not point to an override annotation. I ran ant clean and ant run-install using JDK 1.5 and everything worked fine. Double-check your installation.
>
> -Adrian
>
> --- On Wed, 5/26/10, Adrian Crum <[hidden email]> wrote:
>
>  
>> From: Adrian Crum <[hidden email]>
>> Subject: Re: How to I overcome this error?
>> To: [hidden email]
>> Date: Wednesday, May 26, 2010, 10:55 PM
>> Actually, this error is due to an
>> undocumented change to the compiler. I will look into it.
>>
>> -Adrian
>>
>> --- On Wed, 5/26/10, Scott Gray <[hidden email]>
>> wrote:
>>
>>    
>>> From: Scott Gray <[hidden email]>
>>> Subject: Re: How to I overcome this error?
>>> To: [hidden email]
>>> Date: Wednesday, May 26, 2010, 10:04 PM
>>> Hi Ruth,
>>>
>>> Sounds like some code got back ported to 9.04 that
>>>      
>> wasn't
>>    
>>> compatible with java 1.5.  Your options are to
>>>      
>> either:
>>    
>>> - use java 1.6
>>> - create a jira issue and either fix it or hope
>>>      
>> someone
>>    
>>> else does
>>> - find out who committed the code and pester them to
>>>      
>> fix
>>    
>>> it
>>>
>>> Regards
>>> Scott
>>>
>>> HotWax Media
>>> http://www.hotwaxmedia.com
>>>
>>> On 27/05/2010, at 2:14 PM, Ruth Hoffman wrote:
>>>
>>>      
>>>> Hi All:
>>>> Running ant run-install on the current stable
>>>>        
>> 9.04
>>    
>>> release I just downloaded causes this problem:
>>>      
>>>>        
>> /Users/ruthhoffman/ofbiz-release9.04_May2010/build.xml:151:
>>    
>>> The following error occurred while executing this
>>>      
>> line:
>>    
>> /Users/ruthhoffman/ofbiz-release9.04_May2010/applications/build.xml:67:
>>    
>>> The following error occurred while executing this
>>>      
>> line:
>>    
>> /Users/ruthhoffman/ofbiz-release9.04_May2010/macros.xml:27:
>>    
>>> The following error occurred while executing this
>>>      
>> line:
>>    
>> /Users/ruthhoffman/ofbiz-release9.04_May2010/applications/workeffort/build.xml:55:
>>    
>>> Compile failed; see the compiler error output for
>>>      
>> details.
>>    
>>>> Compile error:
>>>>
>>>> [javac15]
>>>>        
>> /Users/ruthhoffman/ofbiz-release9.04_May2010/applications/workeffort/src/org/ofbiz/workeffort/workeffort/ICalRecurConverter.java:298:
>>    
>>> method does not override a method from its superclass
>>>      
>>>> [javac15]     @Override
>>>>
>>>> ... 13 times over..
>>>>
>>>>
>>>> Any way to get past this?
>>>>
>>>> TIA
>>>> Ruth
>>>>
>>>>        
>>>      
>>
>>
>>    
>
>
>      
>
>  
Reply | Threaded
Open this post in threaded view
|

Re: How to I overcome this error?

Adrian Crum
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 | Threaded
Open this post in threaded view
|

Re: How to I overcome this error?

Ruth Hoffman-2
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 | Threaded
Open this post in threaded view
|

Re: How to I overcome this error?

Adrian Crum
Where are you getting that file from? Those annotations are not in 9.04.

-Adrian

On 5/27/2010 8:40 AM, Ruth Hoffman wrote:

> 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 | Threaded
Open this post in threaded view
|

Re: How to I overcome this error?

Ruth Hoffman-2
Hi Adrian:

I just downloaded the 9.04 release from the download site and these
lines are in the iCalRecurConverter.java source starting at line 124:

 @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);
...

Thanks.
Regards
Ruth

Adrian Crum wrote:

> Where are you getting that file from? Those annotations are not in 9.04.
>
> -Adrian
>
> On 5/27/2010 8:40 AM, Ruth Hoffman wrote:
>> 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 | Threaded
Open this post in threaded view
|

Re: How to I overcome this error?

Adrian Crum
I checked the 9.04 release zip file and the repository - those
annotations do not exist in 9.04. They were removed last March - so
maybe you are using an old download. At any rate, the problem doesn't
exist in current code.

-Adrian

On 5/27/2010 8:57 AM, Ruth Hoffman wrote:

> Hi Adrian:
>
> I just downloaded the 9.04 release from the download site and these
> lines are in the iCalRecurConverter.java source starting at line 124:
>
> @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);
> ...
>
> Thanks.
> Regards
> Ruth
>
> Adrian Crum wrote:
>> Where are you getting that file from? Those annotations are not in 9.04.
>>
>> -Adrian
>>
>> On 5/27/2010 8:40 AM, Ruth Hoffman wrote:
>>> 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 | Threaded
Open this post in threaded view
|

Re: How to I overcome this error?

Ruth Hoffman-2
Hi Adrian:
They may not be in SVN, but they certainly are in this download. I just
double checked:

http://apache.multihomed.net/ofbiz/apache-ofbiz-09.04.zip

Regards,
Ruth

Adrian Crum wrote

> I checked the 9.04 release zip file and the repository - those
> annotations do not exist in 9.04. They were removed last March - so
> maybe you are using an old download. At any rate, the problem doesn't
> exist in current code.
>
> -Adrian
>
> On 5/27/2010 8:57 AM, Ruth Hoffman wrote:
>> Hi Adrian:
>>
>> I just downloaded the 9.04 release from the download site and these
>> lines are in the iCalRecurConverter.java source starting at line 124:
>>
>> @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);
>> ...
>>
>> Thanks.
>> Regards
>> Ruth
>>
>> Adrian Crum wrote:
>>> Where are you getting that file from? Those annotations are not in
>>> 9.04.
>>>
>>> -Adrian
>>>
>>> On 5/27/2010 8:40 AM, Ruth Hoffman wrote:
>>>> 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 | Threaded
Open this post in threaded view
|

Re: How to I overcome this error?

Adrian Crum
It would be interesting to see if anyone else can find those annotations
in that download. I certainly can't.

-Adrian

On 5/27/2010 9:27 AM, Ruth Hoffman wrote:

> Hi Adrian:
> They may not be in SVN, but they certainly are in this download. I just
> double checked:
>
> http://apache.multihomed.net/ofbiz/apache-ofbiz-09.04.zip
>
> Regards,
> Ruth
>
> Adrian Crum wrote
>> I checked the 9.04 release zip file and the repository - those
>> annotations do not exist in 9.04. They were removed last March - so
>> maybe you are using an old download. At any rate, the problem doesn't
>> exist in current code.
>>
>> -Adrian
>>
>> On 5/27/2010 8:57 AM, Ruth Hoffman wrote:
>>> Hi Adrian:
>>>
>>> I just downloaded the 9.04 release from the download site and these
>>> lines are in the iCalRecurConverter.java source starting at line 124:
>>>
>>> @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);
>>> ...
>>>
>>> Thanks.
>>> Regards
>>> Ruth
>>>
>>> Adrian Crum wrote:
>>>> Where are you getting that file from? Those annotations are not in
>>>> 9.04.
>>>>
>>>> -Adrian
>>>>
>>>> On 5/27/2010 8:40 AM, Ruth Hoffman wrote:
>>>>> 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 | Threaded
Open this post in threaded view
|

Re: How to I overcome this error?

Ruth Hoffman-2
Hi Adrian:
Where do you think I got them from? Any suggestions would be greatly
appreciated. I just downloaded that file, unzipped it and looked. What
more can I tell you?
Regards,
Ruth

Adrian Crum wrote:

> It would be interesting to see if anyone else can find those
> annotations in that download. I certainly can't.
>
> -Adrian
>
> On 5/27/2010 9:27 AM, Ruth Hoffman wrote:
>> Hi Adrian:
>> They may not be in SVN, but they certainly are in this download. I just
>> double checked:
>>
>> http://apache.multihomed.net/ofbiz/apache-ofbiz-09.04.zip
>>
>> Regards,
>> Ruth
>>
>> Adrian Crum wrote
>>> I checked the 9.04 release zip file and the repository - those
>>> annotations do not exist in 9.04. They were removed last March - so
>>> maybe you are using an old download. At any rate, the problem doesn't
>>> exist in current code.
>>>
>>> -Adrian
>>>
>>> On 5/27/2010 8:57 AM, Ruth Hoffman wrote:
>>>> Hi Adrian:
>>>>
>>>> I just downloaded the 9.04 release from the download site and these
>>>> lines are in the iCalRecurConverter.java source starting at line 124:
>>>>
>>>> @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);
>>>> ...
>>>>
>>>> Thanks.
>>>> Regards
>>>> Ruth
>>>>
>>>> Adrian Crum wrote:
>>>>> Where are you getting that file from? Those annotations are not in
>>>>> 9.04.
>>>>>
>>>>> -Adrian
>>>>>
>>>>> On 5/27/2010 8:40 AM, Ruth Hoffman wrote:
>>>>>> 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 | Threaded
Open this post in threaded view
|

Re: How to I overcome this error?

Jacques Le Roux
Administrator
In reply to this post by Ruth Hoffman-2
Maybe this mirror does not update frequently?

Jacques

From: "Ruth Hoffman" <[hidden email]>

> Hi Adrian:
> They may not be in SVN, but they certainly are in this download. I just
> double checked:
>
> http://apache.multihomed.net/ofbiz/apache-ofbiz-09.04.zip
>
> Regards,
> Ruth
>
> Adrian Crum wrote
>> I checked the 9.04 release zip file and the repository - those
>> annotations do not exist in 9.04. They were removed last March - so
>> maybe you are using an old download. At any rate, the problem doesn't
>> exist in current code.
>>
>> -Adrian
>>
>> On 5/27/2010 8:57 AM, Ruth Hoffman wrote:
>>> Hi Adrian:
>>>
>>> I just downloaded the 9.04 release from the download site and these
>>> lines are in the iCalRecurConverter.java source starting at line 124:
>>>
>>> @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);
>>> ...
>>>
>>> Thanks.
>>> Regards
>>> Ruth
>>>
>>> Adrian Crum wrote:
>>>> Where are you getting that file from? Those annotations are not in
>>>> 9.04.
>>>>
>>>> -Adrian
>>>>
>>>> On 5/27/2010 8:40 AM, Ruth Hoffman wrote:
>>>>> 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 | Threaded
Open this post in threaded view
|

Re: How to I overcome this error?

Ruth Hoffman-2
Hi Jacques:
Maybe. FYI - this is the first one users are directed to and the one
that is "recommended" by the download site.
Regards,
Ruth

Jacques Le Roux wrote:

> Maybe this mirror does not update frequently?
>
> Jacques
>
> From: "Ruth Hoffman" <[hidden email]>
>> Hi Adrian:
>> They may not be in SVN, but they certainly are in this download. I
>> just double checked:
>>
>> http://apache.multihomed.net/ofbiz/apache-ofbiz-09.04.zip
>>
>> Regards,
>> Ruth
>>
>> Adrian Crum wrote
>>> I checked the 9.04 release zip file and the repository - those
>>> annotations do not exist in 9.04. They were removed last March - so
>>> maybe you are using an old download. At any rate, the problem
>>> doesn't exist in current code.
>>>
>>> -Adrian
>>>
>>> On 5/27/2010 8:57 AM, Ruth Hoffman wrote:
>>>> Hi Adrian:
>>>>
>>>> I just downloaded the 9.04 release from the download site and these
>>>> lines are in the iCalRecurConverter.java source starting at line 124:
>>>>
>>>> @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);
>>>> ...
>>>>
>>>> Thanks.
>>>> Regards
>>>> Ruth
>>>>
>>>> Adrian Crum wrote:
>>>>> Where are you getting that file from? Those annotations are not in
>>>>> 9.04.
>>>>>
>>>>> -Adrian
>>>>>
>>>>> On 5/27/2010 8:40 AM, Ruth Hoffman wrote:
>>>>>> 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 | Threaded
Open this post in threaded view
|

Re: How to I overcome this error?

Tim Ruppert
In reply to this post by Adrian Crum
Here are those same two methods that I got from the download
-- NOTE I see no "// @Override"

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

    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")
    public void visit(HourRange expr) {
        NumberList hourList = new NumberList();
        hourList.addAll(expr.getHourRangeAsSet());
        Recur recur = new Recur(Recur.HOURLY, 0);
        recur.getHourList().addAll(hourList);
        this.state.addRecur(recur);
    }

Hope this helps Ruth.

Cheers,
Ruppert

On May 27, 2010, at 10:46 AM, Adrian Crum wrote:

> It would be interesting to see if anyone else can find those annotations in that download. I certainly can't.
>
> -Adrian
>
> On 5/27/2010 9:27 AM, Ruth Hoffman wrote:
>> Hi Adrian:
>> They may not be in SVN, but they certainly are in this download. I just
>> double checked:
>>
>> http://apache.multihomed.net/ofbiz/apache-ofbiz-09.04.zip
>>
>> Regards,
>> Ruth
>>
>> Adrian Crum wrote
>>> I checked the 9.04 release zip file and the repository - those
>>> annotations do not exist in 9.04. They were removed last March - so
>>> maybe you are using an old download. At any rate, the problem doesn't
>>> exist in current code.
>>>
>>> -Adrian
>>>
>>> On 5/27/2010 8:57 AM, Ruth Hoffman wrote:
>>>> Hi Adrian:
>>>>
>>>> I just downloaded the 9.04 release from the download site and these
>>>> lines are in the iCalRecurConverter.java source starting at line 124:
>>>>
>>>> @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);
>>>> ...
>>>>
>>>> Thanks.
>>>> Regards
>>>> Ruth
>>>>
>>>> Adrian Crum wrote:
>>>>> Where are you getting that file from? Those annotations are not in
>>>>> 9.04.
>>>>>
>>>>> -Adrian
>>>>>
>>>>> On 5/27/2010 8:40 AM, Ruth Hoffman wrote:
>>>>>> 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 | Threaded
Open this post in threaded view
|

Re: How to I overcome this error?

Ruth Hoffman-2
Hi Tim:
I just did it again and you and Adrian are correct. It is not in there...
Thanks for your help.
Regards,
Ruth

Tim Ruppert wrote:

> Here are those same two methods that I got from the download
> -- NOTE I see no "// @Override"
>
>     // ----- TemporalExpressionVisitor Implementation ----- //
>
>     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")
>     public void visit(HourRange expr) {
>         NumberList hourList = new NumberList();
>         hourList.addAll(expr.getHourRangeAsSet());
>         Recur recur = new Recur(Recur.HOURLY, 0);
>         recur.getHourList().addAll(hourList);
>         this.state.addRecur(recur);
>     }
>
> Hope this helps Ruth.
>
> Cheers,
> Ruppert
>
> On May 27, 2010, at 10:46 AM, Adrian Crum wrote:
>
>  
>> It would be interesting to see if anyone else can find those annotations in that download. I certainly can't.
>>
>> -Adrian
>>
>> On 5/27/2010 9:27 AM, Ruth Hoffman wrote:
>>    
>>> Hi Adrian:
>>> They may not be in SVN, but they certainly are in this download. I just
>>> double checked:
>>>
>>> http://apache.multihomed.net/ofbiz/apache-ofbiz-09.04.zip
>>>
>>> Regards,
>>> Ruth
>>>
>>> Adrian Crum wrote
>>>      
>>>> I checked the 9.04 release zip file and the repository - those
>>>> annotations do not exist in 9.04. They were removed last March - so
>>>> maybe you are using an old download. At any rate, the problem doesn't
>>>> exist in current code.
>>>>
>>>> -Adrian
>>>>
>>>> On 5/27/2010 8:57 AM, Ruth Hoffman wrote:
>>>>        
>>>>> Hi Adrian:
>>>>>
>>>>> I just downloaded the 9.04 release from the download site and these
>>>>> lines are in the iCalRecurConverter.java source starting at line 124:
>>>>>
>>>>> @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);
>>>>> ...
>>>>>
>>>>> Thanks.
>>>>> Regards
>>>>> Ruth
>>>>>
>>>>> Adrian Crum wrote:
>>>>>          
>>>>>> Where are you getting that file from? Those annotations are not in
>>>>>> 9.04.
>>>>>>
>>>>>> -Adrian
>>>>>>
>>>>>> On 5/27/2010 8:40 AM, Ruth Hoffman wrote:
>>>>>>            
>>>>>>> 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 | Threaded
Open this post in threaded view
|

Re: How to I overcome this error?

hans_bakker
Wouldn't apologies from someone presenting herself as an expert and
causing so much work for several people be nice here?


On Thu, 2010-05-27 at 13:20 -0400, Ruth Hoffman wrote:

> Hi Tim:
> I just did it again and you and Adrian are correct. It is not in there...
> Thanks for your help.
> Regards,
> Ruth
>
> Tim Ruppert wrote:
> > Here are those same two methods that I got from the download
> > -- NOTE I see no "// @Override"
> >
> >     // ----- TemporalExpressionVisitor Implementation ----- //
> >
> >     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")
> >     public void visit(HourRange expr) {
> >         NumberList hourList = new NumberList();
> >         hourList.addAll(expr.getHourRangeAsSet());
> >         Recur recur = new Recur(Recur.HOURLY, 0);
> >         recur.getHourList().addAll(hourList);
> >         this.state.addRecur(recur);
> >     }
> >
> > Hope this helps Ruth.
> >
> > Cheers,
> > Ruppert
> >
> > On May 27, 2010, at 10:46 AM, Adrian Crum wrote:
> >
> >  
> >> It would be interesting to see if anyone else can find those annotations in that download. I certainly can't.
> >>
> >> -Adrian
> >>
> >> On 5/27/2010 9:27 AM, Ruth Hoffman wrote:
> >>    
> >>> Hi Adrian:
> >>> They may not be in SVN, but they certainly are in this download. I just
> >>> double checked:
> >>>
> >>> http://apache.multihomed.net/ofbiz/apache-ofbiz-09.04.zip
> >>>
> >>> Regards,
> >>> Ruth
> >>>
> >>> Adrian Crum wrote
> >>>      
> >>>> I checked the 9.04 release zip file and the repository - those
> >>>> annotations do not exist in 9.04. They were removed last March - so
> >>>> maybe you are using an old download. At any rate, the problem doesn't
> >>>> exist in current code.
> >>>>
> >>>> -Adrian
> >>>>
> >>>> On 5/27/2010 8:57 AM, Ruth Hoffman wrote:
> >>>>        
> >>>>> Hi Adrian:
> >>>>>
> >>>>> I just downloaded the 9.04 release from the download site and these
> >>>>> lines are in the iCalRecurConverter.java source starting at line 124:
> >>>>>
> >>>>> @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);
> >>>>> ...
> >>>>>
> >>>>> Thanks.
> >>>>> Regards
> >>>>> Ruth
> >>>>>
> >>>>> Adrian Crum wrote:
> >>>>>          
> >>>>>> Where are you getting that file from? Those annotations are not in
> >>>>>> 9.04.
> >>>>>>
> >>>>>> -Adrian
> >>>>>>
> >>>>>> On 5/27/2010 8:40 AM, Ruth Hoffman wrote:
> >>>>>>            
> >>>>>>> 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
> >>>>>>>>
> >>>>>>>>                
> >
> >
> >  

--
Ofbiz on twitter: http://twitter.com/apache_ofbiz
Myself on twitter: http://twitter.com/hansbak
Antwebsystems.com: Quality services for competitive rates.

Reply | Threaded
Open this post in threaded view
|

Re: How to I overcome this error?

Adrian Crum-2
The problem was resolved and she thanked us. I'm satisfied.

-Adrian

--- On Thu, 5/27/10, Hans Bakker <[hidden email]> wrote:

> From: Hans Bakker <[hidden email]>
> Subject: Re: How to I overcome this error?
> To: [hidden email]
> Date: Thursday, May 27, 2010, 6:06 PM
> Wouldn't apologies from someone
> presenting herself as an expert and
> causing so much work for several people be nice here?
>
>
> On Thu, 2010-05-27 at 13:20 -0400, Ruth Hoffman wrote:
> > Hi Tim:
> > I just did it again and you and Adrian are correct. It
> is not in there...
> > Thanks for your help.
> > Regards,
> > Ruth
> >
> > Tim Ruppert wrote:
> > > Here are those same two methods that I got from
> the download
> > > -- NOTE I see no "// @Override"
> > >
> > >     // -----
> TemporalExpressionVisitor Implementation ----- //
> > >
> > >     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")
> > >     public void
> visit(HourRange expr) {
> > >         NumberList
> hourList = new NumberList();
> > >     
>    hourList.addAll(expr.getHourRangeAsSet());
> > >         Recur recur
> = new Recur(Recur.HOURLY, 0);
> > >     
>    recur.getHourList().addAll(hourList);
> > >     
>    this.state.addRecur(recur);
> > >     }
> > >
> > > Hope this helps Ruth.
> > >
> > > Cheers,
> > > Ruppert
> > >
> > > On May 27, 2010, at 10:46 AM, Adrian Crum wrote:
> > >
> > >   
> > >> It would be interesting to see if anyone else
> can find those annotations in that download. I certainly
> can't.
> > >>
> > >> -Adrian
> > >>
> > >> On 5/27/2010 9:27 AM, Ruth Hoffman wrote:
> > >>     
> > >>> Hi Adrian:
> > >>> They may not be in SVN, but they
> certainly are in this download. I just
> > >>> double checked:
> > >>>
> > >>> http://apache.multihomed.net/ofbiz/apache-ofbiz-09.04.zip
> > >>>
> > >>> Regards,
> > >>> Ruth
> > >>>
> > >>> Adrian Crum wrote
> > >>>       
> > >>>> I checked the 9.04 release zip file
> and the repository - those
> > >>>> annotations do not exist in 9.04.
> They were removed last March - so
> > >>>> maybe you are using an old download.
> At any rate, the problem doesn't
> > >>>> exist in current code.
> > >>>>
> > >>>> -Adrian
> > >>>>
> > >>>> On 5/27/2010 8:57 AM, Ruth Hoffman
> wrote:
> > >>>>     
>    
> > >>>>> Hi Adrian:
> > >>>>>
> > >>>>> I just downloaded the 9.04
> release from the download site and these
> > >>>>> lines are in the
> iCalRecurConverter.java source starting at line 124:
> > >>>>>
> > >>>>> @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);
> > >>>>> ...
> > >>>>>
> > >>>>> Thanks.
> > >>>>> Regards
> > >>>>> Ruth
> > >>>>>
> > >>>>> Adrian Crum wrote:
> > >>>>>       
>    
> > >>>>>> Where are you getting that
> file from? Those annotations are not in
> > >>>>>> 9.04.
> > >>>>>>
> > >>>>>> -Adrian
> > >>>>>>
> > >>>>>> On 5/27/2010 8:40 AM, Ruth
> Hoffman wrote:
> > >>>>>>       
>      
> > >>>>>>> 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
> > >>>>>>>>
> > >>>>>>>>     
>            
> > >
> > >
> > >   
>
> --
> Ofbiz on twitter: http://twitter.com/apache_ofbiz
> Myself on twitter: http://twitter.com/hansbak
> Antwebsystems.com: Quality services for competitive rates.
>
>



Reply | Threaded
Open this post in threaded view
|

Re: How to I overcome this error?

Ruth Hoffman-2
In reply to this post by hans_bakker
Hi Hans:

I'm not sure what you'd like me to apologize for?

That said, I will say: thanks to everyone who so graciously gave of
their time to help me resolve this issue.

A special thanks to Adrian who took time out of his very busy schedule
to find time to help.

And to you Hans, for reminding me that I am only human. I never
professed to be an expert at anything and I'm incredulous that anyone
would interpret anything I say as "expert" advice.

Again,
Thanks all.
Ruth
----------------------------------------------------
Find me on the web at http://www.myofbiz.com or Google keyword "myofbiz"
[hidden email]

Hans Bakker wrote:

> Wouldn't apologies from someone presenting herself as an expert and
> causing so much work for several people be nice here?
>
>
> On Thu, 2010-05-27 at 13:20 -0400, Ruth Hoffman wrote:
>  
>> Hi Tim:
>> I just did it again and you and Adrian are correct. It is not in there...
>> Thanks for your help.
>> Regards,
>> Ruth
>>
>> Tim Ruppert wrote:
>>    
>>> Here are those same two methods that I got from the download
>>> -- NOTE I see no "// @Override"
>>>
>>>     // ----- TemporalExpressionVisitor Implementation ----- //
>>>
>>>     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")
>>>     public void visit(HourRange expr) {
>>>         NumberList hourList = new NumberList();
>>>         hourList.addAll(expr.getHourRangeAsSet());
>>>         Recur recur = new Recur(Recur.HOURLY, 0);
>>>         recur.getHourList().addAll(hourList);
>>>         this.state.addRecur(recur);
>>>     }
>>>
>>> Hope this helps Ruth.
>>>
>>> Cheers,
>>> Ruppert
>>>
>>> On May 27, 2010, at 10:46 AM, Adrian Crum wrote:
>>>
>>>  
>>>      
>>>> It would be interesting to see if anyone else can find those annotations in that download. I certainly can't.
>>>>
>>>> -Adrian
>>>>
>>>> On 5/27/2010 9:27 AM, Ruth Hoffman wrote:
>>>>    
>>>>        
>>>>> Hi Adrian:
>>>>> They may not be in SVN, but they certainly are in this download. I just
>>>>> double checked:
>>>>>
>>>>> http://apache.multihomed.net/ofbiz/apache-ofbiz-09.04.zip
>>>>>
>>>>> Regards,
>>>>> Ruth
>>>>>
>>>>> Adrian Crum wrote
>>>>>      
>>>>>          
>>>>>> I checked the 9.04 release zip file and the repository - those
>>>>>> annotations do not exist in 9.04. They were removed last March - so
>>>>>> maybe you are using an old download. At any rate, the problem doesn't
>>>>>> exist in current code.
>>>>>>
>>>>>> -Adrian
>>>>>>
>>>>>> On 5/27/2010 8:57 AM, Ruth Hoffman wrote:
>>>>>>        
>>>>>>            
>>>>>>> Hi Adrian:
>>>>>>>
>>>>>>> I just downloaded the 9.04 release from the download site and these
>>>>>>> lines are in the iCalRecurConverter.java source starting at line 124:
>>>>>>>
>>>>>>> @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);
>>>>>>> ...
>>>>>>>
>>>>>>> Thanks.
>>>>>>> Regards
>>>>>>> Ruth
>>>>>>>
>>>>>>> Adrian Crum wrote:
>>>>>>>          
>>>>>>>              
>>>>>>>> Where are you getting that file from? Those annotations are not in
>>>>>>>> 9.04.
>>>>>>>>
>>>>>>>> -Adrian
>>>>>>>>
>>>>>>>> On 5/27/2010 8:40 AM, Ruth Hoffman wrote:
>>>>>>>>            
>>>>>>>>                
>>>>>>>>> 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
>>>>>>>>>>
>>>>>>>>>>                
>>>>>>>>>>                    
>>>  
>>>      
>
>  
12