Android: Prevent instantiation of utility classes
This commit is contained in:
parent
4fe8bb1ca7
commit
5b1f734695
|
@ -53,6 +53,11 @@ public final class NativeLibrary
|
||||||
public static final int PRESSED = 1;
|
public static final int PRESSED = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private NativeLibrary()
|
||||||
|
{
|
||||||
|
// Disallows instantiation.
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Default touchscreen device
|
* Default touchscreen device
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -21,6 +21,11 @@ import android.preference.PreferenceManager;
|
||||||
*/
|
*/
|
||||||
public final class UserPreferences
|
public final class UserPreferences
|
||||||
{
|
{
|
||||||
|
private UserPreferences()
|
||||||
|
{
|
||||||
|
// Disallows instantiation.
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Loads the settings stored in the Dolphin ini config files to the shared preferences of this front-end.
|
* Loads the settings stored in the Dolphin ini config files to the shared preferences of this front-end.
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in New Issue