jaxws/src/java.xml.ws/share/classes/com/sun/xml/internal/messaging/saaj/packaging/mime/util/LineInputStream.java
changeset 43852 93a527059d8a
parent 28326 2b9860c0d68a
equal deleted inserted replaced
43752:3c68ef249093 43852:93a527059d8a
     1 /*
     1 /*
     2  * Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 1997, 2017, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.  Oracle designates this
     7  * published by the Free Software Foundation.  Oracle designates this
    62      * The line terminator is not returned as part of the returned
    62      * The line terminator is not returned as part of the returned
    63      * String. Returns null if no data is available. <p>
    63      * String. Returns null if no data is available. <p>
    64      *
    64      *
    65      * This class is similar to the deprecated
    65      * This class is similar to the deprecated
    66      * <code>DataInputStream.readLine()</code>
    66      * <code>DataInputStream.readLine()</code>
       
    67      *
       
    68      * @return line.
       
    69      *
       
    70      * @throws IOException if an I/O error occurs.
    67      */
    71      */
    68     public String readLine() throws IOException {
    72     public String readLine() throws IOException {
    69         InputStream in = this.in;
    73         InputStream in = this.in;
    70         char[] buf = lineBuffer;
    74         char[] buf = lineBuffer;
    71 
    75