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

Merge semver to dev #504

Merged
merged 47 commits into from
May 15, 2024
Merged

Merge semver to dev #504

merged 47 commits into from
May 15, 2024

Conversation

chillaq
Copy link
Contributor

@chillaq chillaq commented May 3, 2024

No description provided.

@chillaq chillaq requested a review from a team as a code owner May 3, 2024 19:29
Copy link

hpark-miovision and others added 6 commits May 8, 2024 22:05
RawAuthResponse constructor first checks to ensure provided token is not null and is not empty. Existing implementation used != operator to detect non-empty string, thus failed to handle when provided token is actually empty, i.e. "".

The token comparison logic in RawAuthResponse constructor is now updated to use isEmpty() instead, more specifically, (token != null && !token.isEmpty()) to properly handle "" case.

New test case with sample json has been added for validation; the test prior to the change would fail with java.lang.ArrayIndexOutOfBoundsException.
…h_empty_token

Fix empty token handling in RawAuthResponse constructor
Copy link

@mmelograno mmelograno merged commit 426ea5a into development May 15, 2024
7 checks passed
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

5 participants