Commit 1122a9d
[Win32] Fix swapped arguments in readRegistryDwords null checks
Objects.requireNonNull(T obj, String message) takes the object to check
as the first argument. The two calls in readRegistryDwords had the
arguments reversed, causing the non-null string literals "key" and
"valueName" to be checked instead of the actual key and valueName
variables, making both null guards complete no-ops.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 60e822c commit 1122a9d
1 file changed
Lines changed: 2 additions & 2 deletions
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2139 | 2139 | | |
2140 | 2140 | | |
2141 | 2141 | | |
2142 | | - | |
2143 | | - | |
| 2142 | + | |
| 2143 | + | |
2144 | 2144 | | |
2145 | 2145 | | |
2146 | 2146 | | |
| |||
0 commit comments