Skip to content

Commit aa783f9

Browse files
committed
Merge branch 'release'
2 parents df6e37e + 9f97a44 commit aa783f9

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

PluginsAndFeatures/azure-toolkit-for-intellij/src/com/microsoft/intellij/runner/webapp/webappconfig/slimui/WebAppSlimSettingPanel.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -322,6 +322,7 @@ protected void apply(@NotNull WebAppConfiguration configuration) {
322322
private void selectWebApp() {
323323
Object value = cbxWebApp.getSelectedItem();
324324
if (Comparing.equal(CREATE_NEW_WEBAPP, value) && !refreshingWebApp) {
325+
cbxWebApp.setSelectedItem(null);
325326
createNewWebApp();
326327
} else if (value == null || value instanceof String) {
327328
return;

Utils/azuretools-core/src/com/microsoft/azuretools/telemetrywrapper/DefaultOperation.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ public void logEvent(EventType eventType, Map<String, String> properties, Map<St
5959
mutableProps.put(OPERATION_ID, operationId);
6060
mutableProps.put(OPERATION_NAME, operationName);
6161

62-
Map<String, Double> mutableMetrics = properties == null ? new HashMap<>() : new HashMap<>(metrics);
62+
Map<String, Double> mutableMetrics = metrics == null ? new HashMap<>() : new HashMap<>(metrics);
6363
if (eventType == EventType.step) {
6464
mutableMetrics.put(DURATION, Double.valueOf(System.currentTimeMillis() - timeStart));
6565
}
@@ -75,7 +75,7 @@ public synchronized void logError(ErrorType errorType, Throwable e, Map<String,
7575
return;
7676
}
7777
Map<String, String> mutableProps = properties == null ? new HashMap<>() : new HashMap<>(properties);
78-
Map<String, Double> mutableMetrics = properties == null ? new HashMap<>() : new HashMap<>(metrics);
78+
Map<String, Double> mutableMetrics = metrics == null ? new HashMap<>() : new HashMap<>(metrics);
7979

8080
error = new Error();
8181
error.errorType = errorType == null ? ErrorType.systemError : errorType;

0 commit comments

Comments
 (0)