diff --git a/authz/client/pom.xml b/authz/client/pom.xml
index bf3f6b87d0..a07c7b1ee6 100644
--- a/authz/client/pom.xml
+++ b/authz/client/pom.xml
@@ -63,6 +63,14 @@
+
+ org.apache.maven.plugins
+ maven-compiler-plugin
+
+
+ ${maven.compiler.target}
+
+
maven-jar-plugin
@@ -98,4 +106,4 @@
-
\ No newline at end of file
+
diff --git a/authz/client/src/main/java/org/keycloak/authorization/client/util/HttpMethod.java b/authz/client/src/main/java/org/keycloak/authorization/client/util/HttpMethod.java
index be83987750..d132620bac 100644
--- a/authz/client/src/main/java/org/keycloak/authorization/client/util/HttpMethod.java
+++ b/authz/client/src/main/java/org/keycloak/authorization/client/util/HttpMethod.java
@@ -48,7 +48,7 @@ public class HttpMethod {
private HttpMethodResponse response;
public HttpMethod(Configuration configuration, RequestBuilder builder) {
- this(configuration, builder, new HashMap<>(), new HashMap<>());
+ this(configuration, builder, new HashMap(), new HashMap());
}
public HttpMethod(Configuration configuration, RequestBuilder builder, HashMap params, HashMap headers) {
@@ -155,4 +155,4 @@ public class HttpMethod {
}
};
}
-}
\ No newline at end of file
+}
diff --git a/authz/client/src/main/java/org/keycloak/authorization/client/util/HttpMethodResponse.java b/authz/client/src/main/java/org/keycloak/authorization/client/util/HttpMethodResponse.java
index 4155240f7a..fceca19d61 100644
--- a/authz/client/src/main/java/org/keycloak/authorization/client/util/HttpMethodResponse.java
+++ b/authz/client/src/main/java/org/keycloak/authorization/client/util/HttpMethodResponse.java
@@ -41,7 +41,7 @@ public class HttpMethodResponse {
});
}
- public HttpMethodResponse json(Class responseType) {
+ public HttpMethodResponse json(final Class responseType) {
return new HttpMethodResponse(this.method) {
@Override
public R execute() {