src/share/classes/com/sun/xml/internal/bind/v2/runtime/output/UTF8XmlOutput.java

changeset 45
31822b475baa
parent 1
0961a4a21176
child 46
a88ad84027a0
     1.1 --- a/src/share/classes/com/sun/xml/internal/bind/v2/runtime/output/UTF8XmlOutput.java	Mon Mar 09 13:34:04 2009 -0700
     1.2 +++ b/src/share/classes/com/sun/xml/internal/bind/v2/runtime/output/UTF8XmlOutput.java	Mon Apr 20 15:14:39 2009 -0700
     1.3 @@ -1,5 +1,5 @@
     1.4  /*
     1.5 - * Copyright 2006 Sun Microsystems, Inc.  All Rights Reserved.
     1.6 + * Copyright 2005-2006 Sun Microsystems, Inc.  All Rights Reserved.
     1.7   * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     1.8   *
     1.9   * This code is free software; you can redistribute it and/or modify it
    1.10 @@ -22,7 +22,6 @@
    1.11   * CA 95054 USA or visit www.sun.com if you need additional information or
    1.12   * have any questions.
    1.13   */
    1.14 -
    1.15  package com.sun.xml.internal.bind.v2.runtime.output;
    1.16  
    1.17  import java.io.IOException;
    1.18 @@ -377,13 +376,6 @@
    1.19          octetBufferIndex = 0;
    1.20      }
    1.21  
    1.22 -    public void flush() throws IOException {
    1.23 -        flushBuffer();
    1.24 -        out.flush();
    1.25 -    }
    1.26 -
    1.27 -
    1.28 -
    1.29      static byte[] toBytes(String s) {
    1.30          byte[] buf = new byte[s.length()];
    1.31          for( int i=s.length()-1; i>=0; i-- )

mercurial