diff --git a/Launcher/src/main/java/ru/gravit/launcher/client/LauncherUpdateController.java b/Launcher/src/main/java/ru/gravit/launcher/client/LauncherUpdateController.java index b6cf06b6..51d93b2f 100644 --- a/Launcher/src/main/java/ru/gravit/launcher/client/LauncherUpdateController.java +++ b/Launcher/src/main/java/ru/gravit/launcher/client/LauncherUpdateController.java @@ -37,7 +37,7 @@ public void postDiff(UpdateRequest request, UpdateRequestEvent e, HashedDir.Diff if(SettingsManager.settings.featureStore) { LogHelper.info("Enabled HStore feature. Find"); - AtomicReference lastEn = null; + AtomicReference lastEn = new AtomicReference<>(null); ArrayList removed = new ArrayList<>(); diff.mismatch.walk(File.separator, (path, name, entry) -> { if(entry.getType() == HashedEntry.Type.DIR) return HashedDir.WalkAction.CONTINUE;