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

GREEN

refs 2490
parent d5b9d7d9
Branches
Tags
No related merge requests found
......@@ -24,10 +24,10 @@ import org.eclipse.emf.ecore.EObject;
import org.fortiss.tooling.kernel.extension.base.ConstraintViolationBase;
/**
* This interface describes a constraint violation produced by some constraint
* checker. A constraint violation has a source object, a severity of type {@link ESeverity}, an
* explanation of type String and possibly a quick fix
* handler of type {@link IQuickFixHandler}.
* This interface describes a constraint violation produced by some constraint checker. A constraint
* violation has a source object, a severity of type {@link ESeverity}, an
* explanation of type {@link String} and possibly a quick fix handler of type
* {@link IQuickFixHandler}.
* <p>
* Sub-classes should adapt to {@link EObject} in {@link #getAdapter(Class)} and return the source
* element.
......@@ -37,7 +37,7 @@ import org.fortiss.tooling.kernel.extension.base.ConstraintViolationBase;
* @author hoelzlf
* @author $Author$
* @version $Rev$
* @ConQAT.Rating YELLOW Hash: FC6781A5C38B6D603FAA707A65C27F6B
* @ConQAT.Rating GREEN Hash: D232822EB5A8778BF40044A1F5A0C5ED
*/
public interface IConstraintViolation<T extends EObject> extends IAdaptable {
......@@ -76,7 +76,7 @@ public interface IConstraintViolation<T extends EObject> extends IAdaptable {
/** The lowest None severity. */
NONE(10000);
/** The NONE severity level. */
/** The severity level. */
private final int level;
/** Constructor. */
......@@ -118,8 +118,8 @@ public interface IConstraintViolation<T extends EObject> extends IAdaptable {
@Override
public int compare(IConstraintViolation<? extends EObject> arg0,
IConstraintViolation<? extends EObject> arg1) {
return SEVERITY_DIRECT_COMPARATOR.compare(arg0.getSeverity(),
arg1.getSeverity());
ESeverity sev0 = arg0.getSeverity();
return SEVERITY_DIRECT_COMPARATOR.compare(sev0, arg1.getSeverity());
}
};
}
......@@ -26,7 +26,7 @@ import org.fortiss.tooling.kernel.service.ILoggingService;
*
* @author diewald
* @version $Rev$
* @ConQAT.Rating YELLOW Hash: 2458C952A5383F445F9B533E4866A1C9
* @ConQAT.Rating GREEN Hash: C7C26952043D17C736DC63F05572D7A9
*/
public class LogMessage {
/** The message String transported my this {@link LogMessage}. */
......
......@@ -24,7 +24,7 @@ package org.fortiss.tooling.kernel.extension.data;
* @author diewald
* @author $Author$
* @version $Rev$
* @ConQAT.Rating YELLOW Hash: 0F5BD4EEFA0ECB7A0950426A4137042E
* @ConQAT.Rating GREEN Hash: 09774E7AEFEAF2E14207853ADCABA138
*/
public class LogMessageWithException extends LogMessage {
/** The transported Exception. */
......
......@@ -25,13 +25,15 @@ import org.fortiss.tooling.kernel.extension.ITutorialStep;
* @author hoelzl
* @author $Author: hoelzl $
* @version $Rev: 18709 $
* @ConQAT.Rating YELLOW Hash: 819C147A0D803B54AE8DA31D9DC96D39
* @ConQAT.Rating GREEN Hash: 1EC519A990807608FE86A71EAE0A6A66
*/
public abstract class TutorialStepBase implements ITutorialStep {
/** The title of the tutorial. */
private final String title;
/** The description of this tutorial step. */
private final String url;
/** The parent element of this step. */
private TutorialCompositeStep parent;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment