incubator-imperius-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Neeraj Joshi (JIRA)" <j...@apache.org>
Subject [jira] Commented: (IMPERIUS-22) Java List objects as collections not supported?
Date Wed, 07 Oct 2009 19:31:31 GMT

    [ https://issues.apache.org/jira/browse/IMPERIUS-22?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12763208#action_12763208
] 

Neeraj Joshi commented on IMPERIUS-22:
--------------------------------------

patch checked in by David Wood

> Java List objects as collections not supported?
> -----------------------------------------------
>
>                 Key: IMPERIUS-22
>                 URL: https://issues.apache.org/jira/browse/IMPERIUS-22
>             Project: Imperius
>          Issue Type: Bug
>            Reporter: David Wood
>            Assignee: Bill Stoddard
>
> The following does not parse.  Should it?
> Import Class java.util.List:list1;
> Strategy Execute_All_Applicable;
> Policy 
> {
> 	Condition 
> 	{  
> 	   inCollection("1", list1)
> 	}
> 	Decision 
> 	{   
> 		list.get(1)
> 	}
> }:1;
> However, it does parse if you change it to...
> Import Class java.util.List:list1;
> Strategy Execute_All_Applicable;
> Policy 
> {
> 	Condition 
> 	{  
> 	   inCollection("1",[ "1", "2" ])
> 	}
> 	Decision 
> 	{   
> 		list.get(1)
> 	}
> }:1;
> Should we be able to pass java List objects as collections?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message