-
Notifications
You must be signed in to change notification settings - Fork 180
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
Reimplement toString() by eu.chargetime.ocpp.utilities.MoreObjects.to StringHelper. #77
Conversation
Codecov Report
@@ Coverage Diff @@
## master #77 +/- ##
==========================================
- Coverage 47.6% 45.2% -2.4%
Complexity 822 822
==========================================
Files 180 180
Lines 3525 3712 +187
Branches 355 355
==========================================
Hits 1678 1678
- Misses 1761 1948 +187
Partials 86 86 |
03ddc7b
to
13e8c3f
Compare
@Override | ||
public String toString() { | ||
// @Override | ||
public String toString2() { |
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.
toString2?
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.
Oh, sorry, a few experiments.
@@ -137,7 +137,7 @@ public void setTimestamp_calendarNow_timestampIsSet() { | |||
|
|||
// When | |||
request.setTimestamp(now); | |||
|
|||
System.out.println(request.toString()); |
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.
Why do you have a printline here?
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.
Meh, some debug too... Sorry.
13e8c3f
to
de35153
Compare
Also add custom Calendar.toString() into StringHelper.