From 994e56f3309d020d0f2dededfdd33a4f8ff81a0a Mon Sep 17 00:00:00 2001 From: Nikita Smirnov <46124551+Nikita-Smirnov-Exactpro@users.noreply.github.com> Date: Wed, 12 Jun 2024 17:21:47 +0400 Subject: [PATCH] Apply suggestions from code review Co-authored-by: Oleg Smirnov --- src/main/java/com/exactpro/th2/common/event/Event.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/exactpro/th2/common/event/Event.java b/src/main/java/com/exactpro/th2/common/event/Event.java index 40fb2e1b..4a43fd33 100644 --- a/src/main/java/com/exactpro/th2/common/event/Event.java +++ b/src/main/java/com/exactpro/th2/common/event/Event.java @@ -606,11 +606,11 @@ protected byte[] buildBody() throws IOException { } protected String formatStateException(String fieldName, Object value) { - return fieldName + " in event '" + id + "' already sed with value '" + value + '\''; + return fieldName + " in event '" + id + "' already set with value '" + value + '\''; } protected String formatRawBodyStateException(String fieldName) { - return fieldName + " can't be added to body data of event '" + id + "' because raw body is already sed"; + return fieldName + " can't be added to body data of event '" + id + "' because raw body is already set"; } @NotNull