diff --git a/pom.xml b/pom.xml index 102416ca9..31106eec2 100644 --- a/pom.xml +++ b/pom.xml @@ -401,6 +401,7 @@ SOFTWARE. checkstyle:/src/site/resources/.* duplicatefinder:.* + dependencies:.* diff --git a/src/main/java/org/takes/rq/RqOnce.java b/src/main/java/org/takes/rq/RqOnce.java index edf52d1c8..b568c56bc 100644 --- a/src/main/java/org/takes/rq/RqOnce.java +++ b/src/main/java/org/takes/rq/RqOnce.java @@ -38,9 +38,9 @@ *

The class is immutable and thread-safe. * * @since 0.36 - * @todo #999:30min Please use {@link org.cactoos.text.Sticky} decorator - * class instead of inner anonymous class below, which prevents input - * from being read twice by caching results of first call internally. + * @todo #1080:30min Please make two decorators (HeadOnce and BodyOnce) + * that prevent multiple reads of their contents. Introduce some units + * tests for these new classes. */ @EqualsAndHashCode(callSuper = true) public final class RqOnce extends RqWrap {