StdioServerTransportProvider uses incorrect Mono.zip operator

未關閉
#303 2 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

評估

難度
2/5
預估耗時
1-3 小時
新手友好度
52/100
Issue 類型
缺陷
描述清晰度
基本清楚
活躍度
冷清
技術堆疊
java
領域
backend

研究方向

從 mcp/src/main/java/io/modelcontextprotocol/server/transport/StdioServerTransportProvider.java:152 開始,檢查周圍的 Mono.zip 用法和 IntelliJ 警告。確認該運算子是否不正確並影響 stdio transport,然後檢查相關的現有 transport 覆蓋情況;當警告或行為得到解決且受影響的路徑得到驗證時,即表示完成。

由索引模型根據 Issue 內容生成。

描述

bug good first issue P3 ready for work

Hello,

I was debugging another issue and looking at the code, and I noticed this line: [#[line]](https://github.com/modelcontextprotocol/java-sdk/blob/2f944349cc77009d020ebddc8b9967b8e1b14baf/mcp/src/main/java/io/modelcontextprotocol/server/transport/StdioServerTransportProvider.java#L152)

When opened in IntelliJ, I noticed this warning being reported:

Image

I am not experienced at all with Mono so I don't know if it's a real problem or not, sharing just in case...

主要語言
Java
星號
3.7k
分支
1.1k
平均合併
1 天 15 小時
30 天內合併 PR
9

貢獻指南

開啟貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

modelcontextprotocol/java-sdk 的其他 Issue

查看 modelcontextprotocol/java-sdk 的全部 Issue

相似的 Issue

更多 Java Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。