From e2ed9e71609c5daecc7f170ebe503cf7f61f4b94 Mon Sep 17 00:00:00 2001 From: Alekseeva Yana Date: Thu, 25 Jan 2024 11:22:04 +0300 Subject: [PATCH] fix(#2790):fix todo --- .../eolang/maven/optimization/OptCached.java | 22 +++++++++---------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/eo-maven-plugin/src/main/java/org/eolang/maven/optimization/OptCached.java b/eo-maven-plugin/src/main/java/org/eolang/maven/optimization/OptCached.java index fa6d0b0fa8..83dcfad8ff 100644 --- a/eo-maven-plugin/src/main/java/org/eolang/maven/optimization/OptCached.java +++ b/eo-maven-plugin/src/main/java/org/eolang/maven/optimization/OptCached.java @@ -42,17 +42,17 @@ * In ParseMojo we have condition {@code if (tojo.hasHash())}, in OptimizeMojo or ShakeMojo we * compare creation time of files. * Don't forget to enable the tests. - * @todo #2790:30min Refactor OptCache Class - * Currently, we have some concerns about the implementation of OptCache. - * It appears that the code is a bit too complicated. - * The OptCache class takes XMIR as an argument in OptCache#apply - * and the path to the same XMIR in the constructor, which seems odd. - * We need to consider how to refactor this class. - * Furthermore, the current implementation of OptCache - * and OptimizationTask has a similar logic of returning either from the cache - * or applying a default optimization. - * For more information, please refer to this discussion: - * issue. + * @todo #2790:30min Refactor OptCache Class + * Currently, we have some concerns about the implementation of OptCache. + * It appears that the code is a bit too complicated. + * The OptCache class takes XMIR as an argument in OptCache#apply + * and the path to the same XMIR in the constructor, which seems odd. + * We need to consider how to refactor this class. + * Furthermore, the current implementation of OptCache + * and OptimizationTask has a similar logic of returning either from the cache + * or applying a default optimization. + * For more information, please refer to this discussion: + * issue. */ public final class OptCached implements Optimization {