incubator-imperius-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Wood <daw...@us.ibm.com>
Subject Re: [jira] Commented: (IMPERIUS-22) Java List objects as collections not supported?
Date Wed, 07 Oct 2009 20:44:06 GMT
I don't believe this one was ever really fixed.  It's more  question of 
whether or not non-literal lists are allowed as arguments to the 
collection operators.

David Wood 
Policy Technologies Group
IBM TJ Watson Research Center
dawood@us.ibm.com
914-784-5123 (office), 914-396-6515 (mobile)




From:
"Neeraj Joshi (JIRA)" <jira@apache.org>
To:
imperius-dev@incubator.apache.org
Date:
10/07/2009 03:32 PM
Subject:
[jira] Commented: (IMPERIUS-22) Java List objects as collections not 
supported?




    [ 
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
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message