suppress warning
This commit is contained in:
parent
8a7d98881e
commit
e732fc7232
@ -17,6 +17,7 @@ public class MyQueue<T> {
|
|||||||
this.adjustInternalArray();
|
this.adjustInternalArray();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@SuppressWarnings("unchecked")
|
||||||
public T get() {
|
public T get() {
|
||||||
T retValue = (T) this.myArray[0];
|
T retValue = (T) this.myArray[0];
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user