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

Adapt javadoc of CertificateVerifier. #1249

Merged

Conversation

boaks
Copy link
Contributor

@boaks boaks commented Mar 18, 2020

Suppport only "empty array" for issuers.
null is considered to be valid return value.

Signed-off-by: Achim Kraus achim.kraus@bosch.io

@boaks
Copy link
Contributor Author

boaks commented Mar 18, 2020

See issue #1245

@@ -42,7 +42,11 @@
* Return an array of certificate authority certificates which are trusted
* for authenticating peers.
*
* @return the trusted CA certificates (possibly <code>null</code>)
* The javadoc of previous versions (2.1.0 and before) permits to use
* {@code null}. This causes an failure, please adapt to use an empty array.
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
* {@code null}. This causes an failure, please adapt to use an empty array.
* {@code null}. This causes a failure, please adapt to use an empty array.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

:-) thanks!

Suppport only "empty array" for issuers.
null is considered to be valid return value.

Signed-off-by: Achim Kraus <achim.kraus@bosch.io>
@boaks boaks force-pushed the change_javadoc_certificate_verifier branch from c53e72f to b5b5c7e Compare March 18, 2020 13:34
@boaks boaks merged commit 54963e3 into eclipse-californium:master Mar 18, 2020
@boaks boaks deleted the change_javadoc_certificate_verifier branch March 19, 2020 20:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants