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

Add FirmwareStatusNotification support. #48

Merged

Conversation

sumlin
Copy link
Contributor

@sumlin sumlin commented Apr 16, 2018

No description provided.

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.2%) to 56.909% when pulling 31831f9 on sumlin:feature/AddFirmwareStatusNotification into 9e67a71 on ChargeTimeEU:master.

@codecov-io
Copy link

Codecov Report

Merging #48 into master will decrease coverage by 0.18%.
The diff coverage is 46.34%.

@@             Coverage Diff              @@
##             master      #48      +/-   ##
============================================
- Coverage     54.65%   54.47%   -0.19%     
- Complexity      660      667       +7     
============================================
  Files           155      159       +4     
  Lines          2340     2381      +41     
  Branches        155      158       +3     
============================================
+ Hits           1279     1297      +18     
- Misses         1004     1026      +22     
- Partials         57       58       +1

Copy link
Member

@TVolden TVolden left a comment

Choose a reason for hiding this comment

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

Looks good. Only some minor java docs comments.

/**
* This contains the status.
*
* @return connector.
Copy link
Member

Choose a reason for hiding this comment

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

Should change the docs to match the actual return type.

}

/**
* This contains the status.
Copy link
Member

Choose a reason for hiding this comment

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

I would write: "This contains the progress status of the firmware installation."

  • well actually, I steal these texts from the spec (shh)

}

/**
* Required. This contains the identifier of the status.
Copy link
Member

Choose a reason for hiding this comment

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

I would write: "Required. This contains the progress status of the firmware installation."
(same as the spec)

/**
* Required. This contains the identifier of the status.
*
* @param status FirmwareStatus, value != 0.
Copy link
Member

Choose a reason for hiding this comment

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

Can't really set a enum to 0? Applies to the next line too, I guess.

@TVolden TVolden merged commit 91432d5 into ChargeTimeEU:master Apr 17, 2018
@sumlin sumlin deleted the feature/AddFirmwareStatusNotification branch April 22, 2018 17:46
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