Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #6511

Re: Getter/Setter - Serialization

From markspace <-@.>
Newsgroups comp.lang.java.programmer
Subject Re: Getter/Setter - Serialization
Date 2011-07-24 10:26 -0700
Organization A noiseless patient Spider
Message-ID <j0hkkp$237$1@dont-email.me> (permalink)
References <c591a234-aa23-4894-a693-e8b09756c934@15g2000vbw.googlegroups.com> <j0hdqs$mkh$1@dont-email.me> <1aaf12f8-e9da-4767-8d40-36a585e13cfe@m18g2000vbl.googlegroups.com>

Show all headers | View raw


On 7/24/2011 9:33 AM, Thomas Lehmann wrote:
> The warning message comes with PMD (plugin). I'm intending to use
> XStream for XML serialization and so far I can see there is no need
> to provide getter and setter.


I haven't used XStream;  if you don't think there's a problem, I'd 
ignore the PMD plug-in and just do the right thing.  PMD is likely in error.


> I know that article (URL) but reading also "Effective Java" you will
> be warned about the problem with using "Serializable".


I don't have time to review EJ right now, care to refresh my memory what 
is pertinent in EJ to this problem?

Back to comp.lang.java.programmer | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Getter/Setter - Serialization Thomas Lehmann <thomas.lehmann.private@googlemail.com> - 2011-07-24 08:07 -0700
  Re: Getter/Setter - Serialization markspace <-@.> - 2011-07-24 08:30 -0700
    Re: Getter/Setter - Serialization Thomas Lehmann <thomas.lehmann.private@googlemail.com> - 2011-07-24 09:33 -0700
      Re: Getter/Setter - Serialization markspace <-@.> - 2011-07-24 10:26 -0700
      Re: Getter/Setter - Serialization Arne Vajhøj <arne@vajhoej.dk> - 2011-07-24 20:35 -0400
  Re: Getter/Setter - Serialization lewbloch <lewbloch@gmail.com> - 2011-07-24 11:51 -0700
  Re: Getter/Setter - Serialization Roedy Green <see_website@mindprod.com.invalid> - 2011-07-25 00:47 -0700

csiph-web