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:
@@ -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;
|
||||
|
||||
@@ -47,7 +47,8 @@ public class MACUtil
|
||||
while (m.find()) {
|
||||
list.add(m.group(1));
|
||||
}
|
||||
return (String[])list.toArray();
|
||||
|
||||
return (String[])list.toArray(new String[0]);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user