[ 
https://issues.apache.org/jira/browse/OPENNLP-1671?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Martin Wiesner resolved OPENNLP-1671.
-------------------------------------
    Resolution: Fixed

> Convert while loops with duplicated code to do-while loops
> ----------------------------------------------------------
>
>                 Key: OPENNLP-1671
>                 URL: https://issues.apache.org/jira/browse/OPENNLP-1671
>             Project: OpenNLP
>          Issue Type: Improvement
>    Affects Versions: 2.5.1
>            Reporter: Martin Wiesner
>            Assignee: Martin Wiesner
>            Priority: Trivial
>             Fix For: 2.5.2
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> _ADSentenceStream_ (line 162) and _DefaultSDContextGenerator_ (line 241) 
> contain duplicated code with while loops, each, and can be converted to a 
> do-while loop, avoiding that duplication.
> A fix is trivial.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to