You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 12, 2024. It is now read-only.
Describe the technical debt
This issue addresses the elimination of the usage of 'defaultUnitSystem' as it is outdated and deprecated, which may lead to technical debt and potential future compatibility issues.
Location: src/.../dennisguse/opentracks/settings/PreferencesUtils.java
Consequences of the Issue:
Redundancy and Code Maintenance.
Maintainability and Debugging.
Why It Was Necessary to Be Fixed:
Code Redundancy.
Consistency and Clarity.
Proposed solution
Define the default UnitSystem and initialize it with UnitSystem.METRIC. This should be used when the records are filtered using firstFirst() and orElse() methods.
Technical information
Device: [e.g. Nexus 7 (2013)]
OS: [e.g. LineageOS 15.1]
OpenTracks version: [e.g. v3.2.4]
OpenTracks commit id (only for nightly builds): [e.g. 4b333bb]
Describe the technical debt
This issue addresses the elimination of the usage of 'defaultUnitSystem' as it is outdated and deprecated, which may lead to technical debt and potential future compatibility issues.
Location:
src/.../dennisguse/opentracks/settings/PreferencesUtils.java
Consequences of the Issue:
Why It Was Necessary to Be Fixed:
Proposed solution
Define the default UnitSystem and initialize it with UnitSystem.METRIC. This should be used when the records are filtered using firstFirst() and orElse() methods.
Technical information
Link to the commit
The text was updated successfully, but these errors were encountered: