This is an automated email from the ASF dual-hosted git repository.

reswqa 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 956659fdfe8 [hotfix] [docs] Fix java.util.Collection reference in 
DataStream overview
956659fdfe8 is described below

commit 956659fdfe83e98b99d5e8a1a0b221936d48690c
Author: liejiang <[email protected]>
AuthorDate: Thu Jun 25 23:53:17 2026 +0800

    [hotfix] [docs] Fix java.util.Collection reference in DataStream overview
    
    The fromData(Collection) entry read 'from the Java Java.util.Collection',
    duplicating Java and leaving the type unformatted. Render it as the inline
    code type 'java.util.Collection' in both the English and Chinese docs.
---
 docs/content.zh/docs/dev/datastream/overview.md | 2 +-
 docs/content/docs/dev/datastream/overview.md    | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/docs/content.zh/docs/dev/datastream/overview.md 
b/docs/content.zh/docs/dev/datastream/overview.md
index fbca9cf0b89..b6e641ed975 100644
--- a/docs/content.zh/docs/dev/datastream/overview.md
+++ b/docs/content.zh/docs/dev/datastream/overview.md
@@ -241,7 +241,7 @@ Source 是你的程序从中读取其输入的地方。你可以用 `StreamExecu
 
 基于集合:
 
-- `fromData(Collection)` - 从 Java Java.util.Collection 创建数据流。集合中的所有元素必须属于同一类型。
+- `fromData(Collection)` - 从 Java `java.util.Collection` 
创建数据流。集合中的所有元素必须属于同一类型。
   
 - `fromData(T ...)` - 从给定的对象序列中创建数据流。所有的对象必须属于同一类型。
   
diff --git a/docs/content/docs/dev/datastream/overview.md 
b/docs/content/docs/dev/datastream/overview.md
index 8090804616e..5e32179dbfa 100644
--- a/docs/content/docs/dev/datastream/overview.md
+++ b/docs/content/docs/dev/datastream/overview.md
@@ -291,7 +291,7 @@ Socket-based:
 
 Collection-based:
 
-- `fromData(Collection)` - Creates a data stream from the Java 
Java.util.Collection. All elements
+- `fromData(Collection)` - Creates a data stream from a Java 
`java.util.Collection`. All elements
   in the collection must be of the same type.
 
 - `fromData(T ...)` - Creates a data stream from the given sequence of 
objects. All objects must be

Reply via email to