Fix UPnP deprecation

This commit is contained in:
zzz
2009-06-06 18:40:49 +00:00
parent 834bfde45c
commit 1202a303b7

View File

@@ -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) {