Skip to content

Draft/transport type aware location - #2579

Draft
diogodanielsoaresferreira wants to merge 3 commits into
mainfrom
draft/transport-type-aware-location
Draft

Draft/transport type aware location#2579
diogodanielsoaresferreira wants to merge 3 commits into
mainfrom
draft/transport-type-aware-location

chore: change TransportType to enum to quick fix OpenAPI spec

9173ac6
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis failed Sep 4, 2026 in 2m 3s

Quality Gate failed

Annotations

Check warning on line 145 in service/maps/api/src/main/java/ai/timefold/solver/service/maps/api/model/Location.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Convert this Map to an EnumMap.

See more on https://sonarcloud.io/project/issues?id=ai.timefold%3Atimefold-solver&issues=AaBr1hBIp8EFLDUUZgJY&open=AaBr1hBIp8EFLDUUZgJY&pullRequest=2579

Check warning on line 168 in service/maps/api/src/main/java/ai/timefold/solver/service/maps/api/model/Location.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Convert this Map to an EnumMap.

See more on https://sonarcloud.io/project/issues?id=ai.timefold%3Atimefold-solver&issues=AaBr1hBIp8EFLDUUZgJa&open=AaBr1hBIp8EFLDUUZgJa&pullRequest=2579

Check warning on line 352 in service/maps/api/src/main/java/ai/timefold/solver/service/maps/api/model/Location.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Declare this local variable with "var" instead.

See more on https://sonarcloud.io/project/issues?id=ai.timefold%3Atimefold-solver&issues=AaBrBq-ugWh1-ALLhBaE&open=AaBrBq-ugWh1-ALLhBaE&pullRequest=2579

Check warning on line 411 in service/maps/api/src/main/java/ai/timefold/solver/service/maps/api/model/Location.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use "==" to perform this enum comparison instead of using "equals"

See more on https://sonarcloud.io/project/issues?id=ai.timefold%3Atimefold-solver&issues=AaBr1hBIp8EFLDUUZgJc&open=AaBr1hBIp8EFLDUUZgJc&pullRequest=2579

Check warning on line 93 in service/maps/service-client/src/main/java/ai/timefold/solver/service/maps/service/client/impl/MapServiceOptionsSupplier.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Specify a "String" parameter instead.

See more on https://sonarcloud.io/project/issues?id=ai.timefold%3Atimefold-solver&issues=AZ_szrZBfb72WvUX6U7l&open=AZ_szrZBfb72WvUX6U7l&pullRequest=2579

Check warning on line 181 in service/maps/api/src/main/java/ai/timefold/solver/service/maps/api/model/Location.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Convert this Map to an EnumMap.

See more on https://sonarcloud.io/project/issues?id=ai.timefold%3Atimefold-solver&issues=AaBr1hBIp8EFLDUUZgJb&open=AaBr1hBIp8EFLDUUZgJb&pullRequest=2579

Check warning on line 63 in service/maps/service-client/src/main/java/ai/timefold/solver/service/maps/service/client/api/TravelTimeMatrixEnricher.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Declare this local variable with "var" instead.

See more on https://sonarcloud.io/project/issues?id=ai.timefold%3Atimefold-solver&issues=AaBrBq6fgWh1-ALLhBaB&open=AaBrBq6fgWh1-ALLhBaB&pullRequest=2579

Check warning on line 156 in service/maps/api/src/main/java/ai/timefold/solver/service/maps/api/model/Location.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Convert this Map to an EnumMap.

See more on https://sonarcloud.io/project/issues?id=ai.timefold%3Atimefold-solver&issues=AaBr1hBIp8EFLDUUZgJZ&open=AaBr1hBIp8EFLDUUZgJZ&pullRequest=2579

Check warning on line 335 in service/maps/api/src/main/java/ai/timefold/solver/service/maps/api/model/Location.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Declare this local variable with "var" instead.

See more on https://sonarcloud.io/project/issues?id=ai.timefold%3Atimefold-solver&issues=AaBrBq-ugWh1-ALLhBaD&open=AaBrBq-ugWh1-ALLhBaD&pullRequest=2579

Check warning on line 72 in service/maps/service-client/src/main/java/ai/timefold/solver/service/maps/service/client/impl/MapServiceOptionsSupplier.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Specify a "String" parameter instead.

See more on https://sonarcloud.io/project/issues?id=ai.timefold%3Atimefold-solver&issues=AZ_szrZBfb72WvUX6U7k&open=AZ_szrZBfb72WvUX6U7k&pullRequest=2579

Check warning on line 64 in service/maps/service-client/src/main/java/ai/timefold/solver/service/maps/service/client/api/TravelTimeMatrixEnricher.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Declare this local variable with "var" instead.

See more on https://sonarcloud.io/project/issues?id=ai.timefold%3Atimefold-solver&issues=AaBrBq6fgWh1-ALLhBaC&open=AaBrBq6fgWh1-ALLhBaC&pullRequest=2579