ofbiz-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jacques Le Roux" <jacques.le.r...@les7arts.com>
Subject Re: Useless @Override annotations?
Date Mon, 17 Sep 2012 15:02:54 GMT
That was it, thanks Adrian!

I see only 8 errors now. They are false reports though I wonder why it complains about getContextPath()
in 
request.getSession().getServletContext().getContextPath()
http://docs.oracle.com/javaee/6/api/javax/servlet/http/HttpServletRequest.html#getContextPath%28%29

Anyway not a big deal

Jacques

From: "Adrian Crum" <adrian.crum@sandglass-software.com>
> Are you sure you have Eclipse set for 1.6 compatibility? I don't see any warnings on
my copy.
>
> -Adrian
>
> On 9/17/2012 10:04 AM, Jacques Le Roux wrote:
>> Yes thanks, I know that, I just wonder why Eclipse shows errors, maybe an Eclipse
setting in "Java/Compiler/Errors-Warnings" 
>> then?
>>
>> Jacques
>>
>> From: "Adrian Crum" <adrian.crum@sandglass-software.com>
>>> @Override is useful in 1.6 and later. The compiler will warn you if the super
class or interface being overridden has changed.
>>>
>>> -Adrian
>>>
>>> On 9/17/2012 9:25 AM, Jacques Le Roux wrote:
>>>> Hi,
>>>>
>>>> By chance I looked into Eclipse Problems View and I found a lot of "errors"
regarding @Override annotations
>>>> Are they supposed to be used later of simply left out there?
>>>>
>>>> Thanks
>>>>
>>>> Jacques
>>>
> 

Mime
View raw message