Greg Sheremeta has uploaded a new change for review.

Change subject: webadmin: English grammar fix (isCentralized -> centered)
......................................................................

webadmin: English grammar fix (isCentralized -> centered)

(Patch 4s of 12)

No logic changes. Just a rename.

Change-Id: I792aed38769a0d3aea2aecd75884d85b45b1abe2
Signed-off-by: Greg Sheremeta <[email protected]>
---
M 
frontend/webadmin/modules/gwt-common/src/main/java/org/ovirt/engine/ui/common/widget/table/column/AbstractCheckboxColumn.java
1 file changed, 5 insertions(+), 5 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/31/38631/1

diff --git 
a/frontend/webadmin/modules/gwt-common/src/main/java/org/ovirt/engine/ui/common/widget/table/column/AbstractCheckboxColumn.java
 
b/frontend/webadmin/modules/gwt-common/src/main/java/org/ovirt/engine/ui/common/widget/table/column/AbstractCheckboxColumn.java
index 8e1d3d7..ea54999 100644
--- 
a/frontend/webadmin/modules/gwt-common/src/main/java/org/ovirt/engine/ui/common/widget/table/column/AbstractCheckboxColumn.java
+++ 
b/frontend/webadmin/modules/gwt-common/src/main/java/org/ovirt/engine/ui/common/widget/table/column/AbstractCheckboxColumn.java
@@ -19,7 +19,7 @@
 
 public abstract class AbstractCheckboxColumn<T> extends 
AbstractSortableColumn<T, Boolean> {
 
-    private boolean isCentralized = false;
+    private boolean centered = false;
     private boolean multipleSelectionAllowed = true;
 
     static class EnabledDisabledCheckboxCell extends CheckboxCell implements 
EventHandlingCell {
@@ -70,9 +70,9 @@
         super(new EnabledDisabledCheckboxCell());
     }
 
-    public AbstractCheckboxColumn(boolean isCentralized) {
+    public AbstractCheckboxColumn(boolean centered) {
         super(new EnabledDisabledCheckboxCell());
-        this.isCentralized = isCentralized;
+        this.centered = centered;
     }
 
     public AbstractCheckboxColumn(FieldUpdater<T, Boolean> fieldUpdater) {
@@ -88,7 +88,7 @@
 
     @Override
     public void render(Context context, T object, SafeHtmlBuilder sb) {
-        if (isCentralized) {
+        if (centered) {
             sb.appendHtmlConstant("<div style='text-align: center'>"); 
//$NON-NLS-1$
         }
 
@@ -108,7 +108,7 @@
             super.render(context, object, sb);
         }
 
-        if (isCentralized) {
+        if (centered) {
             sb.appendHtmlConstant("</div>"); //$NON-NLS-1$
         }
     }


-- 
To view, visit https://gerrit.ovirt.org/38631
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I792aed38769a0d3aea2aecd75884d85b45b1abe2
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Greg Sheremeta <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to