File tree 2 files changed +5
-6
lines changed
src/main/java/org/springframework/data/redis/connection
2 files changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -285,7 +285,7 @@ public static Set<RedisClusterNode> toSetOfRedisClusterNodes(Collection<String>
285
285
*/
286
286
public static Set <RedisClusterNode > toSetOfRedisClusterNodes (String clusterNodes ) {
287
287
288
- if (StringUtils .isEmpty (clusterNodes )) {
288
+ if (! StringUtils .hasText (clusterNodes )) {
289
289
return Collections .emptySet ();
290
290
}
291
291
Original file line number Diff line number Diff line change 15
15
*/
16
16
package org .springframework .data .redis .connection .jedis ;
17
17
18
+ import redis .clients .jedis .Jedis ;
19
+
18
20
import java .io .IOException ;
19
21
import java .util .Properties ;
20
22
21
23
import org .springframework .core .io .support .PropertiesLoaderUtils ;
22
- import org .springframework .data .redis .Version ;
23
- import org .springframework .data .redis .VersionParser ;
24
+ import org .springframework .data .util .Version ;
24
25
import org .springframework .util .StringUtils ;
25
26
26
- import redis .clients .jedis .Jedis ;
27
-
28
27
/**
29
28
* @author Christoph Strobl
30
29
* @since 1.3
@@ -47,7 +46,7 @@ public static Version jedisVersion() {
47
46
* @return
48
47
*/
49
48
static Version parseVersion (String version ) {
50
- return VersionParser . parseVersion (version );
49
+ return Version . parse (version );
51
50
}
52
51
53
52
/**
You can’t perform that action at this time.
0 commit comments