summaryrefslogtreecommitdiff
path: root/java/src/MessageQueue.java
diff options
context:
space:
mode:
authorpjain <pjain@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1996-12-03 19:47:31 +0000
committerpjain <pjain@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1996-12-03 19:47:31 +0000
commit396c1af1a7fc8d0c69c7347fb59c044c85e377fc (patch)
tree8b8fd763c1bd035832b44d4e10a8cf0cb8a57bbc /java/src/MessageQueue.java
parentb31866f2bf8bce7a481293812c1c96557263eef4 (diff)
downloadATCD-396c1af1a7fc8d0c69c7347fb59c044c85e377fc.tar.gz
Fixed a bunch of typos which I made earlier in trying to fix a bug.
Diffstat (limited to 'java/src/MessageQueue.java')
-rw-r--r--java/src/MessageQueue.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/java/src/MessageQueue.java b/java/src/MessageQueue.java
index 76c60a8d933..fe3e274fd6d 100644
--- a/java/src/MessageQueue.java
+++ b/java/src/MessageQueue.java
@@ -462,7 +462,7 @@ public class MessageQueue
this.tail_ = newItem;
}
- if (item.msgType() != MessageType.MB_OBJECT)
+ if (newItem.msgType() != MessageType.MB_OBJECT)
{
// Make sure to count *all* the bytes in a composite message!!!
for (MessageBlock temp = newItem;
@@ -490,7 +490,7 @@ public class MessageQueue
this.head_ = newItem;
- if (item.msgType() != MessageType.MB_OBJECT)
+ if (newItem.msgType() != MessageType.MB_OBJECT)
{
// Make sure to count *all* the bytes in a composite message!!!
for (MessageBlock temp = newItem;
@@ -550,7 +550,7 @@ public class MessageQueue
}
}
- if (item.msgType() != MessageType.MB_OBJECT)
+ if (newItem.msgType() != MessageType.MB_OBJECT)
{
// Make sure to count *all* the bytes in a composite message!!!
for (MessageBlock temp = newItem;
@@ -571,7 +571,7 @@ public class MessageQueue
if (this.head_ == null)
this.tail_ = null;
- if (item.msgType() != MessageType.MB_OBJECT)
+ if (firstItem.msgType() != MessageType.MB_OBJECT)
{
// Make sure to subtract off all of the bytes associated with this
// message.