No - just suppress the warning - unless you actually need to do some
serialization.
Cheers, Eric
-----Original Message-----
From: java-dev-bounces+eric.kolotyluk=email@hidden
[mailto:java-dev-bounces+eric.kolotyluk=email@hidden] On
Behalf Of David Leader
Sent: Tuesday, January 29, 2008 1:58 PM
To: email@hidden
Subject: Eclipse Warning
As my bioinformatics students are taught java using Eclipse - use
Java 1.5 Scanners - I had to get them to show how to set Eclipse up
for a small project (ex CodeWarrior) I had given them. Although my
code ran fine, Eclipse was very nannyish warning me about
sloppinesses (variables or methods that did not get used). Fair
enough, I suppose. However for every class that had Swing/AWT in it
it gave me the following type of warning in the class declaration:
"The serializable class BlahBlah does not declare a static final
serialVersionUID field of type long"
What does this mean? Should I be concerned?
David