mirror of
https://github.com/internetarchive/heritrix3.git
synced 2026-09-23 14:15:47 +00:00
remove unnecessary SuppressWarnings
This commit is contained in:
@@ -110,7 +110,6 @@ implements Serializable {
|
||||
return true;
|
||||
}
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
public E peek() {
|
||||
synchronized (headIndex) {
|
||||
if(peekItem != null) {
|
||||
@@ -133,7 +132,6 @@ implements Serializable {
|
||||
}
|
||||
}
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
public E poll() {
|
||||
synchronized (headIndex) {
|
||||
E head = peek();
|
||||
|
||||
Reference in New Issue
Block a user