Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDerric Tubbs2014-01-03 15:41:55 +0000
committerDerric Tubbs2014-01-03 15:41:55 +0000
commitb3f1333e5abbf4df11687361627b3632b95bf730 (patch)
tree79bef3be8ac49e301c643bf1ca128abae0afe0ed /plugins
parentada0190ee766d0f4a8bc1ad786dd7ef197c585f3 (diff)
downloadorg.eclipse.osee-b3f1333e5abbf4df11687361627b3632b95bf730.tar.gz
org.eclipse.osee-b3f1333e5abbf4df11687361627b3632b95bf730.tar.xz
org.eclipse.osee-b3f1333e5abbf4df11687361627b3632b95bf730.zip
bug[ats_08634]: CharElement logs warning at wrong time
CharElement had boolean logic to log a warning when not byte-aligned and the logic was backward. Signed-off-by: Derric Tubbs <derric.l.tubbs@boeing.com>
Diffstat (limited to 'plugins')
-rw-r--r--plugins/org.eclipse.osee.ote.core/src/org/eclipse/osee/ote/message/elements/CharElement.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/org.eclipse.osee.ote.core/src/org/eclipse/osee/ote/message/elements/CharElement.java b/plugins/org.eclipse.osee.ote.core/src/org/eclipse/osee/ote/message/elements/CharElement.java
index 52973d3d44..0b492b6d48 100644
--- a/plugins/org.eclipse.osee.ote.core/src/org/eclipse/osee/ote/message/elements/CharElement.java
+++ b/plugins/org.eclipse.osee.ote.core/src/org/eclipse/osee/ote/message/elements/CharElement.java
@@ -370,7 +370,7 @@ public class CharElement extends DiscreteElement<Character> {
setValue(value.charAt(0));
break;
default:
- if (lsb == 7 && msb == 0) {
+ if (!(lsb == 7 && msb == 0)) {
OseeLog.log(
getClass(),
Level.SEVERE,

Back to the top