Open eclipse-ocl-bot opened 1 week ago
By Adolfo Sanchez-Barbudo Herrera on Jun 11, 2012 13:23
As commented in Bug Bug 374846 comment 4 the following method could be changed to avoid potential CCE:
Change:
public Query createQuery(Constraint constraint) {\
return new QueryImpl(this, (ExpressionInOCL) constraint.getSpecification());\
}\
\
by \
\
public Query createQuery(Constraint constraint) {\
return new QueryImpl(this, getSpecification(constraint));\
}
| --- | --- | | Bugzilla Link | 382270 | | Status | NEW | | Importance | P3 normal | | Reported | Jun 11, 2012 11:58 EDT | | Modified | Jun 11, 2012 13:23 EDT | | Reporter | Ed Willink |
Description
The pivot variant of the OCL facade class lacks methos such as
setExtent\ addVariable
Also share the muliple cteateParserContext functionalities in a single utility routine.