This is an automated email from the ASF dual-hosted git repository.
martijnvisser 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 e031f82528b [hotfix] Modify spelling error in IOUtils.java
e031f82528b is described below
commit e031f82528b7bd3bc32257b0d0fc41560a46877c
Author: lidefu <[email protected]>
AuthorDate: Sun Apr 3 11:31:53 2022 +0800
[hotfix] Modify spelling error in IOUtils.java
---
flink-core/src/main/java/org/apache/flink/util/IOUtils.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/flink-core/src/main/java/org/apache/flink/util/IOUtils.java
b/flink-core/src/main/java/org/apache/flink/util/IOUtils.java
index 4ce4cf03793..67e971de117 100644
--- a/flink-core/src/main/java/org/apache/flink/util/IOUtils.java
+++ b/flink-core/src/main/java/org/apache/flink/util/IOUtils.java
@@ -120,7 +120,7 @@ public final class IOUtils {
while (toRead > 0) {
final int ret = in.read(buf, off, toRead);
if (ret < 0) {
- throw new IOException("Premeture EOF from inputStream");
+ throw new IOException("Premature EOF from inputStream");
}
toRead -= ret;
off += ret;