File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
powertools-tracing/src/main/java/software/amazon/lambda/powertools/tracing Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ public final class TracingUtils {
3939 * @param value the value of the annotation
4040 */
4141 public static void putAnnotation (String key , String value ) {
42- if (!isValidateAnnotationKey (key )) {
42+ if (!isValidAnnotationKey (key )) {
4343 LOG .warn ("Ignoring annotation with unsupported characters in key: {}" , key );
4444 return ;
4545 }
@@ -54,7 +54,7 @@ public static void putAnnotation(String key, String value) {
5454 * @param value the value of the annotation
5555 */
5656 public static void putAnnotation (String key , Number value ) {
57- if (!isValidateAnnotationKey (key )) {
57+ if (!isValidAnnotationKey (key )) {
5858 LOG .warn ("Ignoring annotation with unsupported characters in key: {}" , key );
5959 return ;
6060 }
@@ -68,7 +68,7 @@ public static void putAnnotation(String key, Number value) {
6868
6969 Annotation keys that are added that are invalid are ignored by x-ray.
7070 **/
71- private static boolean isValidateAnnotationKey (String key ) {
71+ private static boolean isValidAnnotationKey (String key ) {
7272 return key .matches ("^[a-zA-Z0-9_]+$" );
7373 }
7474
You can’t perform that action at this time.
0 commit comments