Author: adietish
Date: 2011-10-11 10:39:05 -0400 (Tue, 11 Oct 2011)
New Revision: 35536
Modified:
trunk/common/plugins/org.jboss.tools.common.ui/src/org/jboss/tools/common/ui/databinding/Status2BooleanConverter.java
Log:
[JBIDE-9793] cleanup: removed commented code, removed sys.err output
Modified:
trunk/common/plugins/org.jboss.tools.common.ui/src/org/jboss/tools/common/ui/databinding/Status2BooleanConverter.java
===================================================================
---
trunk/common/plugins/org.jboss.tools.common.ui/src/org/jboss/tools/common/ui/databinding/Status2BooleanConverter.java 2011-10-11
10:37:51 UTC (rev 35535)
+++
trunk/common/plugins/org.jboss.tools.common.ui/src/org/jboss/tools/common/ui/databinding/Status2BooleanConverter.java 2011-10-11
14:39:05 UTC (rev 35536)
@@ -46,22 +46,9 @@
}
int current = ((IStatus) fromObject).getSeverity();
-// switch (severity) {
-// default:
-// case IStatus.ERROR:
-// return current != IStatus.ERROR;
-// case IStatus.WARNING:
-// return current != IStatus.WARNING;
-// case IStatus.INFO:
-// return current != IStatus.INFO;
-// case IStatus.OK:
-// return current != IStatus.OK;
-// }
if (current == IStatus.OK) {
- System.err.println("converter result = " + (severity == IStatus.OK) +
"<- current = " + current + " configured = " + severity);
return severity == IStatus.OK;
}
- System.err.println("converter result = " + ((severity | current) ==
severity));
return (severity | current) == severity;
}
}
\ No newline at end of file