Skip to content
Snippets Groups Projects
Commit 3c90b738 authored by Vincent Aravantinos's avatar Vincent Aravantinos
Browse files

further simplification

refs 2703
parent a23995b4
No related branches found
No related tags found
No related merge requests found
......@@ -17,6 +17,7 @@ $Id$
+--------------------------------------------------------------------------*/
package org.fortiss.tooling.kernel.extension.base;
import static org.fortiss.tooling.kernel.utils.ConstraintsUtils.createConstraintInstance;
import static org.fortiss.tooling.kernel.utils.ConstraintsUtils.createOutdatedStatus;
import static org.fortiss.tooling.kernel.utils.ConstraintsUtils.getConstrained;
......@@ -38,7 +39,7 @@ import org.fortiss.tooling.kernel.utils.ConstraintsUtils;
* @author aravantinos
* @author $Author$
* @version $Rev$
* @ConQAT.Rating YELLOW Hash: 0438526E055DFA382D657062895A46A4
* @ConQAT.Rating YELLOW Hash: A8F0FDAA4E0DB9825552403F5787438B
*/
public class ConstraintBases {
......@@ -124,5 +125,11 @@ public class ConstraintBases {
return isApplicable(constrained) ? super.addConstraintInstanceIfNeeded(constrained)
: null;
}
/** {@inheritDoc} */
@Override
public ConstraintInstance createConstraintInstanceIfNeeded(IConstrained constrained) {
return createConstraintInstance(this.getClass(), constrained);
}
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment