Return-Path: Delivered-To: apmail-struts-dev-archive@www.apache.org Received: (qmail 40332 invoked from network); 6 Sep 2007 14:15:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 6 Sep 2007 14:15:10 -0000 Received: (qmail 98214 invoked by uid 500); 6 Sep 2007 14:15:02 -0000 Delivered-To: apmail-struts-dev-archive@struts.apache.org Received: (qmail 98178 invoked by uid 500); 6 Sep 2007 14:15:02 -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 98167 invoked by uid 99); 6 Sep 2007 14:15:02 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Sep 2007 07:15:02 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of paulus.benedictus@gmail.com designates 66.249.92.173 as permitted sender) Received: from [66.249.92.173] (HELO ug-out-1314.google.com) (66.249.92.173) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Sep 2007 14:14:59 +0000 Received: by ug-out-1314.google.com with SMTP id o4so172582uge for ; Thu, 06 Sep 2007 07:14:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:references:x-google-sender-auth; bh=tD0PVl73SwU8QUYpY+X6l3gxhfEUQkxYGwNytCK6b7M=; b=WNCltVu/s1ivHzeuHaQ3HUSFJZWsUQefO/TbAK2IhWs/BfsqD9+ymkS3n4/vMtnZnWVCVitJCal8AgpaJJFgqcO592PzueBSkuzD3ocR5ds8YAPSgze8jakoECl/RZXpC0hrPiylYQdcT8P6z+/5WZVznFPXJeN2KIuo980xzw8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:references:x-google-sender-auth; b=KWP7JaAsnlCQa6x1znqX/Fustur30VXqj9aClDtQocc86agUJU9quui1Vw+Kyhiq+WdK9cJweKHy1d0eDkwc39EsNQvgDtgS+VgcneAV+bjsqMRZeNGNEFjCqbcgXA9hVaeTLfcSxO+8wNqsYETD5K3GjcqPq5knHHY6NuWxfIc= Received: by 10.67.29.13 with SMTP id g13mr218447ugj.1189088078251; Thu, 06 Sep 2007 07:14:38 -0700 (PDT) Received: by 10.66.254.13 with HTTP; Thu, 6 Sep 2007 07:14:38 -0700 (PDT) Message-ID: Date: Thu, 6 Sep 2007 09:14:38 -0500 From: "Paul Benedict" Sender: paulus.benedictus@gmail.com To: "Struts Developers List" Subject: Re: Should we add serialVersionUID fields for example applications? In-Reply-To: <71D42329-E855-413B-AC8A-B0A65E87FBA9@gmail.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_35130_21420082.1189088078203" References: <8b3ce3790709060642h50625184x7dc0e7db10b18d35@mail.gmail.com> <71D42329-E855-413B-AC8A-B0A65E87FBA9@gmail.com> X-Google-Sender-Auth: cc6c210f86ac38b7 X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_35130_21420082.1189088078203 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Just add a value of 1. On 9/6/07, James Mitchell wrote: > > If you didn't know, you can turn off warnings for just that > particular item under preferences. > > > -- > James Mitchell > > > > On Sep 6, 2007, at 9:42 AM, Ted Husted wrote: > > > So, for complicated reasons, I'm trying to use Eclipse more these > > days. > > > > Something it likes to do is nag that "The serializable class > > $classname does not declare a static final serialVersionUID field of > > type long". > > > > Since the Actions are serializable, we get this alot :) > > > > A seemingly good explanation of the message is here: > > > > * http://forum.java.sun.com/thread.jspa? > > threadID=581654&messageID=3501336 > > > > Do we want to go ahead and add the field and silence the nag? Or just > > turn it off in our Eclipse IDEs? Or add the "@SupressWarnings" > > annotations? Otherwise, it's hard to tell if we've addressed any other > > warnings. > > > > If we were to add it and use the "quick fix", should we "add a default > > serial ID" or "add generated serial ID"? > > > > -Ted. > > > > --------------------------------------------------------------------- > > 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 > > ------=_Part_35130_21420082.1189088078203--