[FIX] NPE в LauncherUpdateController

This commit is contained in:
Gravit 2019-05-21 01:33:35 +07:00
parent 3af66f6280
commit 6e02b80b50

View file

@ -37,7 +37,7 @@ public void postDiff(UpdateRequest request, UpdateRequestEvent e, HashedDir.Diff
if(SettingsManager.settings.featureStore)
{
LogHelper.info("Enabled HStore feature. Find");
AtomicReference<NewLauncherSettings.HashedStoreEntry> lastEn = null;
AtomicReference<NewLauncherSettings.HashedStoreEntry> lastEn = new AtomicReference<>(null);
ArrayList<String> removed = new ArrayList<>();
diff.mismatch.walk(File.separator, (path, name, entry) -> {
if(entry.getType() == HashedEntry.Type.DIR) return HashedDir.WalkAction.CONTINUE;