I'll try to make an even simpler example to focus on the point of my question:
class Generic<T> {
}
class CompilesFine {
public int id(Generic<Integer> request) {
return 0;
}
public byte id(Generic<Double> request) {
return 0;
}
}
class DoesNotCompile {
public int id(Generic<Integer> request) {
return 0;
}
public int id(Generic<Double> request) {
return 0;
}
}
/Viktor