From 8771dfb0cbbeee1242b792aaedc2a1bfda211a86 Mon Sep 17 00:00:00 2001
From: Vincent Aravantinos <aravantinos@fortiss.org>
Date: Wed, 8 Nov 2017 15:27:44 +0000
Subject: [PATCH] YELLOW

---
 .../ui/extension/base/ConstraintUIBases.java  | 19 ++++++-------------
 1 file changed, 6 insertions(+), 13 deletions(-)

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 17d322817..3a3908bbc 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;
 			}
-- 
GitLab