You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@opennlp.apache.org by jk...@apache.org on 2014/03/22 02:59:12 UTC

svn commit: r1580117 - /opennlp/trunk/opennlp-tools/src/main/java/opennlp/tools/entitylinker/LinkedSpan.java

Author: jkosin
Date: Sat Mar 22 01:59:12 2014
New Revision: 1580117

URL: http://svn.apache.org/r1580117
Log:
OPENNLP-669 Removed two @return tags for functions that did not.  Replaced a @params tag with a @return tag.

Modified:
    opennlp/trunk/opennlp-tools/src/main/java/opennlp/tools/entitylinker/LinkedSpan.java

Modified: opennlp/trunk/opennlp-tools/src/main/java/opennlp/tools/entitylinker/LinkedSpan.java
URL: http://svn.apache.org/viewvc/opennlp/trunk/opennlp-tools/src/main/java/opennlp/tools/entitylinker/LinkedSpan.java?rev=1580117&r1=1580116&r2=1580117&view=diff
==============================================================================
--- opennlp/trunk/opennlp-tools/src/main/java/opennlp/tools/entitylinker/LinkedSpan.java (original)
+++ opennlp/trunk/opennlp-tools/src/main/java/opennlp/tools/entitylinker/LinkedSpan.java Sat Mar 22 01:59:12 2014
@@ -61,7 +61,6 @@ public class LinkedSpan<T extends BaseLi
    * Sets the n best linked entries from an external data source. For instance,
    * this will hold gazateer entries for a search into a geonames gazateer
    *
-   * @return
    */
   public void setLinkedEntries(ArrayList<T> linkedEntries) {
     this.linkedEntries = linkedEntries;
@@ -79,7 +78,6 @@ public class LinkedSpan<T extends BaseLi
   /**
    * sets the id or index of the sentence from which this span was extracted
    *
-   * @return
    */
   public void setSentenceid(int sentenceid) {
     this.sentenceid = sentenceid;
@@ -89,7 +87,7 @@ public class LinkedSpan<T extends BaseLi
    * Returns the search term that was used to link this span to an external data
    * source
    *
-   * @param searchTerm
+   * @return searchTerm
    */
   public String getSearchTerm() {
     return searchTerm;