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 51d93b2f..d6e62405 100644 --- a/Launcher/src/main/java/ru/gravit/launcher/client/LauncherUpdateController.java +++ b/Launcher/src/main/java/ru/gravit/launcher/client/LauncherUpdateController.java @@ -92,7 +92,7 @@ public void postDiff(UpdateRequest request, UpdateRequestEvent e, HashedDir.Diff } public Path tryFind(NewLauncherSettings.HashedStoreEntry en, HashedFile file) throws IOException { - AtomicReference ret = null; + AtomicReference ret = new AtomicReference<>(null); en.hdir.walk(File.separator, (path, name, entry) -> { if(entry.getType() == HashedEntry.Type.DIR) return HashedDir.WalkAction.CONTINUE; HashedFile tfile = (HashedFile) entry;