diff --git a/org.fortiss.tooling.kernel.ui/trunk/src/org/fortiss/tooling/kernel/ui/extension/base/ConstraintUIBases.java b/org.fortiss.tooling.kernel.ui/trunk/src/org/fortiss/tooling/kernel/ui/extension/base/ConstraintUIBases.java index 17d322817ec67f44cee4a0a9ac12e8ac6f1bf472..3a3908bbcbc4d000725a9460c41a009a2bce8328 100644 --- a/org.fortiss.tooling.kernel.ui/trunk/src/org/fortiss/tooling/kernel/ui/extension/base/ConstraintUIBases.java +++ b/org.fortiss.tooling.kernel.ui/trunk/src/org/fortiss/tooling/kernel/ui/extension/base/ConstraintUIBases.java @@ -57,7 +57,7 @@ import org.fortiss.tooling.kernel.ui.service.IModelElementHandlerService; * @author aravantinos * @author $Author$ * @version $Rev$ - * @ConQAT.Rating YELLOW Hash: 3A7223897E3FE2CF8AFD2D71FDE809B3 + * @ConQAT.Rating YELLOW Hash: 0756FE6CE6E5562946F809BC4E242FFE */ public class ConstraintUIBases { @@ -136,9 +136,9 @@ public class ConstraintUIBases { } /** - * @return Buttons to display: "OK" is always displayed. In addition, if there is *only - * one fix, we provide one button for this fix. If there is more than one - * possible fixes, they will displayed instead horizontally (via getCustomArea). + * Returns the buttons to display: "OK" is always displayed. In addition, if there is + * only one fix, we provide one button for this fix. If there is more than one + * possible fixes, they will displayed instead horizontally (via getCustomArea). */ private static String[] getButtons(List<IFix> fixes) { String[] res = new String[fixes.size() == 1 ? 2 : 1]; @@ -150,11 +150,7 @@ public class ConstraintUIBases { return res; } - // TODO (FH): remove @params or document - /** - * @param s - * @return the icon type corresponding to <code>s</code>. - */ + /** Returns the icon type corresponding to <code>s</code>. */ private static String getTitle(IConstraintInstanceStatus s) { if(s instanceof FailedConstraintInstanceStatus) { return "Verification of constraint failed"; @@ -162,10 +158,7 @@ public class ConstraintUIBases { return "Error during constraint verification"; } - /** - * @param s - * @return the icon type corresponding to <code>s</code>. - */ + /** Returns the icon type corresponding to <code>s</code>. */ private static int getIconType(IConstraintInstanceStatus s) { return s instanceof FailedConstraintInstanceStatus ? MessageDialog.WARNING : ERROR; }