Skip to content

Commit 788457c

Browse files
committed
Migrate off SLF4J to Spring JCL.
Closes #2496
1 parent 1040452 commit 788457c

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

Diff for: src/main/java/org/springframework/data/mapping/context/AbstractMappingContext.java

+4-3
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,9 @@
3131
import java.util.function.Predicate;
3232
import java.util.stream.Collectors;
3333

34-
import org.slf4j.Logger;
35-
import org.slf4j.LoggerFactory;
34+
import org.apache.commons.logging.Log;
35+
import org.apache.commons.logging.LogFactory;
36+
3637
import org.springframework.beans.BeanUtils;
3738
import org.springframework.beans.BeansException;
3839
import org.springframework.beans.factory.InitializingBean;
@@ -91,7 +92,7 @@
9192
public abstract class AbstractMappingContext<E extends MutablePersistentEntity<?, P>, P extends PersistentProperty<P>>
9293
implements MappingContext<E, P>, ApplicationEventPublisherAware, ApplicationContextAware, InitializingBean {
9394

94-
private static final Logger LOGGER = LoggerFactory.getLogger(MappingContext.class);
95+
private static final Log LOGGER = LogFactory.getLog(MappingContext.class);
9596

9697
private final Optional<E> NONE = Optional.empty();
9798
private final Map<TypeInformation<?>, Optional<E>> persistentEntities = new HashMap<>();

0 commit comments

Comments
 (0)