Skip to content

fix(QTDI-2912): fix Possible ClassCastException in SchemaConverter

e1f2838
Select commit
Loading
Failed to load commit list.
Open

fix(QTDI-2912): fix Possible ClassCastException in SchemaConverter #1231

fix(QTDI-2912): fix Possible ClassCastException in SchemaConverter
e1f2838
Select commit
Loading
Failed to load commit list.
sonar-rnd / SonarQube Code Analysis failed May 28, 2026 in 1m 37s

Quality Gate failed

Failed Quality Gate failed

  • 0.00% Coverage on New Code (is less than 80.00%)
  • 2 New Issues (is greater than 0)

Project ID: org.talend.sdk.component:component-runtime

View in SonarQube

Annotations

Check notice on line 288 in component-runtime-manager/src/main/java/org/talend/sdk/component/runtime/manager/xbean/converter/SchemaConverter.java

See this annotation in the file changed.

@sonar-rnd sonar-rnd / SonarQube Code Analysis

component-runtime-manager/src/main/java/org/talend/sdk/component/runtime/manager/xbean/converter/SchemaConverter.java#L288

Replace this instanceof check and cast with 'instanceof BigDecimal bigdecimal'

Check notice on line 302 in component-runtime-manager/src/main/java/org/talend/sdk/component/runtime/manager/xbean/converter/SchemaConverter.java

See this annotation in the file changed.

@sonar-rnd sonar-rnd / SonarQube Code Analysis

component-runtime-manager/src/main/java/org/talend/sdk/component/runtime/manager/xbean/converter/SchemaConverter.java#L302

Replace this instanceof check and cast with 'instanceof Number number'