struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave Newton <davelnew...@gmail.com>
Subject Re: Struts2/XWork Java 5 or 6?
Date Sat, 04 Jun 2011 23:27:25 GMT
Marking interface methods w/ @Override is 1.6 (haven't checked the
OP's code reference though).

Dave

On Sat, Jun 4, 2011 at 7:15 PM, Jason Pyeron <jpyeron@pdinc.us> wrote:
>> -----Original Message-----
>> From: Steven Benitez
>> Sent: Saturday, June 04, 2011 15:07
>> To: Struts Developers List
>> Subject: Struts2/XWork Java 5 or 6?
>>
>> It looks like DefaultActionProxy (in XWork) was changed on
>> 5/22 to add the following code:
>>
>>
>>     @Override
>>     public boolean isMethodSpecified()
>>     {
>>         return methodSpecified;
>>     }
>>
>> This method overrides an interface method and the use of the
>> @Override for interface methods is Java 6 only. Isn't the
>
> Nope, 1.5
>
> http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Override.html
>
>> Struts2/XWork codebase still 1.5?
>>
>
>
>
> --
> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
> -                                                        
      -
> - Jason Pyeron                      PD Inc. http://www.pdinc.us -
> - Principal Consultant              10 West 24th Street #100    -
> - +1 (443) 269-1555 x333            Baltimore, Maryland 21218   -
> -                                                        
      -
> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
> This message is copyright PD Inc, subject to license 20080407P00.
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
> For additional commands, e-mail: dev-help@struts.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org


Mime
View raw message