You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@opennlp.apache.org by GitBox <gi...@apache.org> on 2023/01/03 14:54:13 UTC

[GitHub] [opennlp] jzonthemtn commented on a diff in pull request #479: OPENNLP-1434 Enhance JavaDoc in opennlp.uima packages

jzonthemtn commented on code in PR #479:
URL: https://github.com/apache/opennlp/pull/479#discussion_r1060661934


##########
opennlp-uima/src/main/java/opennlp/uima/normalizer/NumberUtil.java:
##########
@@ -52,31 +51,36 @@ public static boolean isLanguageSupported(String languageCode) {
   }
 
   /**
-   * Removes trailing and containing space.
+   * Removes a character from given string {@code s}.
+   *
+   * @param s The string to process.
+   * @param remove The {@link Character} to remove from {@code s}.
    */
-  private static String removeChar(String string, char remove) {
+  private static String removeChar(String s, char remove) {

Review Comment:
   Since that's more than a Javadoc change and so we can merge this, I wrote [OPENNLP-1437](https://issues.apache.org/jira/browse/OPENNLP-1437) to change the function.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@opennlp.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org