From e82eba7a90af3e95cc35645f5d098a8d60badf58 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 10 Feb 2026 14:43:52 +0000 Subject: [PATCH 1/2] Initial plan From 32b630ee082fc0ef3fea65e9bf4d43c07ab024d3 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 10 Feb 2026 14:48:55 +0000 Subject: [PATCH 2/2] Remove System.exit(1) from async samples Co-authored-by: yungshinlintw <14239352+yungshinlintw@users.noreply.github.com> --- .../contentunderstanding/samples/Sample06_GetAnalyzerAsync.java | 1 - .../samples/Sample15_GrantCopyAuthAsync.java | 1 - .../samples/Sample16_CreateAnalyzerWithLabelsAsync.java | 1 - 3 files changed, 3 deletions(-) diff --git a/sdk/contentunderstanding/azure-ai-contentunderstanding/src/samples/java/com/azure/ai/contentunderstanding/samples/Sample06_GetAnalyzerAsync.java b/sdk/contentunderstanding/azure-ai-contentunderstanding/src/samples/java/com/azure/ai/contentunderstanding/samples/Sample06_GetAnalyzerAsync.java index f9b91a744b3f..9a00f5dea225 100644 --- a/sdk/contentunderstanding/azure-ai-contentunderstanding/src/samples/java/com/azure/ai/contentunderstanding/samples/Sample06_GetAnalyzerAsync.java +++ b/sdk/contentunderstanding/azure-ai-contentunderstanding/src/samples/java/com/azure/ai/contentunderstanding/samples/Sample06_GetAnalyzerAsync.java @@ -119,7 +119,6 @@ public static void main(String[] args) { }, error -> { // Error already handled in doOnError - System.exit(1); } ); // END:ContentUnderstandingGetAnalyzerAsync diff --git a/sdk/contentunderstanding/azure-ai-contentunderstanding/src/samples/java/com/azure/ai/contentunderstanding/samples/Sample15_GrantCopyAuthAsync.java b/sdk/contentunderstanding/azure-ai-contentunderstanding/src/samples/java/com/azure/ai/contentunderstanding/samples/Sample15_GrantCopyAuthAsync.java index 8fba29ab55fe..1175edd1c84b 100644 --- a/sdk/contentunderstanding/azure-ai-contentunderstanding/src/samples/java/com/azure/ai/contentunderstanding/samples/Sample15_GrantCopyAuthAsync.java +++ b/sdk/contentunderstanding/azure-ai-contentunderstanding/src/samples/java/com/azure/ai/contentunderstanding/samples/Sample15_GrantCopyAuthAsync.java @@ -214,7 +214,6 @@ public static void main(String[] args) throws InterruptedException { error -> { // Error already handled in doOnError latch.countDown(); - System.exit(1); } ); diff --git a/sdk/contentunderstanding/azure-ai-contentunderstanding/src/samples/java/com/azure/ai/contentunderstanding/samples/Sample16_CreateAnalyzerWithLabelsAsync.java b/sdk/contentunderstanding/azure-ai-contentunderstanding/src/samples/java/com/azure/ai/contentunderstanding/samples/Sample16_CreateAnalyzerWithLabelsAsync.java index d22ebe747f49..9cfe62a5457b 100644 --- a/sdk/contentunderstanding/azure-ai-contentunderstanding/src/samples/java/com/azure/ai/contentunderstanding/samples/Sample16_CreateAnalyzerWithLabelsAsync.java +++ b/sdk/contentunderstanding/azure-ai-contentunderstanding/src/samples/java/com/azure/ai/contentunderstanding/samples/Sample16_CreateAnalyzerWithLabelsAsync.java @@ -269,7 +269,6 @@ public static void main(String[] args) throws InterruptedException { error -> { // Error already handled in doOnError latch.countDown(); - System.exit(1); } );