Repository: objectionary/eo
Issue: ChResolve.java:38-40: Need to rename this class to a more...

The puzzle `1569-cc8ee668` from #1569 has to be resolved: 

https://github.com/objectionary/eo/blob/ece321e208aa459ff46c05aeaebb61a3287d9f99/eo-maven-plugin/src/main/java/org/eolang/maven/hash/ChResolve.java#L38-L40

The puzzle was created by rultor on 30-Dec-22. 

Estimate: 30 minutes,  role: DEV. 

If you have any technical questions, don't ask me, submit new tickets instead. The task will be \\"done\\" when the problem is fixed and the text of the puzzle is _removed_ from the source code. Here is more about [PDD](http://www.yegor256.com/2009/03/04/pdd.html) and [about me](http://www.yegor256.com/2017/04/05/pdd-in-action.html). 


Changed files:
eo-maven-plugin/src/test/java/org/eolang/maven/hash/ChResolveTest.java, eo-maven-plugin/src/main/java/org/eolang/maven/PullMojo.java, eo-maven-plugin/src/main/java/org/eolang/maven/hash/ChResolve.java, eo-maven-plugin/src/main/java/org/eolang/maven/ProbeMojo.java, eo-maven-plugin/src/test/java/org/eolang/maven/PullMojoTest.java

diff --git a/eo-maven-plugin/src/main/java/org/eolang/maven/ProbeMojo.java b/eo-maven-plugin/src/main/java/org/eolang/maven/ProbeMojo.java
index 5ca98b751..c22686ae1 100644
--- a/eo-maven-plugin/src/main/java/org/eolang/maven/ProbeMojo.java
+++ b/eo-maven-plugin/src/main/java/org/eolang/maven/ProbeMojo.java
@@ -38,8 +38,8 @@ import org.apache.maven.plugins.annotations.Parameter;
 import org.cactoos.iterable.Filtered;
 import org.cactoos.iterator.Mapped;
 import org.cactoos.list.ListOf;
+import org.eolang.maven.hash.ChCompound;
 import org.eolang.maven.hash.ChNarrow;
-import org.eolang.maven.hash.ChResolve;
 import org.eolang.maven.hash.CommitHash;
 import org.eolang.maven.objectionary.Objectionary;
 import org.eolang.maven.objectionary.OyFallbackSwap;
@@ -120,7 +120,7 @@ public final class ProbeMojo extends SafeMojo {
             row -> row.exists(AssembleMojo.ATTR_XMIR2)
                 && !row.exists(AssembleMojo.ATTR_PROBED)
         );
