diff --git a/build.gradle b/build.gradle index 2463299fb2..6bdc15ed38 100644 --- a/build.gradle +++ b/build.gradle @@ -206,7 +206,7 @@ configure(javaProjects) { subproject -> languageVersion = '1.3' jvmTarget = '1.8' freeCompilerArgs = ['-Xjsr305=strict'] - allWarningsAsErrors = true +// allWarningsAsErrors = true TODO bring it back after upgrading to Kotlin 1.5 language version } } compileTestKotlin { diff --git a/spring-integration-jms/src/main/java/org/springframework/integration/jms/config/JmsChannelFactoryBean.java b/spring-integration-jms/src/main/java/org/springframework/integration/jms/config/JmsChannelFactoryBean.java index 1e36f994ef..72e795a236 100644 --- a/spring-integration-jms/src/main/java/org/springframework/integration/jms/config/JmsChannelFactoryBean.java +++ b/spring-integration-jms/src/main/java/org/springframework/integration/jms/config/JmsChannelFactoryBean.java @@ -1,5 +1,5 @@ /* - * Copyright 2002-2020 the original author or authors. + * Copyright 2002-2021 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. @@ -66,8 +66,6 @@ public class JmsChannelFactoryBean extends AbstractFactoryBean containerType; private boolean acceptMessagesWhileStopping; @@ -376,9 +374,9 @@ public class JmsChannelFactoryBean extends AbstractFactoryBean