Show a description of each use or override of a deprecated member or class. Without -deprecation, javac shows a summary of the source files that use or override deprecated members or classes. -deprecation is shorthand for -Xlint:deprecation.
warning: [deprecation] Date(int,int,int) in java.sql.Date has been deprecated
preparedStatement.setDate(4, new java.sql.Date(2009, 12, 11));
Campbell Ritchie wrote:The tool lint is a long-established tool for finding errors and bugs in code. I don't know why it is called lint.
The term was derived from the name of the undesirable bits of fiber and fluff found in sheep's wool.
Have you ever been Campbell?
Rob Spoor wrote: . . . well, being Campbell