diff --git a/pom.xml b/pom.xml
index 827d390f1..202b7c16b 100644
--- a/pom.xml
+++ b/pom.xml
@@ -55,6 +55,8 @@
true
+ 1.6
+ 1.8
UTF-8
@@ -281,7 +283,7 @@
true
100
- 1.6
+ ${source.version}
true
@@ -309,8 +311,8 @@
maven-compiler-plugin
3.3
-
- 1.6
+
+ ${source.version}
true
true
@@ -323,10 +325,8 @@
true
-
- 1.8
- true
- true
+
+ ${test.source.version}
diff --git a/src/main/java/org/redisson/reactive/RedissonMapReactive.java b/src/main/java/org/redisson/reactive/RedissonMapReactive.java
index 06625e71f..f33123932 100644
--- a/src/main/java/org/redisson/reactive/RedissonMapReactive.java
+++ b/src/main/java/org/redisson/reactive/RedissonMapReactive.java
@@ -50,12 +50,12 @@ public class RedissonMapReactive extends RedissonExpirableReactive impleme
public RedissonMapReactive(CommandReactiveExecutor commandExecutor, String name) {
super(commandExecutor, name);
- instance = new RedissonMap<>(codec, commandExecutor, name);
+ instance = new RedissonMap(codec, commandExecutor, name);
}
public RedissonMapReactive(Codec codec, CommandReactiveExecutor commandExecutor, String name) {
super(codec, commandExecutor, name);
- instance = new RedissonMap<>(codec, commandExecutor, name);
+ instance = new RedissonMap(codec, commandExecutor, name);
}
@Override