Skip to content

Commit bff891b

Browse files
committed
Fix new Sonar smells
1 parent ca493ca commit bff891b

File tree

3 files changed

+5
-6
lines changed

3 files changed

+5
-6
lines changed

spring-integration-core/src/main/java/org/springframework/integration/dsl/DelayerEndpointSpec.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@
3030
import org.springframework.integration.transaction.TransactionInterceptorBuilder;
3131
import org.springframework.messaging.Message;
3232
import org.springframework.messaging.MessageChannel;
33-
import org.springframework.transaction.PlatformTransactionManager;
3433
import org.springframework.transaction.TransactionManager;
3534
import org.springframework.transaction.interceptor.TransactionInterceptor;
3635
import org.springframework.util.Assert;
@@ -167,7 +166,7 @@ public DelayerEndpointSpec retryDelay(long retryDelay) {
167166

168167
/**
169168
* Specify a {@link TransactionInterceptor} {@link Advice} with default
170-
* {@link PlatformTransactionManager} and
169+
* {@link TransactionManager} and
171170
* {@link org.springframework.transaction.interceptor.DefaultTransactionAttribute} for
172171
* the
173172
* {@link org.springframework.messaging.MessageHandler}.

spring-integration-mail/src/main/java/org/springframework/integration/mail/AbstractMailReceiver.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2019 the original author or authors.
2+
* Copyright 2002-2020 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.
@@ -456,7 +456,7 @@ private Object[] convertMessagesIfNecessary(MimeMessage[] filteredMessages) {
456456
}
457457
}
458458

459-
private Object extractContent(MimeMessage message, Map<String, Object> headers) {
459+
private Object extractContent(MimeMessage message, Map<String, Object> headers) { // NOSONAR
460460
Object content;
461461
try {
462462
MimeMessage theMessage = message;

spring-integration-mail/src/main/java/org/springframework/integration/mail/MailTransportUtils.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2007-2019 the original author or authors.
2+
* Copyright 2007-2020 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.
@@ -80,7 +80,7 @@ public static void closeFolder(Folder folder, boolean expunge) {
8080
* @param name The URL name.
8181
* @return The result with password protection.
8282
*/
83-
public static String toPasswordProtectedString(URLName name) {
83+
public static String toPasswordProtectedString(URLName name) { // NOSONAR
8484
String protocol = name.getProtocol();
8585
String username = name.getUsername();
8686
String password = name.getPassword();

0 commit comments

Comments
 (0)