first.transformOperation(operation, address, context);
return context.createOp();
}
@Override
public void transformResource(final ResourceTransformationContext ctx, final PathAddress address, final Resource original) throws OperationFailedException {
<BUG>final ModelNode originalModel = TransformationRule.cloneAndProtect(original.getModel());
final DiscardPolicy.DiscardType type = discardPolicy.discard(originalModel, address, ctx);
switch (type) {</BUG>
case DISCARD_AND_WARN:
case REJECT_AND_WARN:

first.transformOperation(operation, address, context);
return context.createOp();
}
@Override
public void transformResource(final ResourceTransformationContext ctx, final PathAddress address, final Resource original) throws OperationFailedException {
final ModelNode originalModel = TransformationRule.cloneAndProtect(original.getModel());
switch (discardPolicy) {
case DISCARD_AND_WARN:
case REJECT_AND_WARN:
