Skip to content

Commit

Permalink
MID-5950 fix
Browse files Browse the repository at this point in the history
  • Loading branch information
KaterynaHonchar committed Dec 11, 2019
1 parent 1318398 commit 3595f05
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -316,7 +316,7 @@ private void checkMapping(ResourceValidationContext ctx, ItemPath path, Resource
QName itemName, MappingType mapping, boolean outbound, int index, boolean implicitSourceOrTarget) {
String inOut = outbound ? getString("ResourceValidator.outboundMapping") : getString("ResourceValidator.inboundMapping", index);
String itemNameText = prettyPrintUsingStandardPrefix(itemName);
if (outbound && mapping.getTarget() != null) {
if (outbound && mapping.getTarget() != null && mapping.getTarget().getSet() == null) {
ctx.validationResult.add(Issue.Severity.INFO,
CAT_SCHEMA_HANDLING, C_SUPERFLUOUS_MAPPING_TARGET,
getString(CLASS_DOT + C_SUPERFLUOUS_MAPPING_TARGET, getName(objectType),
Expand Down

0 comments on commit 3595f05

Please sign in to comment.