Skip to content
Snippets Groups Projects
Commit e2c41df8 authored by Jan Zickermann's avatar Jan Zickermann
Browse files

KOP-2139 KOP-2461 Use Mappers util in factory

parent fe6238be
Branches
Tags
No related merge requests found
package de.ozgcloud.xta.client.core;
import org.mapstruct.factory.Mappers;
import de.ozgcloud.xta.client.config.XtaClientConfig;
import de.ozgcloud.xta.client.exception.ClientInitializationException;
import lombok.Builder;
......@@ -15,7 +17,7 @@ public class WrappedXtaServiceFactory {
public static WrappedXtaServiceFactory from(final XtaClientConfig config) {
return WrappedXtaServiceFactory.builder()
.xtaServiceFactory(XTAServiceFactory.from(config))
.typeMapper(new WebServiceTypeMapperImpl())
.typeMapper(Mappers.getMapper(WebServiceTypeMapper.class))
.build();
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment