[MAGNOLIA-3786] Simplify UnicodeNormalizer initialization Created: 03/Aug/11 Updated: 23/Jun/15 Resolved: 18/Jul/12 |
|
| Status: | Closed |
| Project: | Magnolia |
| Component/s: | core |
| Affects Version/s: | 4.5 |
| Fix Version/s: | 4.5.4, 5.0 |
| Type: | Improvement | Priority: | Neutral |
| Reporter: | Daniel Lipp | Assignee: | Robert Šiška |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||
| Template: |
|
||||||||||||||||
| Acceptance criteria: |
Empty
|
||||||||||||||||
| Task DoD: |
[ ]*
Doc/release notes changes? Comment present?
[ ]*
Downstream builds green?
[ ]*
Solution information and context easily available?
[ ]*
Tests
[ ]*
FixVersion filled and not yet released
[ ] 
Architecture Decision Record (ADR)
|
||||||||||||||||
| Date of First Response: | |||||||||||||||||
| Description |
|
As long as we weren't sure whether people run on Java 6 or smaller we had to check for "java.text.Normalizer" being on the classpath or not (in case of AutoDetectNormalizer or Java6ReflectionNormalizer being specified) and hence use reflection. As Java 6 (or higher) it is now mandatory so this mechanism can be simplified. |
| Comments |
| Comment by Daniel Lipp [ 08/Nov/11 ] |
|
Make sure to consider SystemProperty#MAGNOLIA_UTF8_ENABLED property when refactoring. |
| Comment by Jan Haderka [ 26/Jun/12 ] |
|
Shouldn't ICU be removed as part of this as well? Or is there anything else that depends on that library? |