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


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

Re: Getter/Setter - Serialization

From Roedy Green <see_website@mindprod.com.invalid>
Newsgroups comp.lang.java.programmer
Subject Re: Getter/Setter - Serialization
Date 2011-07-25 00:47 -0700
Organization Canadian Mind Products
Message-ID <aq7q279ln8nh80kh1dtknlq5arr0rnfp1d@4ax.com> (permalink)
References <c591a234-aa23-4894-a693-e8b09756c934@15g2000vbw.googlegroups.com>

Show all headers | View raw


On Sun, 24 Jul 2011 08:07:06 -0700 (PDT), Thomas Lehmann
<thomas.lehmann.private@googlemail.com> wrote, quoted or indirectly
quoted someone who said :

>Hi,
>
>probably a silly question. I have a class and some members will be
>initialized only when calling a 'create' method. I'm using Eclipse and
>there I get a warning "Found non-transient, non-static member. Please
>mark as transient or provide accessors."

Is this field for some reason non-serialisable? If it is serialisable,
you could just ignore the warning.
-- 
Roedy Green Canadian Mind Products
http://mindprod.com
Most of computer code is for telling the computer
what do if some very particular thing goes wrong. 

Back to comp.lang.java.programmer | Previous | NextPrevious 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