X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=Tools%2FSource%2FFrameworkTasks%2Forg%2Ftianocore%2Fframework%2Ftasks%2FTool.java;h=4cc4d374c43136b7a3a6eaaf0de712d62fd57c1e;hp=67e0a865a675abaebd1c8c751e52594124ee61c3;hb=87379bbecf036195249649680b958e501dc952a5;hpb=9c7790d2cb87584ac2a844f0757142edebd35f71 diff --git a/Tools/Source/FrameworkTasks/org/tianocore/framework/tasks/Tool.java b/Tools/Source/FrameworkTasks/org/tianocore/framework/tasks/Tool.java index 67e0a865a6..4cc4d374c4 100644 --- a/Tools/Source/FrameworkTasks/org/tianocore/framework/tasks/Tool.java +++ b/Tools/Source/FrameworkTasks/org/tianocore/framework/tasks/Tool.java @@ -39,7 +39,7 @@ public class Tool implements EfiDefine, Section { @param buffer The buffer to put the result with alignment **/ - public void toBuffer (DataOutputStream buffer, DataOutputStream orgBuffer){ + public void toBuffer (DataOutputStream buffer){ File OutputFile; byte data; @@ -72,10 +72,6 @@ public class Tool implements EfiDefine, Section { while (i < fileLen) { data = In.readByte(); buffer.writeByte(data); - // - // Add data to org file - // - orgBuffer.writeByte(data); i ++; } @@ -85,7 +81,6 @@ public class Tool implements EfiDefine, Section { while ((fileLen & 0x03) != 0) { fileLen++; buffer.writeByte(0); - orgBuffer.writeByte(0); } In.close();