summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarsten Drossel2009-01-09 11:35:30 (EST)
committerCarsten Drossel2009-01-09 11:35:30 (EST)
commit9532a62df22511852de2ef91ef4d86a105c8f0de (patch)
treeb1a9f75f625f555fb262c72c1275f6db71d93045
parent838d89409b403a8989b5edd7a20dc464cef897ef (diff)
downloadorg.eclipse.riena-9532a62df22511852de2ef91ef4d86a105c8f0de.zip
org.eclipse.riena-9532a62df22511852de2ef91ef4d86a105c8f0de.tar.gz
org.eclipse.riena-9532a62df22511852de2ef91ef4d86a105c8f0de.tar.bz2
fixed checkstyle warning
-rw-r--r--org.eclipse.riena.example.client/src/org/eclipse/riena/example/client/controllers/MarkerSubModuleController.java19
1 files changed, 8 insertions, 11 deletions
diff --git a/org.eclipse.riena.example.client/src/org/eclipse/riena/example/client/controllers/MarkerSubModuleController.java b/org.eclipse.riena.example.client/src/org/eclipse/riena/example/client/controllers/MarkerSubModuleController.java
index c4342ce..a195fb6 100644
--- a/org.eclipse.riena.example.client/src/org/eclipse/riena/example/client/controllers/MarkerSubModuleController.java
+++ b/org.eclipse.riena.example.client/src/org/eclipse/riena/example/client/controllers/MarkerSubModuleController.java
@@ -13,6 +13,10 @@ package org.eclipse.riena.example.client.controllers;
import java.util.Arrays;
import java.util.List;
+import org.eclipse.core.databinding.observable.list.WritableList;
+import org.eclipse.core.databinding.observable.value.WritableValue;
+import org.eclipse.core.databinding.validation.IValidator;
+import org.eclipse.core.runtime.IStatus;
import org.eclipse.riena.example.client.model.Person;
import org.eclipse.riena.example.client.model.TestBean;
import org.eclipse.riena.example.client.views.TextSubModuleView;
@@ -37,11 +41,6 @@ import org.eclipse.riena.ui.ridgets.tree2.TreeNode;
import org.eclipse.riena.ui.ridgets.util.beans.WordNode;
import org.eclipse.riena.ui.ridgets.validation.ValidationRuleStatus;
-import org.eclipse.core.databinding.observable.list.WritableList;
-import org.eclipse.core.databinding.observable.value.WritableValue;
-import org.eclipse.core.databinding.validation.IValidator;
-import org.eclipse.core.runtime.IStatus;
-
/**
* Controller for the {@link TextSubModuleView} example.
*/
@@ -157,12 +156,10 @@ public class MarkerSubModuleController extends SubModuleController {
for (IMarkableRidget ridget : markables) {
ridget.setErrorMarked(isError);
}
- /*
- * using this "always wrong" validator for purposes of this
- * demo. It prevents the error marker being removed from the
- * text field on the next revalidation (i.e. when the user
- * types).
- */
+ // using this "always wrong" validator for purposes of this
+ // demo. It prevents the error marker being removed from the
+ // text field on the next revalidation (i.e. when the user
+ // types).
if (isError) {
textName.addValidationRule(alwaysWrong, ValidationTime.ON_UI_CONTROL_EDIT);
textPrice.addValidationRule(alwaysWrong, ValidationTime.ON_UI_CONTROL_EDIT);