Skip to content

Commit 0b123d2

Browse files
committed
Polishing.
Consistent operations documentation wording.
1 parent 549f815 commit 0b123d2

8 files changed

+9
-21
lines changed

src/main/java/org/springframework/data/redis/core/DefaultReactiveGeoOperations.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,7 @@ private V readValue(ByteBuffer buffer) {
328328

329329
private GeoResult<GeoLocation<V>> readGeoResult(GeoResult<GeoLocation<ByteBuffer>> source) {
330330

331-
return new GeoResult<>(new GeoLocation(readValue(source.getContent().getName()), source.getContent().getPoint()),
331+
return new GeoResult<>(new GeoLocation<>(readValue(source.getContent().getName()), source.getContent().getPoint()),
332332
source.getDistance());
333333
}
334334
}

src/main/java/org/springframework/data/redis/core/ReactiveGeoOperations.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
import org.springframework.data.redis.domain.geo.GeoShape;
3636

3737
/**
38-
* Reactive Redis operations for geo commands.
38+
* Reactive Redis operations for Geo Commands.
3939
*
4040
* @author Mark Paluch
4141
* @author Christoph Strobl

src/main/java/org/springframework/data/redis/core/ReactiveHashOperations.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
import java.util.Map;
2525

2626
/**
27-
* Redis map specific operations working on a hash.
27+
* Reactive Redis operations for Hash Commands.
2828
* <p>
2929
* Streams of methods returning {@code Mono<K>} or {@code Flux<M>} are terminated with
3030
* {@link org.springframework.dao.InvalidDataAccessApiUsageException} when

src/main/java/org/springframework/data/redis/core/ReactiveHyperLogLogOperations.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
import reactor.core.publisher.Mono;
1919

2020
/**
21-
* Redis cardinality specific operations working on a HyperLogLog multiset.
21+
* Reactive Redis operations for working on a HyperLogLog multiset.
2222
*
2323
* @author Mark Paluch
2424
* @since 2.0

src/main/java/org/springframework/data/redis/core/ReactiveListOperations.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
import org.springframework.util.Assert;
3030

3131
/**
32-
* Redis list specific operations.
32+
* Reactive Redis operations for List Commands.
3333
* <p>
3434
* Streams of methods returning {@code Mono<K>} or {@code Flux<M>} are terminated with
3535
* {@link org.springframework.dao.InvalidDataAccessApiUsageException} when

src/main/java/org/springframework/data/redis/core/ReactiveSetOperations.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
import java.util.Map;
2424

2525
/**
26-
* Redis set specific operations.
26+
* Reactive Redis operations for Set Commands.
2727
* <p>
2828
* Streams of methods returning {@code Mono<K>} or {@code Flux<M>} are terminated with
2929
* {@link org.springframework.dao.InvalidDataAccessApiUsageException} when

src/main/java/org/springframework/data/redis/core/ReactiveStreamOperations.java

+2-14
Original file line numberDiff line numberDiff line change
@@ -23,32 +23,20 @@
2323
import java.util.Map;
2424

2525
import org.reactivestreams.Publisher;
26-
2726
import org.springframework.data.domain.Range;
2827
import org.springframework.data.redis.connection.Limit;
2928
import org.springframework.data.redis.connection.RedisStreamCommands.XClaimOptions;
30-
import org.springframework.data.redis.connection.stream.ByteBufferRecord;
31-
import org.springframework.data.redis.connection.stream.Consumer;
32-
import org.springframework.data.redis.connection.stream.MapRecord;
33-
import org.springframework.data.redis.connection.stream.ObjectRecord;
34-
import org.springframework.data.redis.connection.stream.PendingMessage;
35-
import org.springframework.data.redis.connection.stream.PendingMessages;
36-
import org.springframework.data.redis.connection.stream.PendingMessagesSummary;
37-
import org.springframework.data.redis.connection.stream.ReadOffset;
29+
import org.springframework.data.redis.connection.stream.*;
3830
import org.springframework.data.redis.connection.stream.Record;
39-
import org.springframework.data.redis.connection.stream.RecordId;
4031
import org.springframework.data.redis.connection.stream.StreamInfo.XInfoConsumer;
4132
import org.springframework.data.redis.connection.stream.StreamInfo.XInfoGroup;
4233
import org.springframework.data.redis.connection.stream.StreamInfo.XInfoStream;
43-
import org.springframework.data.redis.connection.stream.StreamOffset;
44-
import org.springframework.data.redis.connection.stream.StreamReadOptions;
45-
import org.springframework.data.redis.connection.stream.StreamRecords;
4634
import org.springframework.data.redis.hash.HashMapper;
4735
import org.springframework.lang.Nullable;
4836
import org.springframework.util.Assert;
4937

5038
/**
51-
* Redis stream specific operations.
39+
* Reactive Redis operations for Stream Commands.
5240
*
5341
* @author Mark Paluch
5442
* @author Christoph Strobl

src/main/java/org/springframework/data/redis/core/ReactiveZSetOperations.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
import org.springframework.lang.Nullable;
3434

3535
/**
36-
* Redis ZSet/sorted set specific operations.
36+
* Reactive Redis operations for Sorted (ZSet) Commands.
3737
* <p>
3838
* Streams of methods returning {@code Mono<K>} or {@code Flux<M>} are terminated with
3939
* {@link org.springframework.dao.InvalidDataAccessApiUsageException} when

0 commit comments

Comments
 (0)