Return-Path: X-Original-To: apmail-struts-dev-archive@www.apache.org Delivered-To: apmail-struts-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 54E4B4576 for ; Sat, 4 Jun 2011 23:27:53 +0000 (UTC) Received: (qmail 59072 invoked by uid 500); 4 Jun 2011 23:27:53 -0000 Delivered-To: apmail-struts-dev-archive@struts.apache.org Received: (qmail 59028 invoked by uid 500); 4 Jun 2011 23:27:52 -0000 Mailing-List: contact dev-help@struts.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Struts Developers List" Reply-To: "Struts Developers List" Delivered-To: mailing list dev@struts.apache.org Received: (qmail 59020 invoked by uid 99); 4 Jun 2011 23:27:52 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 04 Jun 2011 23:27:52 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,RFC_ABUSE_POST,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of davelnewton@gmail.com designates 209.85.210.176 as permitted sender) Received: from [209.85.210.176] (HELO mail-iy0-f176.google.com) (209.85.210.176) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 04 Jun 2011 23:27:47 +0000 Received: by iym1 with SMTP id 1so3886879iym.35 for ; Sat, 04 Jun 2011 16:27:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type:content-transfer-encoding; bh=yn/Hom7UsAKbGCXoqn0jA74vA91TfviwhHB2xw6lVvU=; b=v3OAiqkKEiOiApiIStZQQ1zSTJgUzma9GvvYDlmWDeEAZmzxearATGplBxqoXp+nUp L0sfPd6Uqk4Vvdxb8CLR+34hrMFCd47v2npyHrUWmxJz/mk9vo+PfAfcuXQvy8DY5VfW TvnN/BIeaGz8oNBjIsbC9u5SKII6kMPcHwlLc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=BIEbOu2gI3pLFumoicd3VZMv2aBbxDAsr6Nifp0QFcmo74rV13FKh2Dunfh2HTlhye i3mNL0jF2EqHX+kqsY4F75l1kT76wGUAZ/ZccQGzemlh1c24rUDVSE5XF01nVhd6RnCE sbHqRcaXKSiZWr6AepWPUPTzbY3CN17YMD/JA= MIME-Version: 1.0 Received: by 10.42.159.131 with SMTP id l3mr6443039icx.298.1307230045557; Sat, 04 Jun 2011 16:27:25 -0700 (PDT) Received: by 10.42.224.2 with HTTP; Sat, 4 Jun 2011 16:27:25 -0700 (PDT) In-Reply-To: References: Date: Sat, 4 Jun 2011 19:27:25 -0400 Message-ID: Subject: Re: Struts2/XWork Java 5 or 6? From: Dave Newton To: Struts Developers List Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org 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 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: >> >> >> =A0 =A0 @Override >> =A0 =A0 public boolean isMethodSpecified() >> =A0 =A0 { >> =A0 =A0 =A0 =A0 return methodSpecified; >> =A0 =A0 } >> >> 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? >> > > > > -- > -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-= =3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- > - =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0= =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 - > - Jason Pyeron =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0PD Inc. http://= www.pdinc.us - > - Principal Consultant =A0 =A0 =A0 =A0 =A0 =A0 =A010 West 24th Street #10= 0 =A0 =A0- > - +1 (443) 269-1555 x333 =A0 =A0 =A0 =A0 =A0 =A0Baltimore, Maryland 21218= =A0 - > - =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0= =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 - > -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-= =3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- > 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