GH-2340 Fix CCE in extended properties
Upgrade jackson core Resolves #2340
This commit is contained in:
@@ -145,7 +145,11 @@ public class BindingService {
|
||||
continue;
|
||||
}
|
||||
|
||||
ConsumerProperties consumerPropertiesTemp = new ExtendedConsumerProperties<>("");
|
||||
Object extensiion = consumerProperties instanceof ExtendedConsumerProperties
|
||||
? ((ExtendedConsumerProperties) consumerProperties).getExtension()
|
||||
: null;
|
||||
|
||||
ConsumerProperties consumerPropertiesTemp = new ExtendedConsumerProperties<>(extensiion);
|
||||
BeanUtils.copyProperties(consumerProperties, consumerPropertiesTemp);
|
||||
|
||||
consumerPropertiesTemp.setInstanceIndex(index);
|
||||
|
||||
5
pom.xml
5
pom.xml
@@ -89,6 +89,11 @@
|
||||
<artifactId>objenesis</artifactId>
|
||||
<version>${objenesis.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.fasterxml.jackson.core</groupId>
|
||||
<artifactId>jackson-core</artifactId>
|
||||
<version>2.13.2</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework.cloud</groupId>
|
||||
<artifactId>spring-cloud-stream</artifactId>
|
||||
|
||||
Reference in New Issue
Block a user