Google uses AI technology to translate content into your preferred language. AI translations can contain errors.
如何提供協助
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
我們願意接受你針對這項專案提供的修補程式和貢獻。你必須遵守幾項小準則。
協作者授權協議
向任何 Google 專案提交的貢獻都必須配合《貢獻者授權協議》。這不是版權「轉讓」,僅授權 Google 在專案中使用及重新分配您的貢獻。
通常只需要提交 CLA 一次,因此如果您已提交一個 CLA (即使該內容適用於其他專案),可能就不需要重複提交。
提交修補程式
一般來說,最好先提出新的問題,說明您要修正的錯誤或功能。即使您認為這項因素相對輕微,瞭解其他人的工作內容也很有幫助。在初始問題中提及您計劃要處理該錯誤或功能,以便指派給您。
按照建立專案分支的一般程序操作,並設定新的分支版本。請務必將每組變更作業在不同的分支版本中進行,以確保提取要求僅包含與該錯誤或功能相關的修訂版本。
任何重大變更應該都會與測試搭配。專案已有良好的測試涵蓋範圍,如果您不確定如何進行,請參考一些現有的測試。
盡量針對每個變更執行格式正確的修訂訊息。這可讓整個專案保持一致,並可確保各種 Git 工具都能正確設定修訂訊息的格式。
最後,將修訂版本推送至分支,並提交提取要求。
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-07-25 (世界標準時間)。
[[["容易理解","easyToUnderstand","thumb-up"],["確實解決了我的問題","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["缺少我需要的資訊","missingTheInformationINeed","thumb-down"],["過於複雜/步驟過多","tooComplicatedTooManySteps","thumb-down"],["過時","outOfDate","thumb-down"],["翻譯問題","translationIssue","thumb-down"],["示例/程式碼問題","samplesCodeIssue","thumb-down"],["其他","otherDown","thumb-down"]],["上次更新時間:2025-07-25 (世界標準時間)。"],[],["Contributors must sign a Contributor License Agreement (CLA), either individual or corporate, granting Google usage rights. To submit a patch, first open an issue describing the bug/feature and claim it. Then, fork the project, work in a new branch, and include tests for significant changes. Use well-formed commit messages. Finally, push commits to the fork and submit a pull request. Separate branches for distinct groups of changes are crucial.\n"]]