KeYProject / key

KeY Theorem Prover for Deductive Java Verification
https://key-project.org
Other
41 stars 24 forks source link

Fix startup crash if ~/.key/colors.json is not present #3439

Closed FliegendeWurst closed 5 months ago

FliegendeWurst commented 5 months ago

Related Issue

This pull request fixes #3416.

Intended Change

This PR removes the fallback to the old .properties file in ColorSettings. Due to an issue in static initialization order, it is not possible to use the SettingsManager to (attempt to) read the old configuration file.

Type of pull request

Ensuring quality

Additional information and contact(s)

The contributions within this pull request are licensed under GPLv2 (only) for inclusion in KeY.

codecov[bot] commented 5 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 37.85%. Comparing base (9ad6cc8) to head (4cf1755).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #3439 +/- ## ========================================= Coverage 37.85% 37.85% Complexity 17042 17042 ========================================= Files 2082 2082 Lines 127290 127290 Branches 21441 21441 ========================================= Hits 48183 48183 Misses 73194 73194 Partials 5913 5913 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.