[ 
https://issues.apache.org/jira/browse/OPENNLP-1149?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16214982#comment-16214982
 ] 

ASF GitHub Bot commented on OPENNLP-1149:
-----------------------------------------

jzonthemtn commented on a change in pull request #280: OPENNLP-1149: remove 
unused member in PlainTextByLineStream and chang…
URL: https://github.com/apache/opennlp/pull/280#discussion_r146237397
 
 

 ##########
 File path: 
opennlp-tools/src/main/java/opennlp/tools/util/PlainTextByLineStream.java
 ##########
 @@ -59,19 +55,12 @@ public void reset() throws IOException {
     if (inputStreamFactory != null) {
 
 Review comment:
   Is this `if` needed since there is no `else` for it?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


> remove unused member in PlainTextByLineStream
> ---------------------------------------------
>
>                 Key: OPENNLP-1149
>                 URL: https://issues.apache.org/jira/browse/OPENNLP-1149
>             Project: OpenNLP
>          Issue Type: Improvement
>    Affects Versions: 1.8.2
>            Reporter: Koji Sekiguchi
>            Priority: Trivial
>             Fix For: 1.8.3
>
>
> PlainTextByLineStream has a private member variable "channel" but it is never 
> set and hence, it is always null. It can be removed to simplify code.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to