remote test

This commit is contained in:
tilman
2017-05-14 15:16:05 +02:00
parent 597b43bb6f
commit 5779a305e2
@@ -104,7 +104,10 @@ public class AHTreeReader {
content = content.substring(content.indexOf("</li>") + 5);
String categoryId = elem.substring(elem.indexOf("catId=\"") + 7, elem.indexOf("\"><a "));
String categoryName = elem.substring(elem.indexOf("<a ") + 29, elem.indexOf("</a>"));
n.children.add(new TreeNode<String, String>(categoryId, categoryName));
TreeNode<String, String> newNode = new TreeNode<String, String>(categoryId, categoryName);
n.children.add(newNode);
getSubcategories(newNode);
// }
}