diff --git a/pom.xml b/pom.xml
index 00acb96fd..e26d38b62 100644
--- a/pom.xml
+++ b/pom.xml
@@ -67,7 +67,7 @@
3.6.3
- 1.19-R0.1-SNAPSHOT
+ 1.19.2-R0.1-SNAPSHOT
AuthMe
@@ -649,7 +649,7 @@
org.apache.logging.log4j
log4j-core
- 2.5
+ 2.8.1
provided
@@ -657,7 +657,7 @@
com.zaxxer
HikariCP
- 4.0.3
+ 4.0.3
true
@@ -670,7 +670,7 @@
org.slf4j
slf4j-simple
- 1.7.36
+ 1.7.36
true
@@ -684,9 +684,9 @@
- mysql
- mysql-connector-java
- 8.0.30
+ com.mysql
+ mysql-connector-j
+ 8.0.31
true
diff --git a/src/test/java/fr/xephi/authme/output/Log4JFilterTest.java b/src/test/java/fr/xephi/authme/output/Log4JFilterTest.java
index b9977de8e..91228c5fc 100644
--- a/src/test/java/fr/xephi/authme/output/Log4JFilterTest.java
+++ b/src/test/java/fr/xephi/authme/output/Log4JFilterTest.java
@@ -4,8 +4,11 @@ import static org.hamcrest.Matchers.equalTo;
import static org.junit.Assert.assertThat;
import static org.mockito.Mockito.when;
+import org.apache.logging.log4j.Level;
+import org.apache.logging.log4j.Marker;
import org.apache.logging.log4j.core.Filter.Result;
import org.apache.logging.log4j.core.LogEvent;
+import org.apache.logging.log4j.core.Logger;
import org.apache.logging.log4j.message.Message;
import org.junit.Test;
import org.mockito.Mockito;
@@ -134,7 +137,7 @@ public class Log4JFilterTest {
@Test
public void shouldFilterSensitiveObjectMessage() {
// given / when
- Result result = log4JFilter.filter(null, null, null, SENSITIVE_COMMAND, new Exception());
+ Result result = log4JFilter.filter(null, null, null, (Object) SENSITIVE_COMMAND, new Exception());
// then
assertThat(result, equalTo(Result.DENY));
@@ -152,7 +155,7 @@ public class Log4JFilterTest {
@Test
public void shouldNotFilterIrrelevantMessage() {
// given / when
- Result result = log4JFilter.filter(null, null, null, OTHER_COMMAND, new Exception());
+ Result result = log4JFilter.filter(null, null, null, (Object) OTHER_COMMAND, new Exception());
// then
assertThat(result, equalTo(Result.NEUTRAL));
@@ -161,7 +164,7 @@ public class Log4JFilterTest {
@Test
public void shouldNotFilterNonSensitiveCommand() {
// given / when
- Result result = log4JFilter.filter(null, null, null, NORMAL_COMMAND, new Exception());
+ Result result = log4JFilter.filter(null, null, null, (Object) NORMAL_COMMAND, new Exception());
// then
assertThat(result, equalTo(Result.NEUTRAL));
@@ -209,7 +212,7 @@ public class Log4JFilterTest {
@Test
public void shouldNotFilterNullMessage() {
// given / when
- Result result = log4JFilter.filter(null, null, null, null, new Exception());
+ Result result = log4JFilter.filter(null, null, null, (Object) null, new Exception());
// then
assertThat(result, equalTo(Result.NEUTRAL));