Skip to content

Commit

Permalink
Add signalOnMissingItem implementation fo tests and examples.
Browse files Browse the repository at this point in the history
  • Loading branch information
gion86 committed Jan 28, 2024
1 parent b900123 commit 56c511a
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -54,4 +54,12 @@ public Node resolveLeftItem(DOMMappingBean semanticMappingObject) {
public Node resolveRightItem(DOMMappingBean semanticMappingObject) {
return semanticMappingObject.right;
}

/**
* @see org.eclipse.nebula.treemapper.ISemanticTreeMapperSupport#signalOnMissingItem()
*/
@Override
public boolean signalOnMissingItem() {
return true;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -44,5 +44,12 @@ public String resolveLeftItem(String semanticMappingObject) {
public String resolveRightItem(String semanticMappingObject) {
return semanticMappingObject;
}


/**
* @see org.eclipse.nebula.treemapper.ISemanticTreeMapperSupport#signalOnMissingItem()
*/
@Override
public boolean signalOnMissingItem() {
return true;
}
}

0 comments on commit 56c511a

Please sign in to comment.