File tree Expand file tree Collapse file tree
src/main/java/org/xmlobjects/model Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# Changelog
22
33## [ Unreleased]
4+ ### Changed
5+ - Updated to object-copier 1.2.0.
46
57## [ 2.0.0] - 2026-03-31
68### Added
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ repositories {
3333}
3434
3535dependencies {
36- api ' org.xmlobjects:object-copier:1.1.0 '
36+ api ' org.xmlobjects:object-copier:1.2.0-SNAPSHOT '
3737 api ' org.glassfish.jaxb:xsom:4.0.7'
3838 api ' org.xmlobjects:classindex:3.13.1'
3939 annotationProcessor ' org.xmlobjects:classindex:3.13.1'
Original file line number Diff line number Diff line change @@ -26,15 +26,15 @@ default <T extends Child> T getParent(Class<T> type) {
2626 }
2727
2828 @ Override
29- default void preCopy (CopyContext context , CopyMode mode , boolean isRoot ) {
30- if (isRoot ) {
29+ default void preCopy (CopyMode mode , CopyContext context ) {
30+ if (context . isRoot () ) {
3131 context .exclude (getParent ());
3232 }
3333 }
3434
3535 @ Override
36- default void postCopy (CopyContext context , CopyMode mode , boolean isRoot ) {
37- if (isRoot ) {
36+ default void postCopy (CopyMode mode , CopyContext context ) {
37+ if (context . isRoot () ) {
3838 context .include (getParent ());
3939 setParent (null );
4040 }
You can’t perform that action at this time.
0 commit comments