diff --git a/pom.xml b/pom.xml index b63e2a7..0149569 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ org.springframework.boot spring-boot-starter-parent - 2.7.9 + 2.7.18 diff --git a/src/main/java/io/github/thiagolvlsantos/file/rest/storage/config/orika/OrikaConfig.java b/src/main/java/io/github/thiagolvlsantos/file/rest/storage/config/orika/OrikaConfig.java index 85c7d10..af175e2 100644 --- a/src/main/java/io/github/thiagolvlsantos/file/rest/storage/config/orika/OrikaConfig.java +++ b/src/main/java/io/github/thiagolvlsantos/file/rest/storage/config/orika/OrikaConfig.java @@ -15,7 +15,7 @@ public class OrikaConfig { private DefaultMapperFactory factory; @Bean - public MapperFactory mapperFactory() { + protected MapperFactory mapperFactory() { init(); return factory; } @@ -29,7 +29,7 @@ private void init() { } @Bean - public MapperFacade mapperFacade() { + protected MapperFacade mapperFacade() { init(); return factory.getMapperFacade(); } diff --git a/src/main/java/io/github/thiagolvlsantos/file/rest/storage/config/predicate/JsonPredicateConfiguration.java b/src/main/java/io/github/thiagolvlsantos/file/rest/storage/config/predicate/JsonPredicateConfiguration.java index eda6889..8fdbab3 100644 --- a/src/main/java/io/github/thiagolvlsantos/file/rest/storage/config/predicate/JsonPredicateConfiguration.java +++ b/src/main/java/io/github/thiagolvlsantos/file/rest/storage/config/predicate/JsonPredicateConfiguration.java @@ -10,7 +10,7 @@ public class JsonPredicateConfiguration { @Bean - public IPredicateFactory factory() { + protected IPredicateFactory factory() { return new PredicateFactoryJson(); } }