This works for me. You have to set it on both classes/methods if you want to suppress the warning both places.
@SuppressWarnings("Duplicates")
private void myDuplicatedMethod() {
...
}
This works for me. You have to set it on both classes/methods if you want to suppress the warning both places.
@SuppressWarnings("Duplicates")
private void myDuplicatedMethod() {
...
}