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

removes useless refresh

refs 2553
parent 6671028c
No related branches found
No related tags found
No related merge requests found
......@@ -39,7 +39,6 @@ import org.fortiss.tooling.kernel.model.constraints.OutdatedVerificationStatus;
import org.fortiss.tooling.kernel.service.IConstraintVerificationService;
import org.fortiss.tooling.kernel.service.IConstraintVerificationService.IFix;
import org.fortiss.tooling.kernel.ui.extension.IConstraintVerifierUI;
import org.fortiss.tooling.kernel.ui.service.INavigatorService;
/**
* Base class for constraint verification GUI.
......@@ -47,7 +46,7 @@ import org.fortiss.tooling.kernel.ui.service.INavigatorService;
* @author vincent
* @author $Author$
* @version $Rev$
* @ConQAT.Rating YELLOW Hash: 3FA7D98F2CAEDA4B41362486FCA29373
* @ConQAT.Rating YELLOW Hash: 5C9927F236301634847D916815662784
*/
public class ConstraintVerifierUIBase<T extends IConstraint> implements IConstraintVerifierUI<T> {
......@@ -61,8 +60,6 @@ public class ConstraintVerifierUIBase<T extends IConstraint> implements IConstra
IConstraint constraint = status.getConstraint();
IConstraintVerificationService.INSTANCE.verify(constraint);
IConstraintVerificationStatus currentStatus = constraint.getVerificationStatus();
// If the constraint verification resulted in an error, we display it immediately.
INavigatorService.INSTANCE.refresh();
if(currentStatus instanceof ErrorVerificationStatus & canOpen(currentStatus)) {
openStatus(currentStatus);
}
......
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