From 6e02b80b50c48363340437e40e5332202cc93072 Mon Sep 17 00:00:00 2001 From: Gravit Date: Tue, 21 May 2019 01:33:35 +0700 Subject: [PATCH] =?UTF-8?q?[FIX]=20NPE=20=D0=B2=20LauncherUpdateController?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ru/gravit/launcher/client/LauncherUpdateController.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;