Changeset 6eb09bd for core/java


Ignore:
Timestamp:
Mar 14, 2018 2:09:41 PM (2 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
948bbae
Parents:
66ee7b5
Message:

i2ptunnel: Check port mapper for webapp presence (ticket #2161)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • core/java/src/net/i2p/util/TranslateReader.java

    r66ee7b5 r6eb09bd  
    1010import java.io.InputStreamReader;
    1111import java.io.PrintStream;
     12import java.io.Reader;
    1213import java.util.Arrays;
    1314import java.util.ArrayList;
     
    6970     */
    7071    public TranslateReader(I2PAppContext ctx, String bundle, InputStream in) throws IOException {
    71         super(new BufferedReader(new InputStreamReader(in, "UTF-8")));
     72        this(ctx, bundle, new BufferedReader(new InputStreamReader(in, "UTF-8")));
     73    }
     74
     75    /**
     76     *  @param bundle may be null for tagging only
     77     *  @since 0.9.34
     78     */
     79    public TranslateReader(I2PAppContext ctx, String bundle, Reader in) throws IOException {
     80        super(in);
    7281        _ctx = ctx;
    7382        _bundle = bundle;
Note: See TracChangeset for help on using the changeset viewer.