You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by mi...@apache.org on 2012/08/28 18:16:54 UTC

svn commit: r1378204 - in /lucene/dev/branches/branch_4x: ./ lucene/ lucene/core/ lucene/core/src/java/org/apache/lucene/search/DisjunctionMaxQuery.java

Author: mikemccand
Date: Tue Aug 28 16:16:54 2012
New Revision: 1378204

URL: http://svn.apache.org/viewvc?rev=1378204&view=rev
Log:
use {@code ...}

Modified:
    lucene/dev/branches/branch_4x/   (props changed)
    lucene/dev/branches/branch_4x/lucene/   (props changed)
    lucene/dev/branches/branch_4x/lucene/core/   (props changed)
    lucene/dev/branches/branch_4x/lucene/core/src/java/org/apache/lucene/search/DisjunctionMaxQuery.java

Modified: lucene/dev/branches/branch_4x/lucene/core/src/java/org/apache/lucene/search/DisjunctionMaxQuery.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/branch_4x/lucene/core/src/java/org/apache/lucene/search/DisjunctionMaxQuery.java?rev=1378204&r1=1378203&r2=1378204&view=diff
==============================================================================
--- lucene/dev/branches/branch_4x/lucene/core/src/java/org/apache/lucene/search/DisjunctionMaxQuery.java (original)
+++ lucene/dev/branches/branch_4x/lucene/core/src/java/org/apache/lucene/search/DisjunctionMaxQuery.java Tue Aug 28 16:16:54 2012
@@ -61,7 +61,7 @@ public class DisjunctionMaxQuery extends
 
   /**
    * Creates a new DisjunctionMaxQuery
-   * @param disjuncts a Collection<Query> of all the disjuncts to add
+   * @param disjuncts a {@code Collection<Query>} of all the disjuncts to add
    * @param tieBreakerMultiplier   the weight to give to each matching non-maximum disjunct
    */
   public DisjunctionMaxQuery(Collection<Query> disjuncts, float tieBreakerMultiplier) {
@@ -77,14 +77,14 @@ public class DisjunctionMaxQuery extends
   }
 
   /** Add a collection of disjuncts to this disjunction
-   * via Iterable&lt;Query&gt;
+   * via {@code Iterable<Query>}
    * @param disjuncts a collection of queries to add as disjuncts.
    */
   public void add(Collection<Query> disjuncts) {
     this.disjuncts.addAll(disjuncts);
   }
 
-  /** @return An Iterator&lt;Query&gt; over the disjuncts */
+  /** @return An {@code Iterator<Query>} over the disjuncts */
   public Iterator<Query> iterator() {
     return disjuncts.iterator();
   }