Author: bobtarling Date: 2010-03-25 05:56:55-0700 New Revision: 18160 Modified: trunk/src/argouml-core-model-euml/src/org/argouml/model/euml/FacadeEUMLImpl.java
Log: Ignore calls to isQuery on Reception for UML2 and remove isQuery from Reception panel Modified: trunk/src/argouml-core-model-euml/src/org/argouml/model/euml/FacadeEUMLImpl.java Url: http://argouml.tigris.org/source/browse/argouml/trunk/src/argouml-core-model-euml/src/org/argouml/model/euml/FacadeEUMLImpl.java?view=diff&pathrev=18160&r1=18159&r2=18160 ============================================================================== --- trunk/src/argouml-core-model-euml/src/org/argouml/model/euml/FacadeEUMLImpl.java (original) +++ trunk/src/argouml-core-model-euml/src/org/argouml/model/euml/FacadeEUMLImpl.java 2010-03-25 05:56:55-0700 @@ -2167,6 +2167,12 @@ } public boolean isQuery(Object handle) { + if (handle instanceof Reception) { + // Even though this is not relevant for UML2 we have + // code calling this that expects it for UML1.4 + // and we must handle it gracefully. + return false; + } return ((Operation) handle).isQuery(); } ------------------------------------------------------ http://argouml.tigris.org/ds/viewMessage.do?dsForumId=5905&dsMessageId=2464905 To unsubscribe from this discussion, e-mail: [[email protected]].
