Files
openide/java/java-tests/testData/refactoring/methodDuplicates/GenmethSeveral.java.after
Dmitry Jemerov f9dbab8f6d test++
2009-09-10 20:43:40 +04:00

16 lines
332 B
Plaintext

import java.util.AbstractList;
import java.util.ArrayList;
import java.util.List;
public class Genmeth {
public void context() {
Integer v1 = 0;
AbstractList<String> v2 = new ArrayList<String>(0);
int res = method(v1, v2);
}
public <T, U extends List> int <caret>method(T t, U u) {
return t.hashCode() + u.size();
}
}