Making the docbook compilable
authorJaroslav Tulach <jtulach@netbeans.org>
Sat, 14 Jun 2008 09:53:08 +0200
changeset 6926ef4b4bbf67
parent 68 a2de5429d581
child 70 cba5d0a9e9f0
Making the docbook compilable
samples/delegatingwriter/src/org/apidesign/delegatingwriter/AltBufferedWriter.java
     1.1 --- a/samples/delegatingwriter/src/org/apidesign/delegatingwriter/AltBufferedWriter.java	Sat Jun 14 09:53:07 2008 +0200
     1.2 +++ b/samples/delegatingwriter/src/org/apidesign/delegatingwriter/AltBufferedWriter.java	Sat Jun 14 09:53:08 2008 +0200
     1.3 @@ -52,14 +52,14 @@
     1.4      public Writer appendDelegateToSuper(CharSequence csq) throws IOException {
     1.5          // non-efficient variant of delegating via converting to String first 
     1.6          // and using one of methods that existed in 1.4
     1.7 -        // BEGIN: writer.throw.client
     1.8 +        // BEGIN: writer.super
     1.9          if (csq == null) {
    1.10              write("null");
    1.11          } else {
    1.12              write(csq.toString());
    1.13          }
    1.14          return this;
    1.15 -        // END: writer.throw.client
    1.16 +        // END: writer.super
    1.17      }
    1.18      
    1.19      public Writer appendDelegateToUnderlaying(CharSequence csq) throws IOException {