Skip to content

Commit 1b82857

Browse files
author
app_modernization
committed
fix: address Copilot review comments
1 parent 31243e2 commit 1b82857

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

src/commands.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ export namespace Commands {
165165
export const BUILD_PROJECT = "java.project.build";
166166

167167
/**
168-
* Commands from Java Upgrade Tool
168+
* Commands from appmod (Java Upgrade Tool)
169169
*/
170170
export const GOTO_AGENT_MODE = "appmod.javaUpgrade.gotoAgentMode";
171171

src/constants.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ export namespace Explorer {
3434
export namespace ExtensionName {
3535
export const JAVA_LANGUAGE_SUPPORT: string = "redhat.java";
3636
export const APP_MODERNIZATION_FOR_JAVA = "vscjava.migrate-java-to-azure";
37-
// Java upgarde extension is merged into app modernization extension
38-
export const APP_MODERNIZATION_UPGRADE_FOR_JAVA = "vscjava.migrate-java-to-azure";
37+
// Java upgrade extension is merged into app modernization extension
38+
export const APP_MODERNIZATION_UPGRADE_FOR_JAVA = APP_MODERNIZATION_FOR_JAVA;
3939
export const APP_MODERNIZATION_EXTENSION_NAME = "GitHub Copilot app modernization";
4040
}
4141

src/upgrade/utility.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ export function buildNotificationMessage(issue: UpgradeIssue, hasExtension: bool
3434
const upgradeWord = hasExtension ? "upgrade" : `install ${ExtensionName.APP_MODERNIZATION_EXTENSION_NAME} extension and upgrade`;
3535

3636
if (packageId === Upgrade.PACKAGE_ID_FOR_JAVA_RUNTIME) {
37-
return `This project is using an older Java runtime (${currentVersion}). Would you like to ${upgradeWord} it to a newer LTS version?`;
37+
return `This project is using an older Java runtime (${currentVersion}). Would you like to ${upgradeWord} it to the latest LTS version?`;
3838
}
3939

4040
switch (reason) {

0 commit comments

Comments
 (0)