[ 
https://issues.apache.org/jira/browse/ARCHETYPE-691?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17905742#comment-17905742
 ] 

Yu Yu commented on ARCHETYPE-691:
---------------------------------

Please help with the code review. I have submitted a PR to remove this 
unnecessary API.
 
 

> Refactor FileCharsetDetector
> ----------------------------
>
>                 Key: ARCHETYPE-691
>                 URL: https://issues.apache.org/jira/browse/ARCHETYPE-691
>             Project: Maven Archetype
>          Issue Type: Improvement
>            Reporter: Elliotte Rusty Harold
>            Priority: Minor
>              Labels: good-first-issue, up-for-grabs
>
> This class is weird. It does all the work in the constructor and then uses 
> getter methods. It should probably be a single public static method instead.
> Or better yet remove the public util class entirely and move the logic into 
> the one place it's used as charset detection is not a fundamental feature of 
> archetype creation. Keep the API focused. 



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

Reply via email to