mirror of
https://github.com/moparisthebest/k-9
synced 2025-01-31 07:10:14 -05:00
astyle
This commit is contained in:
parent
1bf1643987
commit
ba021597c4
@ -18,7 +18,8 @@ public class SpinnerHelper
|
|||||||
public static void initSpinner(Context context, Spinner spinner, String[] entryArray, String[] valueArray, String curVal)
|
public static void initSpinner(Context context, Spinner spinner, String[] entryArray, String[] valueArray, String curVal)
|
||||||
{
|
{
|
||||||
|
|
||||||
if (entryArray.length != valueArray.length){
|
if (entryArray.length != valueArray.length)
|
||||||
|
{
|
||||||
throw new RuntimeException("Entry and value arrays are of unequal lenght");
|
throw new RuntimeException("Entry and value arrays are of unequal lenght");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user