From a2a990bd0c86fd3531addd09e6a8e15bc2cdee6e Mon Sep 17 00:00:00 2001 From: Armin Schrenk Date: Wed, 26 Aug 2020 10:25:12 +0200 Subject: [PATCH] Correct spelling --- .../cryptomator/ui/preferences/AutoStartWinStrategy.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/main/ui/src/main/java/org/cryptomator/ui/preferences/AutoStartWinStrategy.java b/main/ui/src/main/java/org/cryptomator/ui/preferences/AutoStartWinStrategy.java index 3f51af849..438c468bd 100644 --- a/main/ui/src/main/java/org/cryptomator/ui/preferences/AutoStartWinStrategy.java +++ b/main/ui/src/main/java/org/cryptomator/ui/preferences/AutoStartWinStrategy.java @@ -98,7 +98,7 @@ class AutoStartWinStrategy implements AutoStartStrategy { LOG.debug("Added {} to registry key {}.", AUTOSTART_VALUE, HKCU_AUTOSTART_KEY); return CompletableFuture.completedFuture(null); } else { - throw new IOException("Process existed with error code " + proc.exitValue()); + throw new IOException("Process exited with error code " + proc.exitValue()); } } catch (IOException e) { LOG.debug("Registry could not be edited to set auto start.", e); @@ -117,7 +117,7 @@ class AutoStartWinStrategy implements AutoStartStrategy { LOG.debug("Created file {} for auto start.", autoStartFolderEntry); return CompletableFuture.completedFuture(null); } else { - throw new IOException("Process existed with error code " + proc.exitValue()); + throw new IOException("Process exited with error code " + proc.exitValue()); } } catch (IOException e) { LOG.debug("Adding entry to auto start folder failed.", e); @@ -145,7 +145,7 @@ class AutoStartWinStrategy implements AutoStartStrategy { } if (activatedUsingRegistry || activatedUsingFolder) { - throw new TogglingAutoStartFailedException("Disabling auto start failed both using registry and auto start folder."); + throw new TogglingAutoStartFailedException("Disabling auto start failed using registry and/or auto start folder."); } } @@ -160,7 +160,7 @@ class AutoStartWinStrategy implements AutoStartStrategy { LOG.debug("Removed {} from registry key {}.", AUTOSTART_VALUE, HKCU_AUTOSTART_KEY); return CompletableFuture.completedFuture(null); } else { - throw new IOException("Process existed with error code " + proc.exitValue()); + throw new IOException("Process exited with error code " + proc.exitValue()); } } catch (IOException e) { LOG.debug("Registry could not be edited to remove auto start.", e);