diff --git a/README.md b/README.md
index 98a782a..dcb818d 100644
--- a/README.md
+++ b/README.md
@@ -21,7 +21,7 @@ This appender uses [BigQueue](https://github.com/bulldog2011/bigqueue) implement
If you use Gradle, add the dependency to your project as follows:
```java
-implementation 'io.logz.sender:logzio-java-sender:1.1.4'
+implementation 'io.logz.sender:logzio-java-sender:1.1.5'
```
### Parameters
diff --git a/logzio-sender/src/test/java/io/logz/sender/LogzioSenderTest.java b/logzio-sender/src/test/java/io/logz/sender/LogzioSenderTest.java
index 585a2b4..acc8252 100644
--- a/logzio-sender/src/test/java/io/logz/sender/LogzioSenderTest.java
+++ b/logzio-sender/src/test/java/io/logz/sender/LogzioSenderTest.java
@@ -12,7 +12,7 @@
import java.io.IOException;
import java.nio.charset.StandardCharsets;
import java.nio.file.Files;
-import java.nio.file.Path;
+import java.nio.file.Paths;
import java.util.UUID;
import java.util.concurrent.Executors;
import java.util.concurrent.ScheduledExecutorService;
@@ -396,7 +396,7 @@ public void checkExceedingMaxSizeJsonLogWithCut() throws LogzioParameterErrorExc
String loggerName = "checkExceedingMaxSizeJsonLogWithCutName";
int drainTimeout = 2;
- String message = Files.readString(Path.of(EXCEEDING_MESSAGE_FILE_PATH));
+ String message = new String(Files.readAllBytes(Paths.get(EXCEEDING_MESSAGE_FILE_PATH)), StandardCharsets.UTF_8);
JsonObject log = createJsonMessage(loggerName, message);
int logSize = log.toString().getBytes(StandardCharsets.UTF_8).length;
@@ -416,7 +416,7 @@ public void checkExceedingMaxSizeBytesLogWithCut() throws LogzioParameterErrorEx
String loggerName = "checkExceedingMaxSizeBytesLogWithCutName";
int drainTimeout = 2;
- String message = Files.readString(Path.of(EXCEEDING_MESSAGE_FILE_PATH));
+ String message = new String(Files.readAllBytes(Paths.get(EXCEEDING_MESSAGE_FILE_PATH)), StandardCharsets.UTF_8);
JsonObject log = createJsonMessage(loggerName, message);
int logSize = log.toString().getBytes(StandardCharsets.UTF_8).length;
@@ -437,7 +437,7 @@ public void checkExceedingMaxSizeJsonLogWithDrop() throws LogzioParameterErrorEx
String loggerName = "checkExceedingMaxSizeJsonLogWithDropName";
int drainTimeout = 2;
- String message = Files.readString(Path.of(EXCEEDING_MESSAGE_FILE_PATH));
+ String message = new String(Files.readAllBytes(Paths.get(EXCEEDING_MESSAGE_FILE_PATH)), StandardCharsets.UTF_8);
JsonObject log = createJsonMessage(loggerName, message);
int logSize = log.toString().getBytes(StandardCharsets.UTF_8).length;
@@ -456,7 +456,7 @@ public void checkExceedingMaxSizeBytesLogWithDrop() throws LogzioParameterErrorE
String loggerName = "checkExceedingMaxSizeBytesLogWithDropName";
int drainTimeout = 2;
- String message = Files.readString(Path.of(EXCEEDING_MESSAGE_FILE_PATH));
+ String message = new String(Files.readAllBytes(Paths.get(EXCEEDING_MESSAGE_FILE_PATH)), StandardCharsets.UTF_8);
JsonObject log = createJsonMessage(loggerName, message);
int logSize = log.toString().getBytes(StandardCharsets.UTF_8).length;
diff --git a/pom.xml b/pom.xml
index 293417f..5af7efb 100644
--- a/pom.xml
+++ b/pom.xml
@@ -54,7 +54,7 @@
org.apache.maven.plugins
maven-javadoc-plugin
- 2.10.4
+ 3.2.0
attach-javadocs
@@ -75,9 +75,6 @@
sign
-
- marina@logz.io
-
@@ -125,7 +122,7 @@
org.eclipse.jetty
jetty-server
- 10.0.10
+ 9.4.48.v20220622
org.slf4j