Lets use the correct version of toArray so it actually works. And ditch

the extra whitespace.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@1163 6335cc39-0255-0410-8fd6-9bcaacd3b74c
This commit is contained in:
eric
2003-07-07 18:52:56 +00:00
parent 24a648d258
commit e6c99ce2e8
@@ -1,5 +1,5 @@
// //
// $Id: MACUtil.java,v 1.1 2003/07/07 01:40:59 eric Exp $ // $Id: MACUtil.java,v 1.2 2003/07/07 18:52:56 eric Exp $
package com.samskivert.net; package com.samskivert.net;
@@ -47,7 +47,8 @@ public class MACUtil
while (m.find()) { while (m.find()) {
list.add(m.group(1)); list.add(m.group(1));
} }
return (String[])list.toArray();
return (String[])list.toArray(new String[0]);
} }
/** /**