Fehler in AutoOverloadingVector beheben

This commit is contained in:
JanUlrich 2015-12-08 16:27:15 +01:00
parent bb165e007d
commit cd569a8374

View File

@ -2,17 +2,13 @@ import java.util.Vector;
class AutoOverloadingVector{ class AutoOverloadingVector{
method2(p){ method2(p){
method(p);
} }
method(Vector<String> p){ method(Vector<String> p){
method2(p.firstElement());
} }
method(Vector<Integer> p){ method(Vector<Integer> p){
method2(p.firstElement());
} }
} }