igdianov commented on code in PR #128:
URL: 
https://github.com/apache/maven-build-cache-extension/pull/128#discussion_r1471530655


##########
src/main/java/org/apache/maven/buildcache/BuildCacheMojosExecutionStrategy.java:
##########
@@ -134,7 +134,7 @@ public void execute(
             if (restorable) {
                 CacheRestorationStatus cacheRestorationStatus =
                         restoreProject(result, mojoExecutions, 
mojoExecutionRunner, cacheConfig);
-                restored &= CacheRestorationStatus.SUCCESS == 
cacheRestorationStatus;
+                restored = CacheRestorationStatus.SUCCESS == 
cacheRestorationStatus;

Review Comment:
   Thanks for the feedback on the PR! I agree that the dual meaning of 
`restored` is confusing. I would take your suggestion to improve the code. 



-- 
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-unsubscr...@maven.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to