Skip to content
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

Merged
merged 1 commit into from
Sep 5, 2018

Conversation

sumlin
Copy link
Contributor

@sumlin sumlin commented Sep 3, 2018

Also add custom Calendar.toString() into StringHelper.

@codecov-io
Copy link

codecov-io commented Sep 3, 2018

Codecov Report

Merging #77 into master will decrease coverage by 2.39%.
The diff coverage is 0.31%.

@@            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

@coveralls
Copy link

coveralls commented Sep 3, 2018

Coverage Status

Coverage decreased (-2.5%) to 47.522% when pulling de35153 on sumlin:feture/logsAndData into 6db3a1c on ChargeTimeEU:master.

@sumlin sumlin changed the title Reimplement toString() by eu.chargetime.ocpp.utilities.MoreObjects.to… [Do not merge it right now] Reimplement toString() by eu.chargetime.ocpp.utilities.MoreObjects.to… Sep 3, 2018
@sumlin sumlin changed the title [Do not merge it right now] Reimplement toString() by eu.chargetime.ocpp.utilities.MoreObjects.to… Reimplement toString() by eu.chargetime.ocpp.utilities.MoreObjects.to StringHelper. Sep 3, 2018
@Override
public String toString() {
// @Override
public String toString2() {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

toString2?

Copy link
Contributor Author

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());
Copy link
Member

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?

Copy link
Contributor Author

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.

@TVolden TVolden merged commit 18dc5e1 into ChargeTimeEU:master Sep 5, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants