Skip to content

Commit 94f48ff

Browse files
duanqiaoyanyump911de
authored andcommitted
Fix typo in Javadoc.
Closes #2417
1 parent 8177407 commit 94f48ff

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

src/main/java/org/springframework/data/redis/connection/stream/ByteBufferRecord.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
import org.springframework.lang.Nullable;
2727

2828
/**
29-
* A {@link Record} within the stream backed by a collection of binary {@literal field/value} paris.
29+
* A {@link Record} within the stream backed by a collection of binary {@literal field/value} pairs.
3030
*
3131
* @author Christoph Strobl
3232
* @see 2.2

src/main/java/org/springframework/data/redis/connection/stream/ByteRecord.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
import org.springframework.lang.Nullable;
2323

2424
/**
25-
* A {@link Record} within the stream backed by a collection of binary {@literal field/value} paris.
25+
* A {@link Record} within the stream backed by a collection of binary {@literal field/value} pairs.
2626
*
2727
* @author Christoph Strobl
2828
* @see 2.2

src/main/java/org/springframework/data/redis/connection/stream/MapRecord.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
import org.springframework.util.Assert;
2929

3030
/**
31-
* A {@link Record} within the stream backed by a collection of {@literal field/value} paris.
31+
* A {@link Record} within the stream backed by a collection of {@literal field/value} pairs.
3232
*
3333
* @param <K> the field type of the backing map.
3434
* @param <V> the value type of the backing map.

src/main/java/org/springframework/data/redis/connection/stream/StringRecord.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
package org.springframework.data.redis.connection.stream;
1717

1818
/**
19-
* A {@link Record} within the stream backed by a collection of {@link String} {@literal field/value} paris.
19+
* A {@link Record} within the stream backed by a collection of {@link String} {@literal field/value} pairs.
2020
*
2121
* @author Christoph Strobl
2222
* @since 2.2

src/test/java/org/springframework/data/redis/connection/lettuce/LettuceReactiveClusterStringCommandsIntegrationTests.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
class LettuceReactiveClusterStringCommandsIntegrationTests extends LettuceReactiveClusterTestSupport {
3535

3636
@Test // DATAREDIS-525
37-
void mSetNXShouldAddMultipleKeyValueParisWhenMappedToSameSlot() {
37+
void mSetNXShouldAddMultipleKeyValuePairsWhenMappedToSameSlot() {
3838

3939
Map<ByteBuffer, ByteBuffer> map = new LinkedHashMap<>();
4040
map.put(SAME_SLOT_KEY_1_BBUFFER, VALUE_1_BBUFFER);
@@ -47,7 +47,7 @@ void mSetNXShouldAddMultipleKeyValueParisWhenMappedToSameSlot() {
4747
}
4848

4949
@Test // DATAREDIS-525
50-
void mSetNXShouldNotAddMultipleKeyValueParisWhenAlreadyExitAndMapToSameSlot() {
50+
void mSetNXShouldNotAddMultipleKeyValuePairsWhenAlreadyExitAndMapToSameSlot() {
5151

5252
nativeCommands.set(SAME_SLOT_KEY_2, VALUE_2);
5353

0 commit comments

Comments
 (0)