Skip to content

Commit 5510549

Browse files
committed
Replace usage of SLF4j with ACL in LDIF readers
This is related to a recent change in Spring Ldap 4.
1 parent 9855dbd commit 5510549

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

spring-batch-infrastructure/src/main/java/org/springframework/batch/item/ldif/LdifReader.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2005-2023 the original author or authors.
2+
* Copyright 2005-2025 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -16,8 +16,8 @@
1616

1717
package org.springframework.batch.item.ldif;
1818

19-
import org.slf4j.Logger;
20-
import org.slf4j.LoggerFactory;
19+
import org.apache.commons.logging.Log;
20+
import org.apache.commons.logging.LogFactory;
2121
import org.springframework.batch.item.file.ResourceAwareItemReaderItemStream;
2222
import org.springframework.batch.item.support.AbstractItemCountingItemStreamItemReader;
2323
import org.springframework.beans.factory.InitializingBean;
@@ -66,7 +66,7 @@
6666
public class LdifReader extends AbstractItemCountingItemStreamItemReader<LdapAttributes>
6767
implements ResourceAwareItemReaderItemStream<LdapAttributes>, InitializingBean {
6868

69-
private static final Logger LOG = LoggerFactory.getLogger(LdifReader.class);
69+
private static final Log LOG = LogFactory.getLog(LdifReader.class);
7070

7171
private Resource resource;
7272

spring-batch-infrastructure/src/main/java/org/springframework/batch/item/ldif/MappingLdifReader.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2005-2023 the original author or authors.
2+
* Copyright 2005-2025 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -15,8 +15,8 @@
1515
*/
1616
package org.springframework.batch.item.ldif;
1717

18-
import org.slf4j.Logger;
19-
import org.slf4j.LoggerFactory;
18+
import org.apache.commons.logging.Log;
19+
import org.apache.commons.logging.LogFactory;
2020
import org.springframework.batch.item.file.ResourceAwareItemReaderItemStream;
2121
import org.springframework.batch.item.support.AbstractItemCountingItemStreamItemReader;
2222
import org.springframework.beans.factory.InitializingBean;
@@ -57,7 +57,7 @@
5757
public class MappingLdifReader<T> extends AbstractItemCountingItemStreamItemReader<T>
5858
implements ResourceAwareItemReaderItemStream<T>, InitializingBean {
5959

60-
private static final Logger LOG = LoggerFactory.getLogger(MappingLdifReader.class);
60+
private static final Log LOG = LogFactory.getLog(MappingLdifReader.class);
6161

6262
private Resource resource;
6363

0 commit comments

Comments
 (0)