eclipse plugin: Use a better way of getting the...
...Expression list as an array
This commit is contained in:
parent
ab2bd52da1
commit
73027e3afa
1 changed files with 2 additions and 2 deletions
|
@ -347,8 +347,8 @@ public class SchemaParser
|
|||
*/
|
||||
private void sortChildren( WMLTag tag )
|
||||
{
|
||||
WMLExpression[] expressions = ( WMLExpression[] ) tag.getExpressions( )
|
||||
.toArray( );
|
||||
WMLExpression[] expressions = tag.getExpressions( )
|
||||
.toArray( new WMLExpression[tag.getExpressions( ).size( )] );
|
||||
Arrays.sort( expressions, new CardinalityComparator( ) );
|
||||
tag.getExpressions( ).clear( );
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue