Revision: 20039
http://sourceforge.net/p/gate/code/20039
Author: markagreenwood
Date: 2017-02-01 06:34:45 +0000 (Wed, 01 Feb 2017)
Log Message:
-----------
fixed more javadoc issues
Modified Paths:
--------------
gate/branches/sawdust2/plugins/TermRaider/src/main/java/gate/termraider/bank/AbstractTermbank.java
gate/branches/sawdust2/plugins/TermRaider/src/main/java/gate/termraider/util/Term.java
gate/branches/sawdust2/plugins/TermRaider/src/main/java/gate/termraider/util/Utilities.java
Modified:
gate/branches/sawdust2/plugins/TermRaider/src/main/java/gate/termraider/bank/AbstractTermbank.java
===================================================================
---
gate/branches/sawdust2/plugins/TermRaider/src/main/java/gate/termraider/bank/AbstractTermbank.java
2017-02-01 06:24:12 UTC (rev 20038)
+++
gate/branches/sawdust2/plugins/TermRaider/src/main/java/gate/termraider/bank/AbstractTermbank.java
2017-02-01 06:34:45 UTC (rev 20039)
@@ -296,7 +296,7 @@
* TODO: This is not right (columns).
* Should be overridden as necessary, for totals etc.
* Must start with a newline.
- * @return
+ * @return the assembled CSV snipper
*/
protected String getCsvSubheader() {
StringBuilder sb = new StringBuilder();
Modified:
gate/branches/sawdust2/plugins/TermRaider/src/main/java/gate/termraider/util/Term.java
===================================================================
---
gate/branches/sawdust2/plugins/TermRaider/src/main/java/gate/termraider/util/Term.java
2017-02-01 06:24:12 UTC (rev 20038)
+++
gate/branches/sawdust2/plugins/TermRaider/src/main/java/gate/termraider/util/Term.java
2017-02-01 06:34:45 UTC (rev 20039)
@@ -94,7 +94,7 @@
* Type and string must match; language code is ignored if either
* is blank, but must match if both are non-blank.
* @param other
- * @return
+ * @return true if the terms match close enough, false otherwise
*/
public boolean closeMatch(Term other) {
if (! this.termString.equals(other.termString)) {
Modified:
gate/branches/sawdust2/plugins/TermRaider/src/main/java/gate/termraider/util/Utilities.java
===================================================================
---
gate/branches/sawdust2/plugins/TermRaider/src/main/java/gate/termraider/util/Utilities.java
2017-02-01 06:24:12 UTC (rev 20038)
+++
gate/branches/sawdust2/plugins/TermRaider/src/main/java/gate/termraider/util/Utilities.java
2017-02-01 06:34:45 UTC (rev 20039)
@@ -39,10 +39,10 @@
/** This is a little dodgy because it forces the new value
* to be Integer; to be used carefully.
- * @param map
- * @param key
- * @param increment
- * @return
+ * @param map the map containing the term counts
+ * @param key the term we want to increment
+ * @param increment the amount to increment
+ * @return the new count for the term
*/
public static int incrementMap(Map<Term, Number> map, Term key, int
increment) {
int count = 0;
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
GATE-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gate-cvs