@@ -165,7 +165,7 @@ public PlayStoreDynamicFeatureManager(@NonNull Context context, @Nullable Flutte
165165 splitInstallManager = SplitInstallManagerFactory .create (context );
166166 listener = new FeatureInstallStateUpdatedListener ();
167167 splitInstallManager .registerListener (listener );
168- sessionIdToName = new SparseArray <String >();
168+ sessionIdToName = new SparseArray <>();
169169 sessionIdToLoadingUnitId = new SparseIntArray ();
170170 }
171171
@@ -294,10 +294,10 @@ public void loadDartLibrary(int loadingUnitId, String moduleName) {
294294 // performant and robust.
295295
296296 // Search directly in APKs first
297- List <String > apkPaths = new ArrayList <String >();
297+ List <String > apkPaths = new ArrayList <>();
298298 // If not found in APKs, we check in extracted native libs for the lib directly.
299- List <String > soPaths = new ArrayList <String >();
300- Queue <File > searchFiles = new LinkedList <File >();
299+ List <String > soPaths = new ArrayList <>();
300+ Queue <File > searchFiles = new LinkedList <>();
301301 searchFiles .add (context .getFilesDir ());
302302 while (!searchFiles .isEmpty ()) {
303303 File file = searchFiles .remove ();
@@ -317,7 +317,7 @@ public void loadDartLibrary(int loadingUnitId, String moduleName) {
317317 }
318318 }
319319
320- List <String > searchPaths = new ArrayList ();
320+ List <String > searchPaths = new ArrayList <> ();
321321 for (String path : apkPaths ) {
322322 searchPaths .add (path + "!lib/" + abi + "/" + aotSharedLibraryName );
323323 }
0 commit comments