Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OP-1352 Fix one label #2061

Merged
merged 1 commit into from
Oct 4, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 5 additions & 7 deletions src/main/java/org/isf/telemetry/gui/TelemetryEdit.java
Original file line number Diff line number Diff line change
Expand Up @@ -174,8 +174,7 @@ private JButton buildCloseButton() {
}

/**
* We could load checkboxes information from somewhere (properties file or from
* other strange places)
* We could load checkboxes information from somewhere (properties file or from other strange places)
*
* @return
*/
Expand Down Expand Up @@ -208,8 +207,7 @@ private List<CheckBoxWrapper> buildPermissionCheckboxes(ApplicationContext appli
}

/**
* Action for confirmation button: inserts for the first time in the telemetry
* table or updates the existing row
* Action for confirmation button: inserts for the first time in the telemetry table or updates the existing row
*
* @param checkboxes
* @param telemetryManager
Expand All @@ -223,8 +221,8 @@ public void actionPerformed(ActionEvent e) {

if (!agreementCheckbox.isSelected()) {
MessageDialog.info(TelemetryEdit.this,
MessageBundle.formatMessage("angal.telemetry.fmt.confirm.pleaseselecttoproceed",
MessageBundle.getMessage(KEY_TELEMETRY_CHECKBOX)));
"angal.telemetry.fmt.confirm.pleaseselecttoproceed",
MessageBundle.getMessage(KEY_TELEMETRY_CHECKBOX));
return;
}
Map<String, Boolean> consentMap = buildConsentData(checkboxes);
Expand All @@ -244,7 +242,7 @@ public void actionPerformed(ActionEvent e) {
return;
}
} catch (RuntimeException | OHException f) {
LOGGER.error("Something strange happened: {}", f.getMessage());
LOGGER.error("Something strange happened: {}", f.getMessage());
LOGGER.debug(f.getMessage(), f);
}
} else {
Expand Down