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

Benoit Tellier closed JAMES-3878.
---------------------------------
    Fix Version/s: 3.8.0
       Resolution: Fixed

Merged. Thanks for the contribution!

> Remove icu4j dependency and replace required functionality with other 
> dependencies
> ----------------------------------------------------------------------------------
>
>                 Key: JAMES-3878
>                 URL: https://issues.apache.org/jira/browse/JAMES-3878
>             Project: James Server
>          Issue Type: Improvement
>          Components: mailbox
>    Affects Versions: master
>            Reporter: Wojtek
>            Priority: Minor
>             Fix For: 3.8.0
>
>          Time Spent: 50m
>  Remaining Estimate: 0h
>
> (context discussion: 
> [https://gitter.im/apache/james-project?at=63c87300c47d581062986327)]
>  
> Currently James has `icu4j` as dependency but only uses 
> `UnicodeSet.containsAll()` from it. Given that the dependency is 15M and the 
> usage is minimal and could be replaced with functions from other dependencies 
> it would be good to do so.
>  
> Right now it's used in:
>  * `org.apache.james.mailbox.model.MailboxAnnotationKey`
>  * {{org.apache.james.jmap.draft.model.Keyword }}
>  * ({{{}.java){}}}{{{}{}}}
>  * {{org.apache.james.jmap.mail.Keyword}} ({{{}.scala{}}})
>  
> It could be replaced with `re2` from google (https://github.com/google/re2j), 
> which is already present in dependencies and it's only ~100K) and performance 
> wise it should be on pair.



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

---------------------------------------------------------------------
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