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

typecasting to (byte) no longer required

parent 0e19d36e
No related branches found
No related tags found
No related merge requests found
...@@ -38,9 +38,9 @@ public class EntityStatePduTest extends PduTest ...@@ -38,9 +38,9 @@ public class EntityStatePduTest extends PduTest
.setEntityKind (EntityKind.PLATFORM).setEntityKind(EntityKind.PLATFORM) //(short) 1); // Platform (vs lifeform, munition, sensor, etc.); //(short) 1); // Platform (vs lifeform, munition, sensor, etc.) .setEntityKind (EntityKind.PLATFORM).setEntityKind(EntityKind.PLATFORM) //(short) 1); // Platform (vs lifeform, munition, sensor, etc.); //(short) 1); // Platform (vs lifeform, munition, sensor, etc.)
.setCountry (Country.UNITED_STATES_OF_AMERICA_USA) // 225 USA .setCountry (Country.UNITED_STATES_OF_AMERICA_USA) // 225 USA
.setDomain (Domain.inst(PlatformDomain.LAND)) // Land (vs air, surface, subsurface, space) .setDomain (Domain.inst(PlatformDomain.LAND)) // Land (vs air, surface, subsurface, space)
.setCategory ((byte) 1) // Tank .setCategory (1) // Tank
.setSubCategory((byte) 1) // M1 Abrams .setSubCategory(1) // M1 Abrams
.setSpecific ((byte) 3); // M1A2 Abrams .setSpecific (3); // M1A2 Abrams
espdu.setEntityType(entityType); espdu.setEntityType(entityType);
// TODO this is screaming for utility methods... // TODO this is screaming for utility methods...
EntityMarking entityMarking = new EntityMarking().setCharacters("Espdu Test1".getBytes()); EntityMarking entityMarking = new EntityMarking().setCharacters("Espdu Test1".getBytes());
......
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