Skip to content

Fix typo: rename rebuilded() to rebuilt()#415

Merged
olamy merged 2 commits into
apache:masterfrom
cowwoc:fix-rebuilded-typo
Dec 15, 2025
Merged

Fix typo: rename rebuilded() to rebuilt()#415
olamy merged 2 commits into
apache:masterfrom
cowwoc:fix-rebuilded-typo

Conversation

@cowwoc
Copy link
Copy Markdown
Contributor

@cowwoc cowwoc commented Dec 1, 2025

Summary

  • Renames CacheResult.rebuilded() method to CacheResult.rebuilt() for correct English grammar

Context

This was flagged during review of PR #395 with the comment "not for this PR, but this method name isn't grammatical".

Comment thread src/main/java/org/apache/maven/buildcache/CacheResult.java Outdated
@cowwoc cowwoc force-pushed the fix-rebuilded-typo branch 2 times, most recently from d1ceaf4 to 1d84c77 Compare December 3, 2025 16:36
Corrects the method name to use proper English grammar.
@cowwoc cowwoc force-pushed the fix-rebuilded-typo branch from 1d84c77 to 057d35b Compare December 3, 2025 16:38
Comment thread src/main/java/org/apache/maven/buildcache/CacheControllerImpl.java Outdated
Comment thread src/main/java/org/apache/maven/buildcache/CacheResult.java Outdated
- Remove static import for rebuilt() method, use qualified CacheResult.rebuilt() instead
- Rename parameter 'orig' to 'original' for clarity in both rebuilt() and rebuilded() methods
@cowwoc cowwoc force-pushed the fix-rebuilded-typo branch from 057d35b to 2a87e76 Compare December 11, 2025 16:41
@cowwoc cowwoc requested a review from elharo December 11, 2025 17:54
Comment thread src/main/java/org/apache/maven/buildcache/CacheResult.java
@olamy olamy merged commit 9c023b3 into apache:master Dec 15, 2025
22 checks passed
@olamy olamy self-assigned this Dec 15, 2025
@github-actions github-actions Bot added this to the 1.2.2 milestone Dec 15, 2025
@cowwoc cowwoc deleted the fix-rebuilded-typo branch December 15, 2025 15:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants