|
From: <fd...@us...> - 2007-02-11 22:23:45
|
Revision: 3118
http://jnode.svn.sourceforge.net/jnode/?rev=3118&view=rev
Author: fduminy
Date: 2007-02-11 14:23:44 -0800 (Sun, 11 Feb 2007)
Log Message:
-----------
removed "ugly workaround" :-) that is no more needed since we went to generics
Modified Paths:
--------------
trunk/shell/src/shell/org/jnode/shell/help/Argument.java
Modified: trunk/shell/src/shell/org/jnode/shell/help/Argument.java
===================================================================
--- trunk/shell/src/shell/org/jnode/shell/help/Argument.java 2007-02-11 22:19:06 UTC (rev 3117)
+++ trunk/shell/src/shell/org/jnode/shell/help/Argument.java 2007-02-11 22:23:44 UTC (rev 3118)
@@ -76,11 +76,7 @@
if (list.size() == 1) return (String) list.iterator().next() + " ";
// list matching
- String[] result = (String[]) list
- .toArray(new String[ list.size()/*
- * TODO remove this ugly
- * workaround
- */]);
+ String[] result = list.toArray(new String[list.size()]);
list(result);
// return the common part, i.e. complete as much as possible
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|