You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by gr...@apache.org on 2004/02/21 17:54:27 UTC
cvs commit: cocoon-lenya/src/java/org/apache/lenya/lucene/html HtmlDocument.java
gregor 2004/02/21 08:54:27
Modified: src/java/org/apache/lenya/lucene/html HtmlDocument.java
Log:
private main() is never used
Revision Changes Path
1.11 +1 -17 cocoon-lenya/src/java/org/apache/lenya/lucene/html/HtmlDocument.java
Index: HtmlDocument.java
===================================================================
RCS file: /home/cvs/cocoon-lenya/src/java/org/apache/lenya/lucene/html/HtmlDocument.java,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- HtmlDocument.java 2 Feb 2004 02:50:38 -0000 1.10
+++ HtmlDocument.java 21 Feb 2004 16:54:27 -0000 1.11
@@ -200,22 +200,6 @@
//-------------------------------------------------------------
/**
- * Runs <code>HtmlDocument</code> on the files specified on the command line.
- *
- * @param args Command line arguments
- *
- * @exception Exception Description of Exception
- */
- private 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());
- HtmlDocument doc = new HtmlDocument(new FileInputStream(new File(args[0])));
- System.out.println("Title = " + doc.getTitle());
- System.out.println("Body = " + doc.getBody());
- }
-
- /**
* Gets the title attribute of the <code>HtmlDocument</code> object.
*
* @return the title value
---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-cvs-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-cvs-help@cocoon.apache.org