Skip to content

Commit

Permalink
refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
KnollFrank committed Nov 26, 2024
1 parent 0b8bc4a commit 4e702ed
Showing 1 changed file with 5 additions and 43 deletions.
48 changes: 5 additions & 43 deletions OsmAnd/src/net/osmand/plus/settings/backend/OsmandSettings.java
Original file line number Diff line number Diff line change
Expand Up @@ -84,48 +84,21 @@
import net.osmand.plus.settings.backend.menuitems.ContextMenuItemsSettings;
import net.osmand.plus.settings.backend.menuitems.DrawerMenuItemsSettings;
import net.osmand.plus.settings.backend.menuitems.MainContextMenuItemsSettings;
import net.osmand.plus.settings.backend.preferences.BooleanAccessibilityPreference;
import net.osmand.plus.settings.backend.preferences.BooleanPreference;
import net.osmand.plus.settings.backend.preferences.BooleanStringPreference;
import net.osmand.plus.settings.backend.preferences.CommonPreference;
import net.osmand.plus.settings.backend.preferences.ContextMenuItemsPreference;
import net.osmand.plus.settings.backend.preferences.EnumStringPreference;
import net.osmand.plus.settings.backend.preferences.FloatPreference;
import net.osmand.plus.settings.backend.preferences.IntPreference;
import net.osmand.plus.settings.backend.preferences.ListStringPreference;
import net.osmand.plus.settings.backend.preferences.LongPreference;
import net.osmand.plus.settings.backend.preferences.OsmandPreference;
import net.osmand.plus.settings.backend.preferences.PreferenceWithListener;
import net.osmand.plus.settings.backend.preferences.StringPreference;
import net.osmand.plus.settings.backend.preferences.*;
import net.osmand.plus.settings.backend.storages.ImpassableRoadsStorage;
import net.osmand.plus.settings.backend.storages.IntermediatePointsStorage;
import net.osmand.plus.settings.enums.AngularConstants;
import net.osmand.plus.settings.enums.ApproximationType;
import net.osmand.plus.settings.enums.AutoZoomMap;
import net.osmand.plus.settings.enums.CompassMode;
import net.osmand.plus.settings.enums.DayNightMode;
import net.osmand.plus.settings.enums.DistanceByTapTextSize;
import net.osmand.plus.settings.enums.DrivingRegion;
import net.osmand.plus.settings.enums.HistorySource;
import net.osmand.plus.settings.enums.LocationSource;
import net.osmand.plus.settings.enums.MarkerDisplayOption;
import net.osmand.plus.settings.enums.RoutingType;
import net.osmand.plus.settings.enums.SimulationMode;
import net.osmand.plus.settings.enums.SpeedLimitWarningState;
import net.osmand.plus.settings.enums.TrackApproximationType;
import net.osmand.plus.settings.enums.TracksSortMode;
import net.osmand.plus.settings.enums.WidgetSize;
import net.osmand.plus.settings.enums.*;
import net.osmand.plus.utils.AndroidUtils;
import net.osmand.plus.utils.FileUtils;
import net.osmand.plus.views.layers.RadiusRulerControlLayer.RadiusRulerMode;
import net.osmand.plus.views.mapwidgets.WidgetType;
import net.osmand.plus.views.mapwidgets.WidgetsPanel;
import net.osmand.plus.wikipedia.WikiArticleShowImages;
import net.osmand.render.RenderingRulesStorage;
import net.osmand.shared.gpx.ColoringPurpose;
import net.osmand.shared.routing.ColoringType;
import net.osmand.shared.settings.enums.MetricsConstants;
import net.osmand.shared.settings.enums.SpeedConstants;
import net.osmand.shared.gpx.ColoringPurpose;
import net.osmand.shared.routing.ColoringType;
import net.osmand.util.Algorithms;

import org.apache.commons.logging.Log;
Expand All @@ -134,19 +107,8 @@

import java.io.File;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Iterator;
import java.util.LinkedHashMap;
import java.util.LinkedHashSet;
import java.util.List;
import java.util.Map;
import java.util.*;
import java.util.Map.Entry;
import java.util.Set;
import java.util.StringTokenizer;

public class OsmandSettings {

Expand Down

0 comments on commit 4e702ed

Please sign in to comment.