Skip to content

Commit fbbd3d3

Browse files
PascalSchumacherfmbenhassine
authored andcommitted
Remove duplicate blanks in log message
1 parent f0c60a3 commit fbbd3d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spring-batch-core/src/main/java/org/springframework/batch/core/listener/AbstractListenerFactoryBean.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ public static boolean isListener(Object target, Class<?> listenerType, ListenerM
219219
}
220220

221221
if(targetSource != null && targetSource.getTargetClass() != null && targetSource.getTargetClass().isInterface()) {
222-
logger.warn(String.format("%s is an interface. The implementing class will not be queried for annotation based listener configurations. If using @StepScope on a @Bean method, be sure to return the implementing class so listener annotations can be used.", targetSource.getTargetClass().getName()));
222+
logger.warn(String.format("%s is an interface. The implementing class will not be queried for annotation based listener configurations. If using @StepScope on a @Bean method, be sure to return the implementing class so listener annotations can be used.", targetSource.getTargetClass().getName()));
223223
}
224224
}
225225
for (ListenerMetaData metaData : metaDataValues) {

0 commit comments

Comments
 (0)