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 <jpye...@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-unsubscr...@struts.apache.org > For additional commands, e-mail: dev-h...@struts.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org For additional commands, e-mail: dev-h...@struts.apache.org