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