mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
unchecked warnings: don't check containing class parameters (IDEA-194678)
This commit is contained in:
+18
@@ -0,0 +1,18 @@
|
||||
abstract class Data<D extends Data<D,T>, T> {
|
||||
|
||||
private static <D extends Data<D,?>> double displayValue(D data) {
|
||||
return data.getValue();
|
||||
}
|
||||
|
||||
private final double value;
|
||||
|
||||
protected Data(T complement, double value) {
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
|
||||
public double getValue() {
|
||||
return value;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user