[
https://issues.apache.org/jira/browse/UIMA-3425?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Peter Klügl resolved UIMA-3425.
-------------------------------
Resolution: Fixed
fixed
> Ruta: MultiTreeWordList Constructor
> -----------------------------------
>
> Key: UIMA-3425
> URL: https://issues.apache.org/jira/browse/UIMA-3425
> Project: UIMA
> Issue Type: Bug
> Components: ruta
> Affects Versions: 2.1.0ruta
> Reporter: Martin Toepfer
> Assignee: Peter Klügl
>
> I've had problems using the MultiTreeWordList. I think one constructor misses
> initialization of the root node.
> Possible patch:
> Index: MultiTreeWordList.java
> ===================================================================
> --- MultiTreeWordList.java (revision 1521373)
> +++ MultiTreeWordList.java (working copy)
> @@ -132,6 +132,7 @@
> * path of the file to create a TextWordList from
> */
> public MultiTreeWordList(String[] pathnames) throws IOException {
> + this.root = new MultiTextNode();
> for (String pathname : pathnames) {
> load(new FileSystemResource(pathname));
> }
--
This message was sent by Atlassian JIRA
(v6.1#6144)