mirror of
https://github.com/cryptomator/cryptomator.git
synced 2026-05-21 12:11:28 +00:00
handle unexpected recovery action type
This commit is contained in:
@@ -59,9 +59,7 @@ public class RecoveryKeyRecoverController implements FxController {
|
||||
window.setTitle(resourceBundle.getString("recoveryKey.display.title"));
|
||||
yield resetPasswordScene;
|
||||
}
|
||||
default -> {
|
||||
yield null;
|
||||
}
|
||||
default -> throw new IllegalArgumentException("Unexpected recovery action type: " + recoverType.get());
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user