Skip to content

Commit eb1205b

Browse files
committed
SocketUtils update
1 parent 4f8371a commit eb1205b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/main/java/com/epam/reportportal/util/test/SocketUtils.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -86,9 +86,9 @@ public List<String> call() throws Exception {
8686
.trim());
8787
if (contentLength > 0) {
8888
char[] body = new char[contentLength];
89-
int actualREad = in.read(body, 0, contentLength);
90-
if (actualREad < contentLength) {
91-
throw new IOException("Expected " + contentLength + " bytes, but only read " + actualREad + " bytes");
89+
int actualRead = in.read(body, 0, contentLength);
90+
if (actualRead < contentLength) {
91+
throw new IOException("Expected " + contentLength + " bytes, but only read " + actualRead + " bytes");
9292
}
9393
builder.append(System.lineSeparator());
9494
builder.append(new String(body));

0 commit comments

Comments
 (0)