]> git.proxmox.com Git - mirror_edk2.git/blobdiff - Tools/Source/FrameworkTasks/org/tianocore/framework/tasks/FfsHeader.java
- Fixed EDKT146; The override warning message has been reduced to almost none.
[mirror_edk2.git] / Tools / Source / FrameworkTasks / org / tianocore / framework / tasks / FfsHeader.java
index 452f65394e1b0113626285e4c0fc3162032cfa9d..24cb3df266208d843669be6b5cf4c40cc8d8540f 100644 (file)
@@ -52,7 +52,7 @@ public class FfsHeader {
         **/     \r
         public void bufferToStruct (byte[] dataBuffer){\r
             if (dataBuffer.length != 16) {\r
-                throw new BuildException ("Buffer is not fitting GUID type!");\r
+                throw new BuildException ("Buffer is not sized [" + dataBuffer.length + "] for data type, GUID!");\r
             }\r
 \r
             data1 = (int)(dataBuffer[3]& 0xff);\r
@@ -110,7 +110,7 @@ public class FfsHeader {
       \r
       This class is used to record the struct of checksum.\r
     **/\r
-    public class integrityCheckSum {\r
+    public class IntegrityCheckSum {\r
         byte header;\r
         byte file;\r
     }\r
@@ -123,7 +123,7 @@ public class FfsHeader {
     ///\r
     /// CheckSum\r
     ///\r
-    integrityCheckSum integrityCheck = new integrityCheckSum();\r
+    IntegrityCheckSum integrityCheck = new IntegrityCheckSum();\r
 \r
     ///\r
     /// File type\r