From b5ae1b6eeefb7cbc73ae4fca51710f440a5a3d45 Mon Sep 17 00:00:00 2001 From: Chris Date: Sat, 16 Dec 2023 15:54:48 -0600 Subject: [PATCH] formatting --- .../org/photonvision/common/configuration/ConfigManager.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/photon-core/src/main/java/org/photonvision/common/configuration/ConfigManager.java b/photon-core/src/main/java/org/photonvision/common/configuration/ConfigManager.java index 4c965abba5..b79e2d5a46 100644 --- a/photon-core/src/main/java/org/photonvision/common/configuration/ConfigManager.java +++ b/photon-core/src/main/java/org/photonvision/common/configuration/ConfigManager.java @@ -99,7 +99,7 @@ private void translateLegacyIfPresent(Path folderPath) { var networkConfigExists = maybeNetworkSettings.exists() && maybeHwConfig.isFile(); var atflConfigExists = maybeATFLSettings.exists() && maybeATFLSettings.isFile(); - var translateNeeded = + var translateNeeded = (legacyCamConfigsExist) || (hwConfigExists) || (networkConfigExists) || @@ -154,7 +154,7 @@ private void translateLegacyIfPresent(Path folderPath) { if(atflConfigExists){ FileUtils.deleteFile(maybeATFLSettings.toPath()); } - + // Save the same config out using SQL loader var sql = new SqlConfigProvider(getRootFolder());