Skip to content

Revise 1.1 - #3604

Closed
AnakinYen0329 wants to merge 10 commits into
iluwatar:masterfrom
AnakinYen0329:master
Closed

Revise 1.1#3604
AnakinYen0329 wants to merge 10 commits into
iluwatar:masterfrom
AnakinYen0329:master

Conversation

@AnakinYen0329

@AnakinYen0329 AnakinYen0329 commented Sep 10, 2026

Copy link
Copy Markdown
Contributor

What does this PR do?

Expanded zh-TW localization with new pattern READMEs and assets, replacing formal pronouns with casual tone in existing abstracts.

Changes

  • Added new zh-TW Callback README
  • Updated localization assets
  • Replaced formal pronouns with casual tone in existing pattern abstracts
  • Added supporting images and diagrams

Related Issue

Fixes #[issue-number] (if applicable)

Type of Change

  • Bug fix
  • New localization
  • Breaking change

@github-actions

github-actions Bot commented Sep 10, 2026

Copy link
Copy Markdown

Analyzing changes in this PR...

This might take a few minutes, please wait

📥 Commits

Analyzing changes from base (41625d8) to latest commit (3bddf4e):

  • 3bddf4e: fix: refine zh-TW localization wording

Update zh-TW localization wording from formal second-person pronouns to casual wording.

  • a16cba6: Merge origin/master into master

Resolve the presubmit workflow conflict while keeping the pinned ai-reviewer v0.2.5 configuration.

  • eba6b92: fix: stabilize presubmit AI reviewer workflow

Pin presubmit/ai-reviewer to v0.2.5 and remove the incompatible LLM_MODEL setting. Include the prepared Traditional Chinese abstract-document localization.

  • ddc6c19: ci: pin presubmit/ai-reviewer to v0.2.5 to avoid breaking changes from @latest
  • fea0ddb: ci: remove LLM_MODEL from presubmit workflow to avoid ai-reviewer schema validation failures
  • f0de978: translation
  • 52508ab: 修改1.1
  • 0ba0213: Merge branch 'iluwatar:master' into master
  • 91b7826: Add Singleton pattern example
  • e5f82f8: 修改完成
📁 Files being considered (30)

🔄 .github/workflows/presubmit.yml (1 hunk)
🔄 localization/zh-TW/abstract-document/README.md (1 hunk)
🔄 localization/zh-TW/abstract-factory/README.md (1 hunk)
🔄 localization/zh-TW/actor-model/README.md (1 hunk)
➕ localization/zh-TW/acyclic-visitor/README.md (1 hunk)
➕ localization/zh-TW/acyclic-visitor/etc/acyclic-visitor.png (0 hunks)
➕ localization/zh-TW/adapter/README.md (1 hunk)
➕ localization/zh-TW/adapter/etc/adapter.urm.png (0 hunks)
➕ localization/zh-TW/aggregator-microservices/README.md (1 hunk)
➕ localization/zh-TW/aggregator-microservices/etc/aggregator-service.png (0 hunks)
➕ localization/zh-TW/ambassador/README.md (1 hunk)
➕ localization/zh-TW/ambassador/etc/ambassador.urm.png (0 hunks)
➕ localization/zh-TW/api-gateway/README.md (1 hunk)
➕ localization/zh-TW/api-gateway/etc/api-gateway.png (0 hunks)
➕ localization/zh-TW/arrange-act-assert/README.md (1 hunk)
➕ localization/zh-TW/async-method-invocation/README.md (1 hunk)
➕ localization/zh-TW/async-method-invocation/etc/async-method-invocation.png (0 hunks)
➕ localization/zh-TW/balking/README.md (1 hunk)
➕ localization/zh-TW/balking/etc/balking.png (0 hunks)
➕ localization/zh-TW/bridge/README.md (1 hunk)
➕ localization/zh-TW/bridge/etc/bridge.urm.png (0 hunks)
➕ localization/zh-TW/builder/README.md (1 hunk)
➕ localization/zh-TW/builder/etc/builder.urm.png (0 hunks)
➕ localization/zh-TW/business-delegate/README.md (1 hunk)
➕ localization/zh-TW/business-delegate/etc/business-delegate.urm.png (0 hunks)
➕ localization/zh-TW/bytecode/README.md (1 hunk)
➕ localization/zh-TW/bytecode/etc/bytecode.urm.png (0 hunks)
➕ localization/zh-TW/caching/README.md (1 hunk)
➕ localization/zh-TW/caching/etc/caching.png (0 hunks)
➕ localization/zh-TW/callback/README.md (1 hunk)


autogenerated by presubmit.ai

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚨 Pull request needs attention.

Review Summary

