mirror of
https://github.com/apache/lucene.git
synced 2025-03-05 07:49:22 +00:00
- Indentation and compiler warning
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150445 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
b6978c9213
commit
a7a55017e3
@ -28,21 +28,21 @@ class ParserThread extends Thread {
|
|||||||
public void run() { // convert pipeOut to pipeIn
|
public void run() { // convert pipeOut to pipeIn
|
||||||
try {
|
try {
|
||||||
try { // parse document to pipeOut
|
try { // parse document to pipeOut
|
||||||
parser.HTMLDocument();
|
parser.HTMLDocument();
|
||||||
} catch (ParseException e) {
|
} catch (ParseException e) {
|
||||||
System.out.println("Parse Aborted: " + e.getMessage());
|
System.out.println("Parse Aborted: " + e.getMessage());
|
||||||
} catch (TokenMgrError e) {
|
} catch (TokenMgrError e) {
|
||||||
System.out.println("Parse Aborted: " + e.getMessage());
|
System.out.println("Parse Aborted: " + e.getMessage());
|
||||||
} finally {
|
} finally {
|
||||||
parser.pipeOut.close();
|
parser.pipeOut.close();
|
||||||
synchronized (parser) {
|
synchronized (parser) {
|
||||||
parser.summary.setLength(parser.SUMMARY_LENGTH);
|
parser.summary.setLength(HTMLParser.SUMMARY_LENGTH);
|
||||||
parser.titleComplete = true;
|
parser.titleComplete = true;
|
||||||
parser.notifyAll();
|
parser.notifyAll();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} catch (IOException e) {
|
} catch (IOException e) {
|
||||||
e.printStackTrace();
|
e.printStackTrace();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user