Skip to content

Fixed possible NPE#249

Open
JasonHHouse wants to merge 1 commit into
kdn251:masterfrom
JasonHHouse:#156-NPE-bugs-in-MaximumProductOfWordLengths.java-and-RemoveDuplicatesFromSortedArray.java
Open

Fixed possible NPE#249
JasonHHouse wants to merge 1 commit into
kdn251:masterfrom
JasonHHouse:#156-NPE-bugs-in-MaximumProductOfWordLengths.java-and-RemoveDuplicatesFromSortedArray.java

Conversation

@JasonHHouse

Copy link
Copy Markdown

Swapped null check to first step in if statement. If null is true, won't NPE anymore.

Swapped null check to first step in if statement. If null is true, won't NPE anymore.
@Hoopeu

Hoopeu commented Jul 7, 2025 via email

Copy link
Copy Markdown

@Jiruiyang

Jiruiyang commented Jul 7, 2025 via email

Copy link
Copy Markdown

@lingbaoer

lingbaoer commented Jul 7, 2025 via email

Copy link
Copy Markdown

@JR00010

JR00010 commented Jul 7, 2025 via email

Copy link
Copy Markdown

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.

5 participants