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

OKTA-595542: Avoid possibility of null in switch statement (pre Java 18) #348

Merged
merged 1 commit into from
Sep 21, 2023

Conversation

arvindkrishnakumar-okta
Copy link
Contributor

@arvindkrishnakumar-okta arvindkrishnakumar-okta commented Sep 20, 2023

Summary

#193

null in switch statement is not allowed until Java 18 (https://docs.oracle.com/javase/tutorial/java/nutsandbolts/switch.html).

Actual Behavior

Expected Behavior

Configuration

Version

Sample

Issue(s)

Description

Category

  • Bugfix
  • Enhancement
  • New Feature
  • Configuration Change
  • Versioning Change
  • Unit Test(s)
  • Documentation

@arvindkrishnakumar-okta arvindkrishnakumar-okta changed the title OKTA-595542: Avoid possibility of null in switch - pre Java 18 OKTA-595542: Avoid possibility of null in switch statement (pre Java 18) Sep 20, 2023
@arvindkrishnakumar-okta arvindkrishnakumar-okta merged commit d81ef70 into master Sep 21, 2023
2 checks passed
@arvindkrishnakumar-okta arvindkrishnakumar-okta deleted the ak_okta_595542_fix_npe_switch branch September 21, 2023 15:24
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

2 participants