Skip to content

#1296: Fix typos in Java code examples#1314

Open
PALLIEP wants to merge 1 commit into
cqfn:masterfrom
PALLIEP:1296-fix-java-typos
Open

#1296: Fix typos in Java code examples#1314
PALLIEP wants to merge 1 commit into
cqfn:masterfrom
PALLIEP:1296-fix-java-typos

Conversation

@PALLIEP

@PALLIEP PALLIEP commented Jul 21, 2026

Copy link
Copy Markdown

Fixes two typos in the Java examples in PATTERNS.md:

  • replaces puplic with public in P26;
  • replaces white with while in P32.

Closes #1296.

Summary by CodeRabbit

  • Documentation
    • Corrected Java examples for public static methods and nested loops.
    • Fixed syntax and keyword typos to ensure the documented patterns are accurate.

@coderabbitai

coderabbitai Bot commented Jul 21, 2026

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 2b96206e-0212-43d8-a2cc-7e0339f41120

📥 Commits

Reviewing files that changed from the base of the PR and between 0a3146c and b2a1a70.

📒 Files selected for processing (1)
  • PATTERNS.md

📝 Walkthrough

Walkthrough

Two Java example snippets in PATTERNS.md are corrected: puplic becomes public, and white becomes while.

Changes

Java example corrections

Layer / File(s) Summary
Correct Java example syntax
PATTERNS.md
The public static method and nested loop examples use the correct Java keywords.

Estimated code review effort: 1 (Trivial) | ~2 minutes

Possibly related PRs

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately describes the main change: fixing typos in Java code examples.
Linked Issues check ✅ Passed The changes match issue #1296 by correcting the two documented typos in PATTERNS.md.
Out of Scope Changes check ✅ Passed The PR only updates the two Java example typos called out in the issue and adds no unrelated changes.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

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.

Fix typos in Java examples inside PATTERNS.md

1 participant