funniest deprecation in the Java API

Hi,
All the Java guys might be aware the term Depricated in java or android programming.
From the definition of deprecated:
A program element annotated @Deprecated is one that programmers are discouraged from using, typically because it is dangerous, or because a better alternative exists.
The funniest deprecation in the Java API, is imo, the FontMetrics.getMaxDecent.
Reason for deprecation: Spelling error.
Deprecated. As of JDK version 1.1.1, replaced by getMaxDescent().


Comments

Popular Posts