Fix OASIS test ASM_5012 - its ok to override a reference with multiplicity of zero-N with one-one or one-N
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@805831 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
21d52f1baa
commit
5cb9df5238
1 changed files with 1 additions and 1 deletions
|
@ -66,7 +66,7 @@ abstract class ReferenceConfigurationUtil {
|
|||
if (definedMul != overridenMul) {
|
||||
switch (definedMul) {
|
||||
case ZERO_N:
|
||||
return overridenMul == Multiplicity.ZERO_ONE;
|
||||
return overridenMul == Multiplicity.ZERO_ONE || overridenMul == Multiplicity.ONE_ONE || overridenMul == Multiplicity.ONE_N;
|
||||
case ONE_N:
|
||||
return overridenMul == Multiplicity.ONE_ONE;
|
||||
case ZERO_ONE:
|
||||
|
|
Loading…
Add table
Reference in a new issue