Commit d51a52f3 authored by Daniel Le Berre's avatar Daniel Le Berre

Creating Serializable arrays instead of Object arrays.

parent ccaa2013
Pipeline #3362 passed with stages
in 43 minutes and 24 seconds
......@@ -155,7 +155,7 @@ public final class ReadOnlyVec<T extends Serializable> implements IVec<T> {
public T[] toArray() {
T[] array = (T[]) new Object[this.vec.size()];
T[] array = (T[]) new Serializable[this.vec.size()];
return array;
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment