Mercurial > hg > Members > nobuyasu > TestNeo4j
changeset 11:b56ff507cdb4 draft
fix TestSaxParser.java
author | one |
---|---|
date | Wed, 22 Aug 2012 16:18:09 +0900 |
parents | e98ca9548c78 |
children | bf7863a55cd6 |
files | src/howtouse/TestSaxParser.java src/howtouse/WikiLinkParser.java |
diffstat | 2 files changed, 1 insertions(+), 12 deletions(-) [+] |
line wrap: on
line diff
--- a/src/howtouse/TestSaxParser.java Wed Aug 22 03:18:41 2012 +0900 +++ b/src/howtouse/TestSaxParser.java Wed Aug 22 16:18:09 2012 +0900 @@ -31,7 +31,7 @@ for (Map.Entry<String,HashSet<String>> entry : hash.entrySet()) { String title = entry.getKey(); - System.out.println("title: "+title); + System.out.println("title: " + title); for (String link : entry.getValue()) { System.out.println("\t"+link); }
--- a/src/howtouse/WikiLinkParser.java Wed Aug 22 03:18:41 2012 +0900 +++ b/src/howtouse/WikiLinkParser.java Wed Aug 22 16:18:09 2012 +0900 @@ -4,17 +4,6 @@ public class WikiLinkParser { - public static void main(String[] args) { - - String text = "asdfadf [[link1]]sadf;lkjadsf[[link2]]\n;lkjsadfkj[[link3|link_err]]"; - WikiLinkParser parser = new WikiLinkParser(); - HashSet<String> hash; - hash = parser.parse(text); - for (String link : hash) { - System.out.println(link); - } - } - private CharReader reader; WikiLinkParser() {