notnoop / java-apns

Java Apple Push Notification Service Provider
notnoop.github.com/java-apns
BSD 3-Clause "New" or "Revised" License
1.79k stars 657 forks source link

withNoErrorDetection() does not work #20

Closed marcusb closed 13 years ago

marcusb commented 14 years ago

ApnsServiceBuilder.withNoErrorDetection() seems to set errorDetection to true (the default value) instead of false, so it is always enabled:

public ApnsServiceBuilder withNoErrorDetection() { this.errorDetection = true; return this; }

notnoop commented 14 years ago

Oops! That was pretty dumb of me. Will push a fix soon. Thanks!

notnoop commented 13 years ago

This was fixed and pushed in the latest release.