remove unnecessary SuppressWarnings

This commit is contained in:
gojomo
2010-11-11 06:00:54 +00:00
parent 301b943f03
commit ea797a99f5
@@ -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();