Skip to content

Conversation

@daniellevass
Copy link
Contributor

Description of the pull request

Refactored the PusherOption encrypted to forceTLS. Have annotated with @deprecated the previous methods to let existing people know.
...

Why is the change necessary?

The other libraries updated to forceTLS to reduce confusion between private encrypted channels.
...


CC @pusher/mobile

@daniellevass daniellevass self-assigned this Apr 21, 2020
@daniellevass daniellevass requested a review from mdpye April 21, 2020 15:09
*/
public PusherOptions setEncrypted(final boolean encrypted) {
this.encrypted = encrypted;
public PusherOptions setForceTLS(boolean forceTLS) {
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
public PusherOptions setForceTLS(boolean forceTLS) {
public PusherOptions setForceTLS(final boolean forceTLS) {

Just for consistency 🤷

@pusher pusher deleted a comment from codecov-io Apr 22, 2020
@daniellevass daniellevass changed the title Dev encrypted use tls 2.2.0 Pusher Options encrypted to forceTLS Apr 22, 2020
@codecov-io
Copy link

codecov-io commented Apr 22, 2020

Codecov Report

Merging #255 into master will increase coverage by 0.02%.
The diff coverage is 63.63%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master     #255      +/-   ##
============================================
+ Coverage     75.90%   75.93%   +0.02%     
- Complexity      277      279       +2     
============================================
  Files            33       33              
  Lines          2415     2418       +3     
  Branches        112      112              
============================================
+ Hits           1833     1836       +3     
  Misses          527      527              
  Partials         55       55              
Impacted Files Coverage Δ Complexity Δ
...ain/java/com/pusher/client/example/ExampleApp.java 0.00% <0.00%> (ø) 0.00 <0.00> (ø)
...sher/client/example/PresenceChannelExampleApp.java 0.00% <0.00%> (ø) 0.00 <0.00> (ø)
...usher/client/example/PrivateChannelExampleApp.java 0.00% <0.00%> (ø) 0.00 <0.00> (ø)
...ent/example/PrivateEncryptedChannelExampleApp.java 0.00% <0.00%> (ø) 0.00 <0.00> (ø)
src/main/java/com/pusher/client/PusherOptions.java 69.56% <100.00%> (+1.38%) 22.00 <7.00> (+2.00)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 77b97fc...cdccd66. Read the comment docs.

@daniellevass daniellevass merged commit c85f492 into master Apr 22, 2020
@daniellevass daniellevass deleted the dev-encrypted-use-tls branch April 22, 2020 10:39
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