From Monsieur Thomas. The matcher gets cranky when presented with null.

git-svn-id: https://samskivert.googlecode.com/svn/trunk@2939 6335cc39-0255-0410-8fd6-9bcaacd3b74c
This commit is contained in:
karma@deadmoose.com
2010-10-28 21:18:27 +00:00
parent 5b49bb17e0
commit 019e5f9311
@@ -68,6 +68,10 @@ public class MACUtil
*/
protected static String[] parseMACs (String text)
{
if (text == null) {
return new String[0];
}
Matcher m = MACRegex.matcher(text);
ArrayList<String> list = new ArrayList<String>();