Skip to content

Commit d6e54a4

Browse files
committed
minor fix
1 parent f129169 commit d6e54a4

File tree

1 file changed

+1
-3
lines changed
  • PluginsAndFeatures/azure-toolkit-for-eclipse/com.microsoft.azuretools.webapp/src/com/microsoft/azuretools/webapp/ui

1 file changed

+1
-3
lines changed

PluginsAndFeatures/azure-toolkit-for-eclipse/com.microsoft.azuretools.webapp/src/com/microsoft/azuretools/webapp/ui/WebAppDeployDialog.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,7 @@ private void fillAppServiceDetails() {
347347
String appServiceName = table.getItems()[selectedRow].getText(0);
348348

349349
try {
350-
if (MavenUtils.isMavenProject(project) && MavenUtils.getPackaging(project).equals(WebAppUtils.TYPE_JAR)) {
350+
if (lnkWebConfig != null) {
351351
String scmSuffix = AuthMethodManager.getInstance().getAzureManager().getScmSuffix();
352352
lnkWebConfig.setText(String.format(WEB_CONFIG_LINK_FORMAT, appServiceName + scmSuffix));
353353
}
@@ -519,7 +519,6 @@ protected void okPressed() {
519519
ex.printStackTrace();
520520
LOG.log(new Status(IStatus.ERROR, Activator.PLUGIN_ID, "okPressed@AppServiceCreateDialog", ex));
521521
}
522-
;
523522
super.okPressed();
524523
}
525524

@@ -655,7 +654,6 @@ public void run() {
655654
@Override
656655
public void run() {
657656
ErrorWindow.go(parentShell, ex.getMessage(), errTitle);
658-
;
659657
}
660658
});
661659
}

0 commit comments

Comments
 (0)