-        final CommitHash hash = new ChResolve(
+        final CommitHash hash = new ChCompound(
             this.offlineHashFile, this.offlineHash, this.tag
         );
         if (this.objectionary == null) {
diff --git a/eo-maven-plugin/src/main/java/org/eolang/maven/PullMojo.java b/eo-maven-plugin/src/main/java/org/eolang/maven/PullMojo.java
index 960a7bfbe..61f57bcf2 100644
--- a/eo-maven-plugin/src/main/java/org/eolang/maven/PullMojo.java
+++ b/eo-maven-plugin/src/main/java/org/eolang/maven/PullMojo.java
@@ -34,8 +34,8 @@ import java.util.Collection;
 import org.apache.maven.plugins.annotations.LifecyclePhase;
 import org.apache.maven.plugins.annotations.Mojo;
 import org.apache.maven.plugins.annotations.Parameter;
+import org.eolang.maven.hash.ChCompound;
 import org.eolang.maven.hash.ChNarrow;
-import org.eolang.maven.hash.ChResolve;
 import org.eolang.maven.hash.CommitHash;
 import org.eolang.maven.objectionary.Objectionary;
 import org.eolang.maven.objectionary.OyCaching;
@@ -128,7 +128,7 @@ public final class PullMojo extends SafeMojo implements CompilationStep {
             row -> !row.exists(AssembleMojo.ATTR_EO)
                 && !row.exists(AssembleMojo.ATTR_XMIR)
         );
-        final CommitHash hash = new ChResolve(
+        final CommitHash hash = new ChCompound(
             this.offlineHashFile, this.offlineHash, this.tag
         );
         if (this.objectionary == null) {
diff --git a/eo-maven-plugin/src/main/java/org/eolang/maven/hash/ChResolve.java b/eo-maven-plugin/src/main/java/org/eolang/maven/hash/ChCompound.java
similarity index 90%
rename from eo-maven-plugin/src/main/java/org/eolang/maven/hash/ChResolve.java
rename to eo-maven-plugin/src/main/java/org/eolang/maven/hash/ChCompound.java
index b04eb38dc..a6c5f4b45 100644
--- a/eo-maven-plugin/src/main/java/org/eolang/maven/hash/ChResolve.java
+++ b/eo-maven-plugin/src/main/java/org/eolang/maven/hash/ChCompound.java
@@ -35,11 +35,8 @@ import java.nio.file.Path;
  *  be used to change the behavior of an object.
  *  Need to use composable decorators to make this class
  *  not configurable.
- * @todo #1569:30min Need to rename this class to a more correct one.
- *  The correct one name will consist of prefix "Ch" and a noun or
- *  adjective.
  */
-public final class ChResolve implements CommitHash {
+public final class ChCompound implements CommitHash {
 
     /**
      * Read hashes from local file.
@@ -65,7 +62,7 @@ public final class ChResolve implements CommitHash {
      * @param text Hash by pattern
      * @param label The Git hash to pull objects from
      */
-    public ChResolve(final Path data, final String text, final String label) {
+    public ChCompound(final Path data, final String text, final String label) {
         this.file = data;
         this.hash = text;
         this.tag = label;
diff --git a/eo-maven-plugin/src/test/java/org/eolang/maven/PullMojoTest.java b/eo-maven-plugin/src/test/java/org/eolang/maven/PullMojoTest.java
index cf6be3a83..a56942277 100644
--- a/eo-maven-plugin/src/test/java/org/eolang/maven/PullMojoTest.java
+++ b/eo-maven-plugin/src/test/java/org/eolang/maven/PullMojoTest.java
@@ -32,7 +32,7 @@ import java.util.LinkedList;
 import org.cactoos.io.InputOf;
 import org.cactoos.io.ResourceOf;
 import org.cactoos.text.TextOf;
-import org.eolang.maven.hash.ChResolve;
+import org.eolang.maven.hash.ChCompound;
 import org.eolang.maven.objectionary.Objectionary;
 import org.eolang.maven.objectionary.OyRemote;
 import org.eolang.maven.util.Home;
@@ -115,7 +115,7 @@ final class PullMojoTest {
             .with("foreign", foreign)
             .execute();
         final Objectionary objectionary = new OyRemote(
-            new ChResolve(null, null, "master")
+            new ChCompound(null, null, "master")
         );
         new Moja<>(ProbeMojo.class)
             .with("targetDir", target)
diff --git a/eo-maven-plugin/src/test/java/org/eolang/maven/hash/ChResolveTest.java b/eo-maven-plugin/src/test/java/org/eolang/maven/hash/ChCompoundTest.java
similarity index 93%
rename from eo-maven-plugin/src/test/java/org/eolang/maven/hash/ChResolveTest.java
rename to eo-maven-plugin/src/test/java/org/eolang/maven/hash/ChCompoundTest.java
index ee9caac14..878de6e9c 100644
--- a/eo-maven-plugin/src/test/java/org/eolang/maven/hash/ChResolveTest.java
+++ b/eo-maven-plugin/src/test/java/org/eolang/maven/hash/ChCompoundTest.java
@@ -37,16 +37,16 @@ import org.junit.jupiter.api.extension.ExtendWith;
 import org.junit.jupiter.api.io.TempDir;
 
 /**
- * Test case for {@link ChResolve}.
+ * Test case for {@link ChCompound}.
  * @since 0.28.14
  */
-final class ChResolveTest {
+final class ChCompoundTest {
 
     @Test
     @ExtendWith(OnlineCondition.class)
     void getsCommitHashValueFromRemoteTag() {
         MatcherAssert.assertThat(
-            new ChResolve(
+            new ChCompound(
                 null,
                 null,
                 "0.26.0"
@@ -58,7 +58,7 @@ final class ChResolveTest {
     @Test
     void getsCommitHashValueFromPattern() {
         MatcherAssert.assertThat(
-            new ChResolve(
+            new ChCompound(
                 null,
                 "master:m23ss3h,3.1.*:abc2sd3",
                 "master"
@@ -72,7 +72,7 @@ final class ChResolveTest {
         final Path file = temp.resolve("tags.txt");
         new Home().save(new ResourceOf("org/eolang/maven/commits/tags.txt"), file);
         MatcherAssert.assertThat(
-            new ChResolve(
+            new ChCompound(
                 file,
                 null,
                 "master"
@@ -86,7 +86,7 @@ final class ChResolveTest {
     void catchesAnExceptionWhenNoArguments() {
         Assertions.assertThrows(
             NullPointerException.class,
-            () -> new ChResolve(null, null, null).value()
+            () -> new ChCompound(null, null, null).value()
         );
     }