Commits Considered (6)
  • fea0ddb: ci: remove LLM_MODEL from presubmit workflow to avoid ai-reviewer schema validation failures
  • f0de978: translation
  • 52508ab: 修改1.1
  • 0ba0213: Merge branch 'iluwatar:master' into master
  • 91b7826: Add Singleton pattern example
  • e5f82f8: 修改完成
Files Processed (30)
  • .github/workflows/presubmit.yml (1 hunk)
  • localization/zh-TW/acyclic-visitor/README.md (1 hunk)
  • localization/zh-TW/acyclic-visitor/etc/acyclic-visitor.png (0 hunks)
  • localization/zh-TW/adapter/README.md (1 hunk)
  • localization/zh-TW/adapter/etc/adapter.urm.png (0 hunks)
  • localization/zh-TW/aggregator-microservices/README.md (1 hunk)
  • localization/zh-TW/aggregator-microservices/etc/aggregator-service.png (0 hunks)
  • localization/zh-TW/ambassador/README.md (1 hunk)
  • localization/zh-TW/ambassador/etc/ambassador.urm.png (0 hunks)
  • localization/zh-TW/api-gateway/README.md (1 hunk)
  • localization/zh-TW/api-gateway/etc/api-gateway.png (0 hunks)
  • localization/zh-TW/arrange-act-assert/README.md (1 hunk)
  • localization/zh-TW/async-method-invocation/README.md (1 hunk)
  • localization/zh-TW/async-method-invocation/etc/async-method-invocation.png (0 hunks)
  • localization/zh-TW/balking/README.md (1 hunk)
  • localization/zh-TW/balking/etc/balking.png (0 hunks)
  • localization/zh-TW/bridge/README.md (1 hunk)
  • localization/zh-TW/bridge/etc/bridge.urm.png (0 hunks)
  • localization/zh-TW/builder/README.md (1 hunk)
  • localization/zh-TW/builder/etc/builder.urm.png (0 hunks)
  • localization/zh-TW/business-delegate/README.md (1 hunk)
  • localization/zh-TW/business-delegate/etc/business-delegate.urm.png (0 hunks)
  • localization/zh-TW/bytecode/README.md (1 hunk)
  • localization/zh-TW/bytecode/etc/bytecode.urm.png (0 hunks)
  • localization/zh-TW/caching/README.md (1 hunk)
  • localization/zh-TW/caching/etc/caching.png (0 hunks)
  • localization/zh-TW/callback/README.md (1 hunk)
  • localization/zh-TW/callback/etc/callback.png (0 hunks)
  • localization/zh-TW/chain/README.md (1 hunk)
  • localization/zh-TW/chain/etc/chain-of-responsibility.urm.png (0 hunks)
Actionable Comments (2)
  • localization/zh-TW/aggregator-microservices/README.md [65-78]

    possible issue: "Java version compatibility for fallback"

  • localization/zh-TW/bytecode/README.md [144-148]

    possible bug: "Potential compile error in Bytecode example (DIVIDE case)"

Skipped Comments (1)
  • .github/workflows/presubmit.yml [29-29]

    maintainability: "Clarify workflow comment and indentation"

Comment on lines +65 to +78
//Fallback to default error inventory
product.setProductInventories(requireNonNullElse(productInventory, -1));

return product;
}
}
```

這是產品資訊微服務的精華實現。 庫存微服務類似,它只返回庫存計數。

```java
@RestController
public class InformationController {
@RequestMapping(value = "/information", method = RequestMethod.GET)

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Using requireNonNullElse is Java 9+. If the project targets Java 8, this will not compile. Consider a Java 8 compatible fallback (e.g., product.setTitle(productTitle != null ? productTitle : "Error: Fetching Product Title Failed")); Also ensure your target runtime supports the code examples in this README.

Comment on lines +144 to +148
case DIVIDE:
a = stack.pop();
b = stack.pop();
stack.push(b / a);
break;

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

case DIVIDE:
a = stack.pop();
b = stack.pop();
stack.push(b / a);
break;

@codecov

codecov Bot commented Sep 10, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 83.81%. Comparing base (41625d8) to head (3bddf4e).

Additional details and impacted files
@@             Coverage Diff              @@
##             master    #3604      +/-   ##
============================================
+ Coverage     83.79%   83.81%   +0.01%     
- Complexity     4277     4278       +1     
============================================
  Files          1121     1121              
  Lines         15144    15144              
  Branches        723      723              
============================================
+ Hits          12690    12693       +3     
+ Misses         2159     2157       -2     
+ Partials        295      294       -1     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Pin presubmit/ai-reviewer to v0.2.5 and remove the incompatible LLM_MODEL setting. Include the prepared Traditional Chinese abstract-document localization.
Resolve the presubmit workflow conflict while keeping the pinned ai-reviewer v0.2.5 configuration.
Update zh-TW localization wording from formal second-person pronouns to casual wording.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant