You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by dw...@apache.org on 2019/02/26 15:25:27 UTC
[flink] branch master updated: [hotfix] fix typos in description
This is an automated email from the ASF dual-hosted git repository.
dwysakowicz pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/flink.git
The following commit(s) were added to refs/heads/master by this push:
new c7fb80f [hotfix] fix typos in description
c7fb80f is described below
commit c7fb80fe53722142d9b889e97c8d1c69d4b08dd8
Author: robbinli <ro...@tencent.com>
AuthorDate: Mon Feb 25 21:46:39 2019 +0800
[hotfix] fix typos in description
---
.../main/java/org/apache/flink/api/common/typeutils/TypeComparator.java | 2 +-
flink-core/src/main/java/org/apache/flink/types/NormalizableKey.java | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/flink-core/src/main/java/org/apache/flink/api/common/typeutils/TypeComparator.java b/flink-core/src/main/java/org/apache/flink/api/common/typeutils/TypeComparator.java
index 5c0fa7d..7da681e 100644
--- a/flink-core/src/main/java/org/apache/flink/api/common/typeutils/TypeComparator.java
+++ b/flink-core/src/main/java/org/apache/flink/api/common/typeutils/TypeComparator.java
@@ -219,7 +219,7 @@ public abstract class TypeComparator<T> implements Serializable {
* and writing exactly the given number of bytes. Note that the comparison of the bytes is treating the bytes
* as unsigned bytes: {@code int byteI = bytes[i] & 0xFF;}
* <p>
- * If the meaningful part of the normalized key takes less than the given number of bytes, than it must be padded.
+ * If the meaningful part of the normalized key takes less than the given number of bytes, then it must be padded.
* Padding is typically required for variable length data types, such as strings. The padding uses a special
* character, either {@code 0} or {@code 0xff}, depending on whether shorter values are sorted to the beginning or
* the end.
diff --git a/flink-core/src/main/java/org/apache/flink/types/NormalizableKey.java b/flink-core/src/main/java/org/apache/flink/types/NormalizableKey.java
index b697e18..cb66b96 100644
--- a/flink-core/src/main/java/org/apache/flink/types/NormalizableKey.java
+++ b/flink-core/src/main/java/org/apache/flink/types/NormalizableKey.java
@@ -55,7 +55,7 @@ public interface NormalizableKey<T> extends Comparable<T>, Key<T> {
* an writing exactly the given number of bytes. Note that the comparison of the bytes is treating the bytes
* as unsigned bytes: {@code int byteI = bytes[i] & 0xFF;}
* <p>
- * If the meaningful part of the normalized key takes less than the given number of bytes, than it must be padded.
+ * If the meaningful part of the normalized key takes less than the given number of bytes, then it must be padded.
* Padding is typically required for variable length data types, such as strings. The padding uses a special
* character, either {@code 0} or {@code 0xff}, depending on whether shorter values are sorted to the beginning or
* the end.