modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/components/table/BooleanCellFormatter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 917f52644a84f3bed85ff35e9ddd6ca13d10c759 Author: Ian Springer ian.springer@redhat.com Date: Fri Jan 14 17:25:10 2011 -0500
fix bug where enabled icon was used for false and disabled icon for true, rather than the other way around
diff --git a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/components/table/BooleanCellFormatter.java b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/components/table/BooleanCellFormatter.java index 1b709f3..1d3e13f 100644 --- a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/components/table/BooleanCellFormatter.java +++ b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/components/table/BooleanCellFormatter.java @@ -21,7 +21,7 @@ public class BooleanCellFormatter implements CellFormatter { if (value == null) { imageUrl = ICON_URL_NULL; } else if (value instanceof Boolean) { - imageUrl = ((Boolean) value) ? ICON_URL_FALSE : ICON_URL_TRUE; + imageUrl = ((Boolean) value) ? ICON_URL_TRUE : ICON_URL_FALSE; } else { throw new IllegalArgumentException("value parameter is not a Boolean."); }
rhq-commits@lists.fedorahosted.org