From 3d7abab214cbd0bbd64aa2b6a298de71fd402f6a Mon Sep 17 00:00:00 2001 From: Beck Andros Date: Thu, 9 Apr 2020 10:43:06 -0700 Subject: [PATCH] Update PutMetricData.java Edits for description, comment strings. --- .../src/main/java/com/example/cloudwatch/PutMetricData.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/javav2/example_code/cloudwatch/src/main/java/com/example/cloudwatch/PutMetricData.java b/javav2/example_code/cloudwatch/src/main/java/com/example/cloudwatch/PutMetricData.java index 99becef2487..6bf08c3ec19 100644 --- a/javav2/example_code/cloudwatch/src/main/java/com/example/cloudwatch/PutMetricData.java +++ b/javav2/example_code/cloudwatch/src/main/java/com/example/cloudwatch/PutMetricData.java @@ -1,4 +1,4 @@ -//snippet-sourcedescription:[PutMetricData.java demonstrates how to put a sample metric data point for a metric defined for a CloudWatch alarm.] +//snippet-sourcedescription:[PutMetricData.java demonstrates how to put a sample metric data point for a metric defined for an Amazon CloudWatch alarm.] //snippet-keyword:[SDK for Java 2.0] //snippet-keyword:[Code Sample] //snippet-service:[Amazon CloudWatch] @@ -39,7 +39,7 @@ public static void main(String[] args) { final String USAGE = "To run this example, supply a data point:\n" + - "Ex: PutMetricData \n"; + "Example: PutMetricData \n"; if (args.length != 1) { System.out.println(USAGE);