Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
K
kernel
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
af3
kernel
Commits
766e112a
Commit
766e112a
authored
8 years ago
by
Vincent Aravantinos
Browse files
Options
Downloads
Patches
Plain Diff
additional guard to make life easier for users of the constraint service
refs 2695
parent
2aa60113
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
org.fortiss.tooling.kernel/trunk/src/org/fortiss/tooling/kernel/extension/base/ConstraintBases.java
+3
-2
3 additions, 2 deletions
...ortiss/tooling/kernel/extension/base/ConstraintBases.java
with
3 additions
and
2 deletions
org.fortiss.tooling.kernel/trunk/src/org/fortiss/tooling/kernel/extension/base/ConstraintBases.java
+
3
−
2
View file @
766e112a
...
...
@@ -33,7 +33,7 @@ import org.fortiss.tooling.kernel.utils.ConstraintsUtils;
* @author aravantinos
* @author $Author$
* @version $Rev$
* @ConQAT.Rating YELLOW Hash:
4F22785727155E44757C4F842EBB0AEF
* @ConQAT.Rating YELLOW Hash:
2AC9E67CCFDB1AF1C84A8B58E7C28D38
*/
public
class
ConstraintBases
{
...
...
@@ -95,7 +95,8 @@ public class ConstraintBases {
/** {@inheritDoc} */
@Override
public
final
IConstraintInstanceStatus
verify
(
ConstraintInstance
ci
)
{
return
verify
(
ConstraintsUtils
.
getConstrained
(
ci
));
IConstrained
constrained
=
ConstraintsUtils
.
getConstrained
(
ci
);
return
isApplicable
(
constrained
)
?
verify
(
constrained
)
:
null
;
}
/** Verify the given constrained element. */
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment