Commit cd32b5c
Remove redundant checks in assertValidName, mark param @nullable
- Mark assertValidName parameter as @nullable since callers may pass null
- Keep null check in assertValidName (required for @nullable contract)
- Remove redundant empty check that was duplicated in isValidName
- Use String.valueOf() for null-safe error message formatting
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>1 parent 14a31e4 commit cd32b5c
1 file changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
231 | 231 | | |
232 | 232 | | |
233 | 233 | | |
234 | | - | |
235 | | - | |
| 234 | + | |
| 235 | + | |
236 | 236 | | |
237 | 237 | | |
238 | | - | |
| 238 | + | |
239 | 239 | | |
240 | 240 | | |
241 | 241 | | |
| |||
0 commit comments