1.1 --- a/samples/hellowithsubclassing/src/org/apidesign/hello/ThreeWaysToUseHello.java Sat Jun 14 09:53:25 2008 +0200
1.2 +++ b/samples/hellowithsubclassing/src/org/apidesign/hello/ThreeWaysToUseHello.java Sat Jun 14 09:56:12 2008 +0200
1.3 @@ -19,7 +19,10 @@
1.4 // BEGIN: hello.supercall
1.5 private static class SuperHello extends Hello {
1.6 @Override
1.7 - public void hello() { super.hello(); System.out.println("Hello once again"); }
1.8 + public void hello() {
1.9 + super.hello();
1.10 + System.out.println("Hello once again");
1.11 + }
1.12 }
1.13 // END: hello.supercall
1.14