Apache Lucene open-source search software
remove "throws IOException" that could never be thrown
Daniel Naberdaf920b59de8
diff --git a/src/demo/org/apache/lucene/demo/html/HTMLParser.java b/src/demo/org/apache/lucene/demo/html/HTMLParser.javaindex 154c6a7db35..6ce1052d751 100644--- a/src/demo/org/apache/lucene/demo/html/HTMLParser.java+++ b/src/demo/org/apache/lucene/demo/html/HTMLParser.java@@ -139,7 +139,7 @@ InterruptedException {afterSpace = false;}- void addMetaTag() throws IOException {+ void addMetaTag() {metaTags.setProperty(currentMetaTag, currentMetaContent);currentMetaTag = null;currentMetaContent = null;diff --git a/src/demo/org/apache/lucene/demo/html/HTMLParser.jj b/src/demo/org/apache/lucene/demo/html/HTMLParser.jjindex b394599f75a..9ddd3e84069 100644--- a/src/demo/org/apache/lucene/demo/html/HTMLParser.jj+++ b/src/demo/org/apache/lucene/demo/html/HTMLParser.jj@@ -203,7 +203,7 @@ InterruptedException {afterSpace = false;}- void addMetaTag() throws IOException {+ void addMetaTag() {metaTags.setProperty(currentMetaTag, currentMetaContent);currentMetaTag = null;currentMetaContent = null;