You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by ko...@apache.org on 2012/03/12 15:20:35 UTC

svn commit: r1299679 - in /lucene/dev/branches/branch_3x: ./ lucene/ lucene/core/src/java/org/apache/lucene/util/fst/Util.java solr/ solr/core/

Author: koji
Date: Mon Mar 12 14:20:34 2012
New Revision: 1299679

URL: http://svn.apache.org/viewvc?rev=1299679&view=rev
Log:
fix javadoc: use Writer, Util.toDot() and prettify

Modified:
    lucene/dev/branches/branch_3x/   (props changed)
    lucene/dev/branches/branch_3x/lucene/   (props changed)
    lucene/dev/branches/branch_3x/lucene/core/src/java/org/apache/lucene/util/fst/Util.java
    lucene/dev/branches/branch_3x/solr/   (props changed)
    lucene/dev/branches/branch_3x/solr/core/   (props changed)

Modified: lucene/dev/branches/branch_3x/lucene/core/src/java/org/apache/lucene/util/fst/Util.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/branch_3x/lucene/core/src/java/org/apache/lucene/util/fst/Util.java?rev=1299679&r1=1299678&r2=1299679&view=diff
==============================================================================
--- lucene/dev/branches/branch_3x/lucene/core/src/java/org/apache/lucene/util/fst/Util.java (original)
+++ lucene/dev/branches/branch_3x/lucene/core/src/java/org/apache/lucene/util/fst/Util.java Mon Mar 12 14:20:34 2012
@@ -555,10 +555,10 @@ public final class Util {
    * Dumps an {@link FST} to a GraphViz's <code>dot</code> language description
    * for visualization. Example of use:
    * 
-   * <pre>
-   * PrintStream ps = new PrintStream(&quot;out.dot&quot;);
-   * fst.toDot(ps);
-   * ps.close();
+   * <pre class="prettyprint">
+   * PrintWriter pw = new PrintWriter(&quot;out.dot&quot;);
+   * Util.toDot(fst, pw, true, true);
+   * pw.close();
    * </pre>
    * 
    * and then, from command line: