forked from External/mage
Show country flag icon in user table. Save and restore column width and order.
This commit is contained in:
parent
8ae9293c98
commit
132ded19f6
8 changed files with 418 additions and 320 deletions
|
|
@ -89,19 +89,5 @@ public class Util {
|
|||
throw new RuntimeException("Error invoking runnable in UI thread.", ex);
|
||||
}
|
||||
}
|
||||
|
||||
public static int[] getIntArrayFromString(String stringData) {
|
||||
int[] intArray = null;
|
||||
if (stringData != null && !stringData.isEmpty()) {
|
||||
String[] items = stringData.split(",");
|
||||
int lengthW = items.length;
|
||||
intArray = new int[lengthW];
|
||||
for (int i = 0; i < lengthW; i++) {
|
||||
try {
|
||||
intArray[i] = Integer.parseInt(items[i]);
|
||||
} catch (NumberFormatException nfe) {}
|
||||
}
|
||||
}
|
||||
return intArray;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue