In this case it would be better to have an interface (eg. GitConstants) and add the constants there. I don't think a ResourceBundle would be of good use in this case.
Em 02/05/2014, às 13:03, Daniel Cunha <firstname.lastname@example.org> escreveu:
The ResourceBundle is a alternative, but I can to create a Class that share this values.
I need to create a two static final String GIT_DICTORY = ".git" per file.
1) I can remove all static final string in my code (Code more clean)
>> On Fri, May 2, 2014 at 12:52 PM, George Gastaldi <email@example.com> wrote:
>> Hi Daniel,
>> Welcome! Thanks again for your contribution.
>> Why do you think a ResourceBundle would be a better choice? I don't see where i18n could be used there.
>> Best Regards,
>>> Em 02/05/2014, às 12:48, Daniel Cunha <firstname.lastname@example.org> escreveu:
>>> Hi guys,
>>> My name is Daniel and I'm newbie here and I hope help the project with something.
>>> I looked code and I see that exists many string references, with git directory: ".git"
>>> Daniel Cunha (soro)
>>> forge-dev mailing list
>> forge-dev mailing list
Daniel Cunha (soro)
forge-dev mailing list
att1.html.zip 1.6 KB