Skip to content

Commit

Permalink
feat(objectionary#3840): sync access to the scalar
Browse files Browse the repository at this point in the history
  • Loading branch information
volodya-lombrozo committed Jan 27, 2025
1 parent 795e16d commit 77cdf87
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion eo-parser/src/main/java/org/eolang/parser/TrStepped.java
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
import org.cactoos.Scalar;
import org.cactoos.io.ResourceOf;
import org.cactoos.scalar.Sticky;
import org.cactoos.scalar.Synced;
import org.cactoos.text.TextOf;

/**
Expand Down Expand Up @@ -74,7 +75,7 @@ final class TrStepped extends TrEnvelope {
shift,
new StLambda(
shift::uid,
(pos, xml) -> stepped.value()
(pos, xml) -> new Synced<>(stepped).value()
.with("step", pos)
.with("sheet", shift.uid())
.transform(xml)
Expand Down

0 comments on commit 77cdf87

Please sign in to comment.