samples/delegatingwriterfinal/src-api2.0/api/Writer.java
changeset 68 a2de5429d581
parent 67 b029a28df444
child 132 3bc4c54f4bcc
     1.1 --- a/samples/delegatingwriterfinal/src-api2.0/api/Writer.java	Sat Jun 14 09:53:07 2008 +0200
     1.2 +++ b/samples/delegatingwriterfinal/src-api2.0/api/Writer.java	Sat Jun 14 09:53:07 2008 +0200
     1.3 @@ -1,6 +1,5 @@
     1.4  package api;
     1.5  
     1.6 -import java.io.BufferedWriter;
     1.7  import java.io.IOException;
     1.8  
     1.9  /** Fixing the problem caused by mixing subclassing and delegation in 
    1.10 @@ -8,6 +7,7 @@
    1.11   *
    1.12   * @author Jaroslav Tulach <jaroslav.tulach@apidesign.org>
    1.13   */
    1.14 +// BEGIN: writer.final.2.0
    1.15  public final class Writer implements Appendable {
    1.16      private final Impl impl;
    1.17      private final ImplSeq seq;
    1.18 @@ -130,7 +130,5 @@
    1.19          public void flush() throws IOException;
    1.20          public void write(CharSequence seq) throws IOException;
    1.21      }
    1.22 -    
    1.23 -    
    1.24 -    
    1.25  }
    1.26 +// END: writer.final.2.0
    1.27 \ No newline at end of file