samples/hellowithsubclassing/src/org/apidesign/hello/ThreeWaysToUseHello.java
changeset 132 3bc4c54f4bcc
parent 70 cba5d0a9e9f0
child 153 b5cbb797ec0a
     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