-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add git commit to status() method & build #733
Conversation
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## dev-gradle2 #733 +/- ##
=================================================
- Coverage 87.77% 87.75% -0.03%
- Complexity 5332 5333 +1
=================================================
Files 228 229 +1
Lines 17635 17647 +12
Branches 2589 2591 +2
=================================================
+ Hits 15479 15486 +7
- Misses 1698 1701 +3
- Partials 458 460 +2 |
|
||
private static final String COMMIT_FILE_NAME = "gitcommit"; | ||
|
||
static { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
how is static {} different from static
keyword before var or method?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A static block runs when the class is imported for the first time. A static variable or method are class variables / methods
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Make sense now!!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
No description provided.