3131import java .io .IOException ;
3232import java .nio .file .Files ;
3333import java .nio .file .Path ;
34+ import java .util .ArrayList ;
3435import java .util .List ;
3536import java .util .concurrent .CompletableFuture ;
3637import java .util .concurrent .atomic .AtomicBoolean ;
@@ -187,7 +188,7 @@ public static CompletableFuture<OOCStream.QueueCallback<IndexedMatrixValue>> req
187188 public static CompletableFuture <List <OOCStream .QueueCallback <IndexedMatrixValue >>> requestManyBlocks (List <BlockKey > keys ) {
188189 return getCache ().request (keys ).thenApply (
189190 l -> {
190- List <OOCStream .QueueCallback <IndexedMatrixValue >> out = new java . util . ArrayList <>(l .size ());
191+ List <OOCStream .QueueCallback <IndexedMatrixValue >> out = new ArrayList <>(l .size ());
191192 for (int i = 0 ; i < l .size (); i ++)
192193 out .add (toCallback (l .get (i ), keys .get (i ), null ));
193194 return out ;
@@ -198,7 +199,7 @@ public static List<OOCStream.QueueCallback<IndexedMatrixValue>> tryRequestManyBl
198199 List <BlockEntry > entries = getCache ().tryRequest (keys );
199200 if (entries == null )
200201 return null ;
201- List <OOCStream .QueueCallback <IndexedMatrixValue >> out = new java . util . ArrayList <>(entries .size ());
202+ List <OOCStream .QueueCallback <IndexedMatrixValue >> out = new ArrayList <>(entries .size ());
202203 for (int i = 0 ; i < entries .size (); i ++)
203204 out .add (toCallback (entries .get (i ), keys .get (i ), null ));
204205 return out ;
@@ -208,7 +209,7 @@ public static CompletableFuture<List<OOCStream.QueueCallback<IndexedMatrixValue>
208209 return getCache ().requestAnyOf (keys , n , sel )
209210 .thenApply (
210211 l -> {
211- List <OOCStream .QueueCallback <IndexedMatrixValue >> out = new java . util . ArrayList <>(l .size ());
212+ List <OOCStream .QueueCallback <IndexedMatrixValue >> out = new ArrayList <>(l .size ());
212213 for (int i = 0 ; i < l .size (); i ++) {
213214 BlockKey key = sel .size () == l .size () ? sel .get (i ) : keys .get (i );
214215 out .add (toCallback (l .get (i ), key , null ));
@@ -218,7 +219,7 @@ public static CompletableFuture<List<OOCStream.QueueCallback<IndexedMatrixValue>
218219 }
219220
220221 private static OOCStream .QueueCallback <IndexedMatrixValue > toCallback (BlockEntry entry , BlockKey key , DMLRuntimeException failure ) {
221- if (entry .getData () instanceof java . util . List <?>) {
222+ if (entry .getData () instanceof List <?>) {
222223 CachedGroupCallback <IndexedMatrixValue > group = new CachedGroupCallback <>(entry , failure );
223224 if (key instanceof GroupedBlockKey gk ) {
224225 OOCStream .QueueCallback <IndexedMatrixValue > sub = group .getCallback (gk .getGroupIndex ());
0 commit comments