You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "cowwoc (via GitHub)" <gi...@apache.org> on 2025/12/01 19:20:47 UTC
[PR] Fix typo: rename rebuilded() to rebuilt() [maven-build-cache-extension]
cowwoc opened a new pull request, #415:
URL: https://github.com/apache/maven-build-cache-extension/pull/415
## 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".
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Fix typo: rename rebuilded() to rebuilt() [maven-build-cache-extension]
Posted by "cowwoc (via GitHub)" <gi...@apache.org>.
cowwoc commented on code in PR #415:
URL: https://github.com/apache/maven-build-cache-extension/pull/415#discussion_r2585844938
##########
src/main/java/org/apache/maven/buildcache/CacheResult.java:
##########
@@ -70,7 +70,7 @@ public static CacheResult failure(CacheContext context) {
return new CacheResult(RestoreStatus.FAILURE, null, context);
}
- public static CacheResult rebuilded(CacheResult orig, Build build) {
+ public static CacheResult rebuilt(CacheResult orig, Build build) {
Review Comment:
Fixed. Try now.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Fix typo: rename rebuilded() to rebuilt() [maven-build-cache-extension]
Posted by "cowwoc (via GitHub)" <gi...@apache.org>.
cowwoc commented on code in PR #415:
URL: https://github.com/apache/maven-build-cache-extension/pull/415#discussion_r2611538258
##########
src/main/java/org/apache/maven/buildcache/CacheControllerImpl.java:
##########
@@ -102,7 +102,7 @@
import static org.apache.maven.buildcache.CacheResult.empty;
import static org.apache.maven.buildcache.CacheResult.failure;
import static org.apache.maven.buildcache.CacheResult.partialSuccess;
-import static org.apache.maven.buildcache.CacheResult.rebuilded;
+import static org.apache.maven.buildcache.CacheResult.rebuilt;
Review Comment:
Fixed
##########
src/main/java/org/apache/maven/buildcache/CacheResult.java:
##########
@@ -70,12 +70,20 @@ public static CacheResult failure(CacheContext context) {
return new CacheResult(RestoreStatus.FAILURE, null, context);
}
- public static CacheResult rebuilded(CacheResult orig, Build build) {
+ public static CacheResult rebuilt(CacheResult orig, Build build) {
Review Comment:
Fixed
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Fix typo: rename rebuilded() to rebuilt() [maven-build-cache-extension]
Posted by "olamy (via GitHub)" <gi...@apache.org>.
olamy merged PR #415:
URL: https://github.com/apache/maven-build-cache-extension/pull/415
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Fix typo: rename rebuilded() to rebuilt() [maven-build-cache-extension]
Posted by "olamy (via GitHub)" <gi...@apache.org>.
olamy commented on code in PR #415:
URL: https://github.com/apache/maven-build-cache-extension/pull/415#discussion_r2617576897
##########
src/main/java/org/apache/maven/buildcache/CacheResult.java:
##########
@@ -70,10 +70,18 @@ public static CacheResult failure(CacheContext context) {
return new CacheResult(RestoreStatus.FAILURE, null, context);
}
- public static CacheResult rebuilded(CacheResult orig, Build build) {
Review Comment:
it's public API so better to add the new method and keep the old one as deprecated.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Fix typo: rename rebuilded() to rebuilt() [maven-build-cache-extension]
Posted by "olamy (via GitHub)" <gi...@apache.org>.
olamy commented on code in PR #415:
URL: https://github.com/apache/maven-build-cache-extension/pull/415#discussion_r2618720532
##########
src/main/java/org/apache/maven/buildcache/CacheResult.java:
##########
@@ -70,10 +70,18 @@ public static CacheResult failure(CacheContext context) {
return new CacheResult(RestoreStatus.FAILURE, null, context);
}
- public static CacheResult rebuilded(CacheResult orig, Build build) {
Review Comment:
oops sorry my bad
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Fix typo: rename rebuilded() to rebuilt() [maven-build-cache-extension]
Posted by "elharo (via GitHub)" <gi...@apache.org>.
elharo commented on code in PR #415:
URL: https://github.com/apache/maven-build-cache-extension/pull/415#discussion_r2610988143
##########
src/main/java/org/apache/maven/buildcache/CacheControllerImpl.java:
##########
@@ -102,7 +102,7 @@
import static org.apache.maven.buildcache.CacheResult.empty;
import static org.apache.maven.buildcache.CacheResult.failure;
import static org.apache.maven.buildcache.CacheResult.partialSuccess;
-import static org.apache.maven.buildcache.CacheResult.rebuilded;
+import static org.apache.maven.buildcache.CacheResult.rebuilt;
Review Comment:
I would not static import any of these, but let's not make it worse by adding a new one
##########
src/main/java/org/apache/maven/buildcache/CacheResult.java:
##########
@@ -70,12 +70,20 @@ public static CacheResult failure(CacheContext context) {
return new CacheResult(RestoreStatus.FAILURE, null, context);
}
- public static CacheResult rebuilded(CacheResult orig, Build build) {
+ public static CacheResult rebuilt(CacheResult orig, Build build) {
Review Comment:
orig --> original
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Fix typo: rename rebuilded() to rebuilt() [maven-build-cache-extension]
Posted by "erik-meuwese-topicus (via GitHub)" <gi...@apache.org>.
erik-meuwese-topicus commented on code in PR #415:
URL: https://github.com/apache/maven-build-cache-extension/pull/415#discussion_r2618697533
##########
src/main/java/org/apache/maven/buildcache/CacheResult.java:
##########
@@ -70,10 +70,18 @@ public static CacheResult failure(CacheContext context) {
return new CacheResult(RestoreStatus.FAILURE, null, context);
}
- public static CacheResult rebuilded(CacheResult orig, Build build) {
Review Comment:
The old method is still there at line 83
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org