fix: Fix before value write hooks for native value visits
This commit is contained in:
+1
-1
@@ -71,7 +71,7 @@ public class PathTrackingDataVisitor implements TweedDataVisitor {
|
||||
|
||||
@Override
|
||||
public void visitValue(@Nullable Object value) throws TweedDataUnsupportedValueException {
|
||||
TweedDataVisitor.super.visitValue(value);
|
||||
delegate.visitValue(value);
|
||||
valueVisited();
|
||||
}
|
||||
|
||||
|
||||
+1
@@ -106,6 +106,7 @@ public class DelegatingTweedDataWriter implements TweedDataWriter {
|
||||
|
||||
@Override
|
||||
public void visitValue(@Nullable Object value) throws TweedDataUnsupportedValueException {
|
||||
beforeValueWrite();
|
||||
delegate.visitValue(value);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user