forked from I2P_Developers/i2p.i2p
Fix UPnP deprecation
This commit is contained in:
@@ -104,7 +104,7 @@ public abstract class Parser
|
|||||||
public Node parse(String descr) throws ParserException
|
public Node parse(String descr) throws ParserException
|
||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
StringBufferInputStream decrIn = new StringBufferInputStream(descr);
|
InputStream decrIn = new ByteArrayInputStream(descr.getBytes());
|
||||||
Node root = parse(decrIn);
|
Node root = parse(decrIn);
|
||||||
return root;
|
return root;
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
|
Reference in New Issue
Block a user