Explorar el Código

rename unused var

Sebastian Stenzel hace 1 año
padre
commit
6c5ee14c73
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      src/main/java/org/cryptomator/ui/health/StartController.java

+ 2 - 2
src/main/java/org/cryptomator/ui/health/StartController.java

@@ -103,8 +103,8 @@ public class StartController implements FxController {
 
 	private void loadingKeyFailed(Throwable e) {
 		switch (e) {
-			case UnlockCancelledException uce -> {} //ok
-			case VaultKeyInvalidException vkie -> {
+			case UnlockCancelledException _ -> {} //ok
+			case VaultKeyInvalidException _ -> {
 				LOG.error("Invalid key"); //TODO: specific error screen
 				appWindows.showErrorWindow(e, window, null);
 			}