diff --git a/src/edu/nps/moves/dis7/utilities/PduFactory.java b/src/edu/nps/moves/dis7/utilities/PduFactory.java index 4a8a780a457edc33d2dd1b2d09f99f43de4645e4..cb53d6abd198ad5ccbb47b07de13031d1ce6059c 100644 --- a/src/edu/nps/moves/dis7/utilities/PduFactory.java +++ b/src/edu/nps/moves/dis7/utilities/PduFactory.java @@ -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)