Repository navigation
[release/3.16] 解决导出 Modrinth 整合包因大文件导致的 Out Of Memory - #6876
Conversation
|
@codex review |
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 912705f7a4
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| int len; | ||
| while ((len = stream.read(buf, 0, buf.length)) != -1) { | ||
| /// Calculates the CurseForge fingerprint without retaining the filtered file in memory. | ||
| static long calculateFingerprint(Path file) throws IOException { |
There was a problem hiding this comment.
Declare the repository's non-null default
The enclosing CurseForgeRemoteAddonRepository is not annotated with @NotNullByDefault, so the new calculateFingerprint(Path) API leaves the nullability of file implicit to callers and nullness tooling. Add the required class-level annotation and explicitly mark any genuinely nullable members.
AGENTS.md reference: AGENTS.md:L7-L9
Useful? React with 👍 / 👎.
#6631