Skip to content

Commit

Permalink
checkstlye fix to deprecation notification logic
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicolas Borges committed Jan 24, 2025
1 parent 6dc96ed commit d5ddbaf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ private static void showDeprecatedManifestNotification(final String version) {
Display.getDefault().asyncExec(() -> {
AbstractNotificationPopup notification = new PersistentToolkitNotification(Display.getCurrent(),
Constants.MANIFEST_DEPRECATED_NOTIFICATION_TITLE,
Constants.MANIFEST_DEPRECATED_NOTIFICATION_BODY ,
Constants.MANIFEST_DEPRECATED_NOTIFICATION_BODY,
(selected) -> {
if (selected) {
Activator.getPluginStore().putObject(Constants.MANIFEST_DEPRECATED_NOTIFICATION_KEY, schemaVersion);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ private Constants() {
public static final String IDE_CUSTOMIZATION_NOTIFICATION_BODY_TEMPLATE = "Amazon Q inline suggestions are now coming from the %s";
public static final String MANIFEST_DEPRECATED_NOTIFICATION_KEY = "doNotShowDeprecatedManifest";
public static final String MANIFEST_DEPRECATED_NOTIFICATION_TITLE = "Update Amazon Q Extension";
public static final String MANIFEST_DEPRECATED_NOTIFICATION_BODY = "This version of the plugin will no longer receive updates to Amazon Q Language authoring features";
public static final String MANIFEST_DEPRECATED_NOTIFICATION_BODY = "This version of the plugin"
+ " will no longer receive updates to Amazon Q Language authoring features";
public static final String DEFAULT_Q_FOUNDATION_DISPLAY_NAME = "Amazon Q foundation (Default)";
public static final String LOGIN_TYPE_KEY = "LOGIN_TYPE";
public static final String LOGIN_IDC_PARAMS_KEY = "IDC_PARAMS";
Expand Down

0 comments on commit d5ddbaf

Please sign in to comment.