[
https://issues.jboss.org/browse/FORGE-1783?page=com.atlassian.jira.plugin...
]
George Gastaldi updated FORGE-1783:
-----------------------------------
Status: Closed (was: Pull Request Sent)
Fix Version/s: 2.5.1.Final
Resolution: Done
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
Fix For: 2.5.1.Final
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...
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)