diff --git a/spring-integration-core/src/main/java/org/springframework/integration/dsl/DelayerEndpointSpec.java b/spring-integration-core/src/main/java/org/springframework/integration/dsl/DelayerEndpointSpec.java index 389bf00b36..a6dddf26a4 100644 --- a/spring-integration-core/src/main/java/org/springframework/integration/dsl/DelayerEndpointSpec.java +++ b/spring-integration-core/src/main/java/org/springframework/integration/dsl/DelayerEndpointSpec.java @@ -30,7 +30,6 @@ import org.springframework.integration.store.MessageGroupStore; import org.springframework.integration.transaction.TransactionInterceptorBuilder; import org.springframework.messaging.Message; import org.springframework.messaging.MessageChannel; -import org.springframework.transaction.PlatformTransactionManager; import org.springframework.transaction.TransactionManager; import org.springframework.transaction.interceptor.TransactionInterceptor; import org.springframework.util.Assert; @@ -167,7 +166,7 @@ public class DelayerEndpointSpec extends ConsumerEndpointSpec headers) { + private Object extractContent(MimeMessage message, Map headers) { // NOSONAR Object content; try { MimeMessage theMessage = message; diff --git a/spring-integration-mail/src/main/java/org/springframework/integration/mail/MailTransportUtils.java b/spring-integration-mail/src/main/java/org/springframework/integration/mail/MailTransportUtils.java index 8fe1c6a4a1..bd2e5dc97d 100644 --- a/spring-integration-mail/src/main/java/org/springframework/integration/mail/MailTransportUtils.java +++ b/spring-integration-mail/src/main/java/org/springframework/integration/mail/MailTransportUtils.java @@ -1,5 +1,5 @@ /* - * Copyright 2007-2019 the original author or authors. + * Copyright 2007-2020 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -80,7 +80,7 @@ public abstract class MailTransportUtils { * @param name The URL name. * @return The result with password protection. */ - public static String toPasswordProtectedString(URLName name) { + public static String toPasswordProtectedString(URLName name) { // NOSONAR String protocol = name.getProtocol(); String username = name.getUsername(); String password = name.getPassword();