Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Oleg Smirnov <[email protected]>
  • Loading branch information
Nikita-Smirnov-Exactpro and OptimumCode authored Jun 12, 2024
1 parent d3a79c2 commit 994e56f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/com/exactpro/th2/common/event/Event.java
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 994e56f

Please sign in to comment.