/**
* Title: TestDeprecation
* @author dave
* @version $Revision: 1.0 $
*/
public class TestDeprecation {
/**
*
*/
public TestDeprecation() {
super();
}
/**
*@deprecated
*use printItems instead
*/
public static void printItem(int i) {
System.out.println(" here is " + i);
}
/**
* print items
*
*
*/
public static void printItems(int i) {
System.out.println(" here is " + i);
}
/**
* this method calls the deprecated method
*
*/
public static void callsDeprecated() {
printItem(10);
}
}