Martin Wiesner created OPENNLP-1668:
---------------------------------------

             Summary: Avoid multiple DecimalFormat instances in AbstractModel
                 Key: OPENNLP-1668
                 URL: https://issues.apache.org/jira/browse/OPENNLP-1668
             Project: OpenNLP
          Issue Type: Improvement
          Components: Machine Learning
    Affects Versions: 2.5.1
            Reporter: Martin Wiesner
            Assignee: Martin Wiesner
             Fix For: 2.5.2


In line 122 of AbstractModel the very same DecimalFormat instance is created 
per call of the method getAllOutcomes. This allocates redundant instances and 
pollutes the heap.

Aims:
- Clean this up.



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

Reply via email to