From ba380c0cba04f11dbbc7d657638a7d294952770a Mon Sep 17 00:00:00 2001 From: Dolph Flynn <96876199+DolphFlynn@users.noreply.github.com> Date: Mon, 30 Dec 2024 14:15:10 +0000 Subject: [PATCH] Variable renames. --- .../jwteditor/presenter/EditorPresenter.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/main/java/com/blackberry/jwteditor/presenter/EditorPresenter.java b/src/main/java/com/blackberry/jwteditor/presenter/EditorPresenter.java index 30c9e6f..f908770 100644 --- a/src/main/java/com/blackberry/jwteditor/presenter/EditorPresenter.java +++ b/src/main/java/com/blackberry/jwteditor/presenter/EditorPresenter.java @@ -277,13 +277,13 @@ private void signingDialog(SignDialog.Mode mode) { showDialogAndUpdateJWS(signDialog); } - private void showDialogAndUpdateJWS(OperationDialog signDialog) { - signDialog.display(); + private void showDialogAndUpdateJWS(OperationDialog dialog) { + dialog.display(); - // If a JWS was created by the dialog, replace the contents of the editor - JWS signedJWS = signDialog.getJWT(); - if (signedJWS != null) { - setJWS(signedJWS); + JWS updatedJWS = dialog.getJWT(); + + if (updatedJWS != null) { + setJWS(updatedJWS); } }