samples/delegatingwriterfinal/src-api2.0/api/Writer.java
changeset 132 3bc4c54f4bcc
parent 68 a2de5429d581
child 153 b5cbb797ec0a
     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:56:12 2008 +0200
     1.3 @@ -32,7 +32,8 @@
     1.4              seq.write(new CharSeq(cbuf, 0, cbuf.length));
     1.5          }
     1.6      }
     1.7 -    public final void write(char cbuf[], int off, int len) throws IOException {
     1.8 +    public final void write(char cbuf[], int off, int len) 
     1.9 +    throws IOException {
    1.10          if (impl != null) {
    1.11              impl.write(cbuf, off, len);
    1.12          } else {
    1.13 @@ -46,7 +47,8 @@
    1.14              seq.write(str);
    1.15          }
    1.16      }
    1.17 -    public final void write(String str, int off, int len) throws IOException {
    1.18 +    public final void write(String str, int off, int len) 
    1.19 +    throws IOException {
    1.20          if (impl != null) {
    1.21              impl.write(str, off, len);
    1.22          } else {
    1.23 @@ -81,7 +83,8 @@
    1.24          return this;
    1.25      }
    1.26  
    1.27 -    public final Writer append(CharSequence csq, int start, int end) throws IOException {
    1.28 +    public final Writer append(CharSequence csq, int start, int end) 
    1.29 +    throws IOException {
    1.30          return append(csq.subSequence(start, end));
    1.31      }
    1.32