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

Swap equals method call in SelfSignedCertificate #11896

Merged
merged 1 commit into from Dec 7, 2021

Conversation

skyguard1
Copy link
Contributor

Motivation:

Users may set the algorithm in the constructor of SelfSignedCertificate, and need to swap equalsIgnoreCase method to call in SelfSignedCertificate,can avoid throwing NullPointerException

Modification:

Swap equalsIgnoreCase method to call in SelfSignedCertificate

Result:

SelfSignedCertificate will not throw NullPointerException

Signed-off-by: xingrufei <rufeixing@tencent.com>
@normanmaurer normanmaurer merged commit e391d9f into netty:4.1 Dec 7, 2021
@normanmaurer normanmaurer added this to the 4.1.71.Final milestone Dec 7, 2021
@normanmaurer
Copy link
Member

Thanks a lot!

normanmaurer pushed a commit that referenced this pull request Dec 7, 2021
Motivation:

Users may set the algorithm in the constructor of `SelfSignedCertificate`, and need to swap `equalsIgnoreCase` method to call in `SelfSignedCertificate`,can avoid throwing `NullPointerException`

Modification:

Swap `equalsIgnoreCase` method to call in `SelfSignedCertificate`


Result:

`SelfSignedCertificate` will not throw NullPointerException


Signed-off-by: xingrufei <rufeixing@tencent.com>
@skyguard1
Copy link
Contributor Author

@normanmaurer It is my pleasure

laosijikaichele pushed a commit to laosijikaichele/netty that referenced this pull request Dec 16, 2021
Motivation:

Users may set the algorithm in the constructor of `SelfSignedCertificate`, and need to swap `equalsIgnoreCase` method to call in `SelfSignedCertificate`,can avoid throwing `NullPointerException`

Modification:

Swap `equalsIgnoreCase` method to call in `SelfSignedCertificate`


Result:

`SelfSignedCertificate` will not throw NullPointerException


Signed-off-by: xingrufei <rufeixing@tencent.com>
laosijikaichele pushed a commit to laosijikaichele/netty that referenced this pull request Dec 16, 2021
Motivation:

Users may set the algorithm in the constructor of `SelfSignedCertificate`, and need to swap `equalsIgnoreCase` method to call in `SelfSignedCertificate`,can avoid throwing `NullPointerException`

Modification:

Swap `equalsIgnoreCase` method to call in `SelfSignedCertificate`


Result:

`SelfSignedCertificate` will not throw NullPointerException


Signed-off-by: xingrufei <rufeixing@tencent.com>
10brothers pushed a commit to 10brothers/netty that referenced this pull request Jan 20, 2022
Motivation:

Users may set the algorithm in the constructor of `SelfSignedCertificate`, and need to swap `equalsIgnoreCase` method to call in `SelfSignedCertificate`,can avoid throwing `NullPointerException`

Modification:

Swap `equalsIgnoreCase` method to call in `SelfSignedCertificate`


Result:

`SelfSignedCertificate` will not throw NullPointerException


Signed-off-by: xingrufei <rufeixing@tencent.com>
raidyue pushed a commit to raidyue/netty that referenced this pull request Jul 8, 2022
Motivation:

Users may set the algorithm in the constructor of `SelfSignedCertificate`, and need to swap `equalsIgnoreCase` method to call in `SelfSignedCertificate`,can avoid throwing `NullPointerException`

Modification:

Swap `equalsIgnoreCase` method to call in `SelfSignedCertificate`


Result:

`SelfSignedCertificate` will not throw NullPointerException


Signed-off-by: xingrufei <rufeixing@tencent.com>
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.

None yet

3 participants