rishabhdaim commented on code in PR #2537:
URL: https://github.com/apache/jackrabbit-oak/pull/2537#discussion_r2378229555
##########
oak-store-document/src/test/java/org/apache/jackrabbit/oak/plugins/document/TestUtils.java:
##########
@@ -34,15 +32,13 @@
import org.apache.jackrabbit.oak.stats.Clock;
import org.jetbrains.annotations.NotNull;
-import static org.apache.jackrabbit.guava.common.base.Functions.compose;
-import static org.apache.jackrabbit.guava.common.base.Functions.constant;
import static org.junit.Assert.fail;
public class TestUtils {
public static final Predicate<UpdateOp> IS_LAST_REV_UPDATE = input ->input
!= null && isLastRevUpdate(input);
- public static final Function<String, Long> NO_BINARY =
compose(constant(-1L), Functions.<String>identity());
+ public static final Function<String, Long> NO_BINARY =
Function.<String>identity().andThen(s -> -1L);
Review Comment:
addressed in
https://github.com/apache/jackrabbit-oak/pull/2537/commits/d6a7dd945c98b8eba96a6356e5954640ec0fe457
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]