Implement Remaining Peer Protocol Features #31
4 new problems found by Qodana Community for JVM
Qodana Community for JVM
4 new problems were found
Inspection name | Severity | Problems |
---|---|---|
Result of method call ignored |
🔶 Warning | 2 |
Nullability and data flow problems |
🔶 Warning | 1 |
Optional.get() is called without isPresent() check |
🔶 Warning | 1 |
💡 Qodana analysis was run in the pull request mode: only the changed files were checked
☁️ View the detailed Qodana report
Contact Qodana team
Contact us at qodana-support@jetbrains.com
- Or via our issue tracker: https://jb.gg/qodana-issue
- Or share your feedback: https://jb.gg/qodana-discussions
Details
This result was published with Qodana GitHub Action
Annotations
Check warning on line 66 in src/main/java/jtorrent/common/domain/util/RateTracker.java
github-actions / Qodana Community for JVM
Nullability and data flow problems
Dereference of `queue.peek()` may produce `NullPointerException`
Check warning on line 414 in src/main/java/jtorrent/torrent/domain/handler/TorrentHandler.java
github-actions / Qodana Community for JVM
Result of method call ignored
Result of `LinkedBlockingQueue.remove()` is ignored
Check warning on line 66 in src/main/java/jtorrent/torrent/presentation/UiTorrent.java
github-actions / Qodana Community for JVM
Result of method call ignored
Result of `Observable.subscribe()` is ignored
Check warning on line 520 in src/main/java/jtorrent/torrent/domain/handler/TorrentHandler.java
github-actions / Qodana Community for JVM
Optional.get() is called without isPresent() check
`OptionalInt.getAsInt()` without 'isPresent()' check