Skip to content

Commit

Permalink
add TODO
Browse files Browse the repository at this point in the history
Signed-off-by: Sergei Malafeev <sergeymalafeev@gmail.com>
  • Loading branch information
malafeev committed Oct 2, 2018
1 parent 2708ace commit 020ab5d
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ public ReactiveRedisConnection getReactiveConnection() {
return new TracingReactiveRedisConnection((ReactiveRedisConnection) delegate,
withActiveSpanOnly, tracer);
}
// TODO: shouldn't we throw an exception?
return null;
}

Expand All @@ -85,6 +86,7 @@ public ReactiveRedisClusterConnection getReactiveClusterConnection() {
if (delegate instanceof ReactiveRedisConnectionFactory) {
return ((ReactiveRedisConnectionFactory) delegate).getReactiveClusterConnection();
}
// TODO: shouldn't we throw an exception?
return null;
}
}

0 comments on commit 020ab5d

Please sign in to comment.