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

Felix Knecht closed MAILETSTANDARD-8.
-------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.0

Resolved, using 2 data holder beans

> 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
>             Fix For: 1.0
>
>
> 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: server-dev-unsubscr...@james.apache.org
For additional commands, e-mail: server-dev-h...@james.apache.org

Reply via email to