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

GREEN

refs 2490
parent fcb996d5
No related branches found
No related tags found
No related merge requests found
......@@ -43,7 +43,7 @@ import org.fortiss.tooling.kernel.ui.service.IMarkerService;
* @author bayha
* @author $Author$
* @version $Rev$
* @ConQAT.Rating YELLOW Hash: D7694969D5C3A300B16AB984FA9AFBA8
* @ConQAT.Rating GREEN Hash: 952EACFD20707CDF384F67E17D12A8FF
*/
public class ConstraintViolationAwareLabelProviderBase extends ModelElementLabelProvider {
/** Text with in characters, for tool tips. */
......
......@@ -38,7 +38,7 @@ import org.fortiss.tooling.kernel.ui.service.IModelElementHandlerService;
* @author mou
* @author $Author$
* @version $Rev$
* @ConQAT.Rating YELLOW Hash: 111904203873A1FB41A9F10E682B118F
* @ConQAT.Rating GREEN Hash: 6CCCB2F180EAEC8A302FE92210FBC0AF
*/
public class ModelElementLabelProvider extends ColumnLabelProvider {
/** {@inheritDoc} */
......
......@@ -28,7 +28,7 @@ import org.fortiss.tooling.kernel.ui.ESharedImages;
* @author hoelzl
* @author $Author: hoelzl $
* @version $Rev: 18709 $
* @ConQAT.Rating YELLOW Hash: DE71148B2DE18B6B28727A51831289DA
* @ConQAT.Rating GREEN Hash: 69268934089C2596B07E76E5C4C15391
*/
public class TutorialDefinitionModelElementLabelProvider extends ModelElementLabelProvider {
......@@ -36,8 +36,8 @@ public class TutorialDefinitionModelElementLabelProvider extends ModelElementLab
@Override
public String getText(Object element) {
if(element instanceof TutorialStepBase) {
TutorialStepBase step = (TutorialStepBase)element;
return step.getTitle();
return element instanceof TutorialStepBase ? ((TutorialStepBase)element).getTitle()
: super.getText(element);
}
return super.getText(element);
}
......
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