Code Review
/
controller.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
Remove superfluous @SuppressWarnings
[controller.git]
/
third-party
/
atomix
/
storage
/
src
/
main
/
java
/
io
/
atomix
/
storage
/
journal
/
FileChannelJournalSegmentReader.java
diff --git
a/third-party/atomix/storage/src/main/java/io/atomix/storage/journal/FileChannelJournalSegmentReader.java
b/third-party/atomix/storage/src/main/java/io/atomix/storage/journal/FileChannelJournalSegmentReader.java
index fe69711df7d4e8ae3f48e35d02c3a36b3b6d7309..eb0ddeebbac240e99de6a73be9de41ec8aa38b0c 100644
(file)
--- a/
third-party/atomix/storage/src/main/java/io/atomix/storage/journal/FileChannelJournalSegmentReader.java
+++ b/
third-party/atomix/storage/src/main/java/io/atomix/storage/journal/FileChannelJournalSegmentReader.java
@@
-141,7
+141,6
@@
class FileChannelJournalSegmentReader<E> implements JournalReader<E> {
/**
* Reads the next entry in the segment.
*/
- @SuppressWarnings("unchecked")
private void readNext() {
// Compute the index of the next entry in the segment.
final long index = getNextIndex();