Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Eclipse Warning



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

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/eric.kolotyluk%40kodak.c
om

This email sent to email@hidden
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden

This email sent to email@hidden

References: 
 >Eclipse Warning (From: David Leader <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.