You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
publicstatic <S, D> List<D> getDeeplyCopiedObject(List<S> source, Class<D> destinationType) {
Assert.notNull(source, "Source must not be null");
Assert.notNull(destinationType, "Destination Type Type must not be null");
MapperFactorymapperFactory = newDefaultMapperFactory.Builder().build();
mapperFactory.classMap(source.getClass(), destinationType).byDefault().register();
MapperFacademapper = mapperFactory.getMapperFacade();
returnmapper.mapAsList(source, destinationType);
}
enum:
source type:
destination type:
converter code
and the invoke code
then we get the error:
The text was updated successfully, but these errors were encountered: