Implement Remaining Peer Protocol Features #15
Annotations
6 warnings
Nullability and data flow problems:
src/main/java/jtorrent/common/domain/util/RateTracker.java#L66
Dereference of `queue.peek()` may produce `NullPointerException`
|
Result of method call ignored:
src/main/java/jtorrent/torrent/presentation/UiTorrent.java#L66
Result of `Observable.subscribe()` is ignored
|
Result of method call ignored:
src/main/java/jtorrent/torrent/domain/handler/TorrentHandler.java#L369
Result of `LinkedBlockingQueue.remove()` is ignored
|
Infinite recursion:
src/main/java/jtorrent/peer/domain/handler/PeerHandler.java#L156
Method `sendCancel()` recurses infinitely, and can only end by throwing an exception
|
Optional.get() is called without isPresent() check:
src/main/java/jtorrent/torrent/domain/handler/TorrentHandler.java#L475
`OptionalInt.getAsInt()` without 'isPresent()' check
|
Unused import:
src/main/java/jtorrent/incoming/domain/InboundConnectionListener.java#L15
Unused import `import jtorrent.common.domain.Constants;`
|