Refactor ReplaceContent.java
----------------------------

                 Key: MAILETSTANDARD-8
                 URL: https://issues.apache.org/jira/browse/MAILETSTANDARD-8
             Project: JAMES Standard Mailets
          Issue Type: Task
    Affects Versions: 1.0
         Environment: all
            Reporter: Felix Knecht
            Assignee: Felix Knecht
            Priority: Minor


To get type safety a parameterized list should be return by following methods 
below. Introduce a data holding bean to get rid of the unsafe return list of 
arrays, one must have in mind which field belongs to which index.

protected static List[] getPatternsFromString(String pattern)
protected static List[] getPatternsFromStream(InputStream stream, String 
charset)
private List[] getPatternsFromFileList(String filepar)


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to