4 ms·
That's a bug in the tools. IntelliJ doesn't and neither does Sonar Cloud.
by invalidname 4y ago
That's a bug in the tools. IntelliJ doesn't and neither does Sonar Cloud.
- brabel 4y agoIntelliJ complains if you don't check certain values (e.g. `file.delete()`). It's not a bug, it's extremely helpful.
- invalidname 4y agoInteresting. It does do that for file.delete() but not for remove(). That's because it's smart enough to know which values are important. In the case of delete() you would want to check the result. So the warning is good and using an underscore to ignore it would actually be a problem. In the case of remove() we don't really need the result.