more ant touchups

git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150940 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Erik Hatcher 2004-01-23 17:40:13 +00:00
parent dcd5d64785
commit 8fa85d5cdb
3 changed files with 3 additions and 5 deletions

View File

@ -17,9 +17,8 @@ public interface DocumentHandler {
*
*@param file Description of Parameter
*@return The document value
*@throws DocumentHandlerException
*/
public Document getDocument(File file)
Document getDocument(File file)
throws DocumentHandlerException;
}

View File

@ -23,7 +23,6 @@ import java.io.StringWriter;
* from {@link java.io.File} or {@link java.io.InputStream}.
*
*@author Erik Hatcher
*@created October 27, 2001
*/
public class HtmlDocument {
private Element rawDoc;
@ -142,7 +141,7 @@ public class HtmlDocument {
*@param args Command line arguments
*@exception Exception Description of Exception
*/
private static void main(String args[]) throws Exception {
public static void main(String args[]) throws Exception {
// HtmlDocument doc = new HtmlDocument(new File(args[0]));
// System.out.println("Title = " + doc.getTitle());
// System.out.println("Body = " + doc.getBody());

View File

@ -294,7 +294,7 @@ public class IndexTask extends Task {
if (doc == null) {
totalIgnored++;
} else {
// Add the path of the file as a field named "path". Use a Text field, so
// Add the path of the file as a field named "path". Use a Keyword field, so
// that the index stores the path, and so that the path is searchable
doc.add(Field.Keyword("path", file.getPath()));