This week's book giveaway is in the
We're giving away four copies of a choice of
"Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac"
and have Joe Kissell on-line!
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Take Control of Upgrading to Yosemite
Take Control of Automating Your Mac
this week in the
Developer Certification (SCJD/OCMJD)
Joined: Jan 30, 2002
Mar 11, 2002 13:39:00
There is a package-private constant that is defined in Data.java, DataInfo.java and FieldInfo.java that as far as I can tell is not used at all. Here's the definition:
final static char sc = 'A';
My first instinct is to remove the definition altogether since I can see no apparent use for it. What are your thoughts?
Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius - and a lot of courage - to move in the opposite direction.
- Ernst F. Schumacher
Joined: Feb 05, 2001
Mar 11, 2002 16:00:00
I'd just keep whatever they had doen in the code. The constant could have ben used in a previous version of the
, when you have to convert the data.
Perfect World Programming, LLC
Two Laptop Bag
How to Ask Questions the Smart Way FAQ
Joined: Jan 30, 2002
Mar 11, 2002 16:43:00
Thanks Mark. I have a tendecy to nit-pick others' code (and code that I wrote but can't remember when.) I will certainly leave it alone.
Joined: Oct 01, 2001
Mar 14, 2002 04:50:00
Another possibillity is that it is used to tell the person marking your submission which version of the "legacy code" and db.db file you were assigned.
SCJP, SCJD, SCEA 5 "Any sufficiently analyzed magic is indistinguishable from science!" Agatha Heterodyne (Girl Genius)
With a little knowledge, a
cast iron skillet
is non-stick and lasts a lifetime.
subject: Unused constant
Confused on the idea of a Class file.
Switch statement - Constant expression
Struts 2 - Using 2 different tiles definition for i18n
When to stop using a properties file?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014