]
Daniel Cunha updated FORGE-1783:
--------------------------------
Status: Pull Request Sent (was: Open)
Git Pull Request:
Create an interface (eg. GitConstants) and add the constants there
------------------------------------------------------------------
Key: FORGE-1783
URL:
https://issues.jboss.org/browse/FORGE-1783
Project: Forge
Issue Type: Task
Components: Git
Reporter: Daniel Cunha
Assignee: Daniel Cunha
Priority: Trivial
Create an interface (eg. GitConstants) and add the constants there
I have 2 files: [1][2]
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)
2) I don't need duplicate this string in any files. I use a unique reference and I
can to do a import static, with this: [3]
[
1]https://github.com/danielsoro/core/blob/afaf5e620bbebc3b50dc7e656e3b02c...
[
2]https://github.com/danielsoro/core/blob/afaf5e620bbebc3b50dc7e656e3b02c...
[
3]https://github.com/forge/core/blob/15a264c9392063b1d18ef8ec494a7884b340...