Commits

mrdon  committed f142257

*sigh* why can't arrays have a decent toString impl?

git-svn-id: http://svn.opensymphony.com/svn/xwork/trunk@1707e221344d-f017-0410-9bd5-d282ab1896d7

  • Participants
  • Parent commits ffeaa3a

Comments (0)

Files changed (1)

File src/java/com/opensymphony/xwork2/validator/DefaultValidatorFactory.java

 import java.net.URL;
 import java.util.HashMap;
 import java.util.Map;
+import java.util.Arrays;
 
 import com.opensymphony.xwork2.ObjectFactory;
 import com.opensymphony.xwork2.XWorkException;
             };
             files = f.listFiles(filter);
             System.out.println("main url:"+u);
-            System.out.println("files:"+files);
-            System.out.println("full file list: "+new File(u.toURI()).list());
+            System.out.println("files:"+ Arrays.asList(files));
+            System.out.println("full file list: "+Arrays.asList(new File(u.toURI()).list()));
         } catch (URISyntaxException e) {
             e.printStackTrace();
             // swallow