Fix typo in Javadoc.

Closes #2417
This commit is contained in:
断桥烟雨
2022-09-30 17:34:12 +08:00
committed by Mark Paluch
parent 8177407808
commit 94f48ff2e0
5 changed files with 6 additions and 6 deletions

View File

@@ -26,7 +26,7 @@ import org.springframework.data.redis.util.ByteUtils;
import org.springframework.lang.Nullable;
/**
* A {@link Record} within the stream backed by a collection of binary {@literal field/value} paris.
* A {@link Record} within the stream backed by a collection of binary {@literal field/value} pairs.
*
* @author Christoph Strobl
* @see 2.2

View File

@@ -22,7 +22,7 @@ import org.springframework.data.redis.serializer.RedisSerializer;
import org.springframework.lang.Nullable;
/**
* A {@link Record} within the stream backed by a collection of binary {@literal field/value} paris.
* A {@link Record} within the stream backed by a collection of binary {@literal field/value} pairs.
*
* @author Christoph Strobl
* @see 2.2

View File

@@ -28,7 +28,7 @@ import org.springframework.lang.Nullable;
import org.springframework.util.Assert;
/**
* A {@link Record} within the stream backed by a collection of {@literal field/value} paris.
* A {@link Record} within the stream backed by a collection of {@literal field/value} pairs.
*
* @param <K> the field type of the backing map.
* @param <V> the value type of the backing map.

View File

@@ -16,7 +16,7 @@
package org.springframework.data.redis.connection.stream;
/**
* A {@link Record} within the stream backed by a collection of {@link String} {@literal field/value} paris.
* A {@link Record} within the stream backed by a collection of {@link String} {@literal field/value} pairs.
*
* @author Christoph Strobl
* @since 2.2

View File

@@ -34,7 +34,7 @@ import org.springframework.data.redis.connection.RedisStringCommands;
class LettuceReactiveClusterStringCommandsIntegrationTests extends LettuceReactiveClusterTestSupport {
@Test // DATAREDIS-525
void mSetNXShouldAddMultipleKeyValueParisWhenMappedToSameSlot() {
void mSetNXShouldAddMultipleKeyValuePairsWhenMappedToSameSlot() {
Map<ByteBuffer, ByteBuffer> map = new LinkedHashMap<>();
map.put(SAME_SLOT_KEY_1_BBUFFER, VALUE_1_BBUFFER);
@@ -47,7 +47,7 @@ class LettuceReactiveClusterStringCommandsIntegrationTests extends LettuceReacti
}
@Test // DATAREDIS-525
void mSetNXShouldNotAddMultipleKeyValueParisWhenAlreadyExitAndMapToSameSlot() {
void mSetNXShouldNotAddMultipleKeyValuePairsWhenAlreadyExitAndMapToSameSlot() {
nativeCommands.set(SAME_SLOT_KEY_2, VALUE_2);