mirror of
https://github.com/eclipse-aspectj/aspectj.git
synced 2024-08-16 02:10:48 +02:00
17 lines
512 B
Java
17 lines
512 B
Java
public class AutoboxingS {
|
|
|
|
public static void method_takes_Short(Short i) { System.err.println("method_takes_Short="+i);}
|
|
public static void method_takes_short(short i) { System.err.println("method_takes_short="+i);}
|
|
|
|
public static void main(String[] argv) {
|
|
Short one = new Short("100");
|
|
short two = 200;
|
|
Short three = new Short("300");
|
|
short four = 400;
|
|
method_takes_Short(one);
|
|
method_takes_Short(two);
|
|
method_takes_short(three);
|
|
method_takes_short(four);
|
|
}
|
|
}
|