File tree Expand file tree Collapse file tree 2 files changed +5
-6
lines changed
src/main/java/org/springframework/data/redis/connection Expand file tree Collapse file tree 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>
285285 */
286286 public static Set <RedisClusterNode > toSetOfRedisClusterNodes (String clusterNodes ) {
287287
288- if (StringUtils .isEmpty (clusterNodes )) {
288+ if (! StringUtils .hasText (clusterNodes )) {
289289 return Collections .emptySet ();
290290 }
291291
Original file line number Diff line number Diff line change 1515 */
1616package org .springframework .data .redis .connection .jedis ;
1717
18+ import redis .clients .jedis .Jedis ;
19+
1820import java .io .IOException ;
1921import java .util .Properties ;
2022
2123import 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 ;
2425import org .springframework .util .StringUtils ;
2526
26- import redis .clients .jedis .Jedis ;
27-
2827/**
2928 * @author Christoph Strobl
3029 * @since 1.3
@@ -47,7 +46,7 @@ public static Version jedisVersion() {
4746 * @return
4847 */
4948 static Version parseVersion (String version ) {
50- return VersionParser . parseVersion (version );
49+ return Version . parse (version );
5150 }
5251
5352 /**
You can’t perform that action at this time.
0 commit comments