Browse Source
Reference equality (!= or ==) cannot be used to check for String equality. String objects are not necessarily interned to the same instance. Use .isEmpty() since the function only cares about an empty string and does not need to test a specific string value. Change-Id: If530cb59666a8196d57d2348c893706a517ea541stable-4.0
Shawn Pearce
10 years ago
1 changed files with 1 additions and 1 deletions
Loading…
Reference in new issue