You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The KiwiJars#readValuesFromJarManifest(ClassLoader classLoader, Predicate<URL> manifestFilter, String... manifestEntryNames) method reads the manifest for every one of the manifestEntryNames. So, if five names are provided, it reads the manifest five separate times, doing way more work (and I/O) than it should. This method should only read the manifest file once.
The text was updated successfully, but these errors were encountered:
* Refactor readValuesFromJarManifest so it only reads the Manifest once.
* Add Nullable annotation to the Predicate in several methods.
* Change singular variable name 'value' in KiwiJarsTest to plural
'values' in tests of readValuesFromJarManifest, so that it is clearer
that the result contains multiple values.
Closes#1199
* Refactor readValuesFromJarManifest so it only reads the Manifest once.
* Add Nullable annotation to the Predicate in several methods.
* Change singular variable name 'value' in KiwiJarsTest to plural
'values' in tests of readValuesFromJarManifest, so that it is clearer
that the result contains multiple values.
Closes#1199
The
KiwiJars#readValuesFromJarManifest(ClassLoader classLoader, Predicate<URL> manifestFilter, String... manifestEntryNames)
method reads the manifest for every one of themanifestEntryNames
. So, if five names are provided, it reads the manifest five separate times, doing way more work (and I/O) than it should. This method should only read the manifest file once.The text was updated successfully, but these errors were encountered: