如何投稿
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
我们乐于接受您为此项目做出的补丁和贡献。只需遵循几个小准则即可。
贡献者许可协议
为任何 Google 项目做贡献都必须附带贡献者许可协议。这不是版权转让,只是授权 Google 在项目中使用和再分发您的贡献。
您通常只需要提交一次 CLA,因此,如果您已经提交了一个 CLA(即使是用于其他项目),您可能就不需要再次提交。
提交补丁
通常,最好先打开一个新的问题,描述您打算修复的 bug 或功能。即使您认为这只是小事,了解人们在做什么也很有帮助。在最初的问题中提及您计划处理相应 bug 或功能,以便将其分配给您。
按照正常创建项目分支的流程操作,并设置要使用的新分支。请务必在单独的分支中进行每组更改,以确保拉取请求仅包含与该 bug 或功能相关的提交。
任何重大变更几乎都应该伴随着测试。该项目已有较好的测试覆盖率,因此,如果您不确定如何执行,请查看一些现有的测试。
尽可能为每项更改提供格式正确的提交消息。这可确保整个项目的一致性,并可确保提交消息能被各种 Git 工具设置为正确的格式。
最后,将提交推送到您的分支并提交拉取请求。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2024-07-12。
[[["易于理解","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"]],["最后更新时间 (UTC):2024-07-12。"],[[["Contribute to the project by following the guidelines and signing a Contributor License Agreement (CLA) if you haven't already."],["Before submitting code changes, open an issue to discuss the bug or feature and create a new branch for your work."],["Ensure your contributions include tests, well-formatted commit messages, and are submitted as a pull request."]]],["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"]]