mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-19 04:53:36 +00:00
[android] Fix Android Studio warnings
Signed-off-by: Jean-Baptiste <jeanbaptiste.charron@outlook.fr>
This commit is contained in:
@@ -1,7 +1,5 @@
|
||||
package app.organicmaps.sdk.bookmarks.data;
|
||||
|
||||
import java.text.DecimalFormat;
|
||||
|
||||
/**
|
||||
* represents the details of the socket available on a particular charging station
|
||||
*
|
||||
|
||||
@@ -16,7 +16,7 @@ public class PredefinedColors
|
||||
public @interface Color
|
||||
{}
|
||||
|
||||
/// @note Color format: ARGB
|
||||
/// note Color format: ARGB
|
||||
@ColorInt
|
||||
private static final int[] PREDEFINED_COLORS = nativeGetPredefinedColors();
|
||||
|
||||
|
||||
@@ -13,19 +13,6 @@ public final class OsmOAuth
|
||||
{
|
||||
private OsmOAuth() {}
|
||||
|
||||
public enum AuthType
|
||||
{
|
||||
OSM("OSM"),
|
||||
GOOGLE("Google");
|
||||
|
||||
public final String name;
|
||||
|
||||
AuthType(String name)
|
||||
{
|
||||
this.name = name;
|
||||
}
|
||||
}
|
||||
|
||||
@SuppressWarnings("NotNullFieldNotInitialized")
|
||||
@NonNull
|
||||
private static SharedPreferences mPrefs;
|
||||
|
||||
@@ -32,7 +32,6 @@ public final class Constants
|
||||
public static final String OPENING_HOURS_MANUAL = "file:///android_asset/opening_hours_how_to_edit.html";
|
||||
|
||||
public static final String OSM_REGISTER = "https://www.openstreetmap.org/user/new";
|
||||
public static final String OSM_RECOVER_PASSWORD = "https://www.openstreetmap.org/user/forgot-password";
|
||||
|
||||
private Url() {}
|
||||
}
|
||||
|
||||
@@ -33,7 +33,7 @@ public final class Distance
|
||||
}
|
||||
}
|
||||
|
||||
/// @todo What is the difference with cpp: kNarrowNonBreakingSpace = "\u202F" ?
|
||||
/// todo What is the difference with cpp: kNarrowNonBreakingSpace = "\u202F" ?
|
||||
private static final char NON_BREAKING_SPACE = '\u00A0';
|
||||
|
||||
public final double mDistance;
|
||||
|
||||
Reference in New Issue
Block a user