GH-3549: Fix minor SonarQube smells

Fixes https://github.com/spring-projects/spring-integration/issues/3549
This commit is contained in:
trungPa
2021-07-23 22:07:39 +07:00
committed by GitHub
parent bc8246d267
commit 9e512186ed
33 changed files with 77 additions and 77 deletions

View File

@@ -44,7 +44,7 @@ public class CrossOrigin {
private Boolean allowCredentials = true;
private long maxAge = 1800;
private long maxAge = 1800; // NOSONAR magic number
public void setOrigin(String... origin) {
this.origin = Arrays.copyOf(origin, origin.length);