Skip to content

build: migrate to Scala 2.13 - #90

Merged
hongwei1 merged 35 commits into
develop-obpfrom
build/scala-2.13-migration
Aug 16, 2026
Merged

build: migrate to Scala 2.13#90
hongwei1 merged 35 commits into
develop-obpfrom
build/scala-2.13-migration

fix: keep an element's own type when describing a bare collection

3db0226
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded Aug 15, 2026 in 1m 42s

Annotations

Check failure on line 801 in obp-api/src/main/scala/code/api/v1_4_0/JSONFactory1_4_0.scala

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of duplicating this literal "{"type": "array", "items": " 3 times.

See more on https://sonarcloud.io/project/issues?id=hongwei1_OBP-API&issues=AaAE92IUFbASQm6rYqw3&open=AaAE92IUFbASQm6rYqw3&pullRequest=90

Check failure on line 49 in obp-api/src/test/scala/code/api/ResourceDocs1_4_0/OpenAPI31FactoryTest.scala

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of duplicating this literal "v4.0.0" 3 times.

See more on https://sonarcloud.io/project/issues?id=hongwei1_OBP-API&issues=AaAHi6ANL5ldg3JYNatF&open=AaAHi6ANL5ldg3JYNatF&pullRequest=90

Check warning on line 63 in obp-api/src/test/scala/code/api/v1_4_0/JSONFactory1_4_0RootEnumListTest.scala

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rename this parameter to match the regular expression "^[_a-zA-Z][a-zA-Z0-9]*$".

See more on https://sonarcloud.io/project/issues?id=hongwei1_OBP-API&issues=AaAHrGwPTV2yRQvm60e6&open=AaAHrGwPTV2yRQvm60e6&pullRequest=90

Check failure on line 50 in obp-api/src/main/scala/code/bankconnectors/package.scala

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this method to reduce its Cognitive Complexity from 39 to the 15 allowed.

See more on https://sonarcloud.io/project/issues?id=hongwei1_OBP-API&issues=AaAA2gdf8tWtwh7fI1bN&open=AaAA2gdf8tWtwh7fI1bN&pullRequest=90

Check warning on line 25 in obp-api/src/test/scala/code/api/v1_4_0/JSONFactory1_4_0RootListTest.scala

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rename this parameter to match the regular expression "^[_a-zA-Z][a-zA-Z0-9]*$".

See more on https://sonarcloud.io/project/issues?id=hongwei1_OBP-API&issues=AaAE925WFbASQm6rYqw7&open=AaAE925WFbASQm6rYqw7&pullRequest=90

Check failure on line 49 in obp-api/src/test/scala/code/api/ResourceDocs1_4_0/OpenAPI31FactoryTest.scala

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of duplicating this literal "http://localhost:8080" 3 times.

See more on https://sonarcloud.io/project/issues?id=hongwei1_OBP-API&issues=AaAHi6ANL5ldg3JYNatG&open=AaAHi6ANL5ldg3JYNatG&pullRequest=90

Check failure on line 38 in obp-api/src/test/scala/code/api/cache/InMemoryCachingTest.scala

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of duplicating this literal "value-1" 5 times.

See more on https://sonarcloud.io/project/issues?id=hongwei1_OBP-API&issues=AaABPhqRrIcTy-_nd6nh&open=AaABPhqRrIcTy-_nd6nh&pullRequest=90

Check warning on line 28 in obp-api/src/test/scala/code/api/v1_4_0/JSONFactory1_4_0RootEnumListTest.scala

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rename class "JSONFactory1_4_0RootEnumListTest" to match the regular expression ^[A-Z][a-zA-Z0-9]*$.

See more on https://sonarcloud.io/project/issues?id=hongwei1_OBP-API&issues=AaAHrGwPTV2yRQvm60e5&open=AaAHrGwPTV2yRQvm60e5&pullRequest=90

Check warning on line 25 in obp-api/src/test/scala/code/api/v1_4_0/JSONFactory1_4_0RootListTest.scala

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rename this parameter to match the regular expression "^[_a-zA-Z][a-zA-Z0-9]*$".

See more on https://sonarcloud.io/project/issues?id=hongwei1_OBP-API&issues=AaAE925WFbASQm6rYqw6&open=AaAE925WFbASQm6rYqw6&pullRequest=90

Check failure on line 97 in obp-api/src/test/scala/code/api/ResourceDocs1_4_0/SwaggerOptionFieldTypeTest.scala

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of duplicating this literal "still be documented as an array" 3 times.

See more on https://sonarcloud.io/project/issues?id=hongwei1_OBP-API&issues=AaAEHV_E3ej0ChNo4eKI&open=AaAEHV_E3ej0ChNo4eKI&pullRequest=90

Check warning on line 23 in obp-api/src/test/scala/code/api/v1_4_0/JSONFactory1_4_0RootListTest.scala

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rename class "JSONFactory1_4_0RootListTest" to match the regular expression ^[A-Z][a-zA-Z0-9]*$.

See more on https://sonarcloud.io/project/issues?id=hongwei1_OBP-API&issues=AaAE925WFbASQm6rYqw5&open=AaAE925WFbASQm6rYqw5&pullRequest=90

Check failure on line 788 in obp-api/src/main/scala/code/api/v1_4_0/JSONFactory1_4_0.scala

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this method to reduce its Cognitive Complexity from 17 to the 15 allowed.

See more on https://sonarcloud.io/project/issues?id=hongwei1_OBP-API&issues=AaAE92IUFbASQm6rYqw4&open=AaAE92IUFbASQm6rYqw4&pullRequest=90