From 82001403b4996d9e334596388c187bf158feb7a7 Mon Sep 17 00:00:00 2001
From: ctsfi <ctsfi@MSI>
Date: Tue, 15 Sep 2020 18:13:03 -0700
Subject: [PATCH] WORK YOU ANIMAL!

---
 .../homework4/White/working/PDUReciever.java    |  2 +-
 .../White/working/WhiteSimulation.java          | 17 ++++++-----------
 2 files changed, 7 insertions(+), 12 deletions(-)

diff --git a/assignments/src/MV3500Cohort2020JulySeptember/homework4/White/working/PDUReciever.java b/assignments/src/MV3500Cohort2020JulySeptember/homework4/White/working/PDUReciever.java
index e209c43ff5..8266723a66 100755
--- a/assignments/src/MV3500Cohort2020JulySeptember/homework4/White/working/PDUReciever.java
+++ b/assignments/src/MV3500Cohort2020JulySeptember/homework4/White/working/PDUReciever.java
@@ -65,7 +65,7 @@ public class PDUReciever {
 
                 socket1.receive(packet);
                 
-                
+               
                 
                 List<Pdu> pduBundle = pduFactory.getPdusFromBundle(packet.getData(), packet.getLength());
                 if (pduBundle.size() > 1) { // should be 1 for this project
diff --git a/assignments/src/MV3500Cohort2020JulySeptember/homework4/White/working/WhiteSimulation.java b/assignments/src/MV3500Cohort2020JulySeptember/homework4/White/working/WhiteSimulation.java
index 9a639fc90e..0f4acd37f8 100644
--- a/assignments/src/MV3500Cohort2020JulySeptember/homework4/White/working/WhiteSimulation.java
+++ b/assignments/src/MV3500Cohort2020JulySeptember/homework4/White/working/WhiteSimulation.java
@@ -329,7 +329,7 @@ public class WhiteSimulation
                                 firePdu.setMunitionExpendibleID(HEID);
                                 
                             //
-        
+                                
                                 
                                 CommentReliablePdu bmpDestroyedComment = pduFactory.makeCommentReliablePdu("BMP2 DESTROYED BY LAV25-A2 AFTER TWO BURSTS OF 25mm HEI-T ON TARGET");
                                 CommentReliablePdu bmpSightedComment = pduFactory.makeCommentReliablePdu("LAV25-A2 ACQUIRES TARGET BMP2 WITHIN FIRING DISTANCE");
@@ -337,16 +337,11 @@ public class WhiteSimulation
         
         
                 ResupplyOfferPdu resupplyOfferPdu = pduFactory.makeResupplyOfferPdu();
-        ArrayList<SupplyQuantity> pSupplies = new ArrayList<SupplyQuantity>();
-        SupplyQuantity ammoSupplyQ = new SupplyQuantity();
-        ammoSupplyQ.setSupplyType(HEType);
-        ammoSupplyQ.setQuantity(500);
-
-        //EntityType ammoSupply = new EntityType();
-       // ammoSupply.setEntityKind(EntityKind.MUNITION);
-        //ammoSupply.setDomain(Entity)
-        //ammoSupplyQ.setSupplyType(EntityType.)
-        pSupplies.add(ammoSupplyQ);
+            ArrayList<SupplyQuantity> pSupplies = new ArrayList<SupplyQuantity>();
+            SupplyQuantity ammoSupplyQ = new SupplyQuantity();
+            ammoSupplyQ.setSupplyType(HEType);
+            ammoSupplyQ.setQuantity(500);
+            pSupplies.add(ammoSupplyQ);
             resupplyOfferPdu.setSupplies(pSupplies);
             resupplyOfferPdu.setReceivingEntityID(lavID);
             resupplyOfferPdu.setSupplyingEntityID(bmpID);
-- 
GitLab