mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-22 06:20:54 +07:00
19 lines
409 B
Plaintext
19 lines
409 B
Plaintext
class BBB {
|
|
public BBB(String x) {
|
|
}
|
|
|
|
void foo(String s) {}
|
|
}
|
|
|
|
class AAA extends BBB {
|
|
public AAA(String x) {
|
|
String y = x.trim();
|
|
super(y.length() > 0 ? y : "aaaa");
|
|
}
|
|
|
|
@Override
|
|
void foo(String s) {
|
|
String y = s.trim();
|
|
super.foo(y.length() > 0 ? y : "aaaa"); //To change body of overridden methods use File | Settings | File Templates.
|
|
}
|
|
} |