Skip to content
Snippets Groups Projects
Commit d22be3fa authored by Brutzman, Don's avatar Brutzman, Don
Browse files

clear warning

parent 7039e52a
No related branches found
No related tags found
No related merge requests found
......@@ -44,7 +44,6 @@ public class PduFactory
private final DisTime disTime;
private Method getTime;
private boolean useFastPdu = false;
/** We can marshal the PDU with a timestamp set to any of several styles.
* Remember, you MUST set a timestamp. DIS will regard multiple packets sent
......@@ -120,15 +119,6 @@ public class PduFactory
}
}
/**
* Use the default or fast method to create EntityState pdus from input byte streams.
* @param tf true if fast method
*/
public void useFastEspdu(boolean tf)
{
useFastPdu = tf;
}
/** Retrieve the current timestamp in the time stamp style set at factory
* instantiation.
* @return the current timestamp in the time stamp style set at factory
......@@ -1539,12 +1529,7 @@ public class PduFactory
// NOTE: 'OTHER' is a valid pduTypeEnum, but has no corresponding object
case ENTITY_STATE:
// if the user has created the factory requesting that he get fast espdus back, give him those.
if (useFastPdu) {
aPdu = new FastEntityStatePdu();
}
else {
aPdu = new EntityStatePdu();
}
aPdu = new EntityStatePdu();
break;
case FIRE:
......@@ -1896,7 +1881,7 @@ public class PduFactory
if (nextByte != 0)
{
remainingNonZeroDataFound = true;
continue;
// continue;
}
}
if (!remainingNonZeroDataFound)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment