Changeset be004cd for apps/jetty


Ignore:
Timestamp:
Dec 18, 2017 12:45:04 PM (2 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
8b8d32e
Parents:
7164059
Message:

Util: Consolidate two copies of WriterOutputStream? into jetty-i2p.jar

File:
1 moved

Legend:

Unmodified
Added
Removed
  • apps/jetty/java/src/net/i2p/servlet/util/WriterOutputStream.java

    r7164059 rbe004cd  
    1 package net.i2p.router.web.helpers;
     1package net.i2p.servlet.util;
    22
    33import java.io.IOException;
     
    99 * of that "intarnasheeonaleyzayshun" stuff.  So we can treat
    1010 * the jsp's PrintWriter as an OutputStream
     11 *
     12 * @since 0.9.33 consolidated from routerconsole and i2psnark
    1113 */
    1214public class WriterOutputStream extends OutputStream {
    13     private Writer _writer;
     15    private final Writer _writer;
    1416   
    1517    public WriterOutputStream(Writer writer) { _writer = writer; }
     18
    1619    public void write(int b) throws IOException { _writer.write(b); }
    1720}
Note: See TracChangeset for help on using the changeset viewer.