]> git.proxmox.com Git - mirror_edk2.git/blobdiff - Tools/Source/MigrationTools/org/tianocore/migration/ModuleReader.java
Fixed grammar in messages.
[mirror_edk2.git] / Tools / Source / MigrationTools / org / tianocore / migration / ModuleReader.java
index d92b74cd015559d16bda59c446c2000f6c87db4a..3f379b7256f5a822358d2e30bac50bd30ca811b1 100644 (file)
@@ -1,3 +1,15 @@
+/** @file\r
\r
+ Copyright (c) 2006, Intel Corporation\r
+ All rights reserved. This program and the accompanying materials\r
+ are licensed and made available under the terms and conditions of the BSD License\r
+ which accompanies this distribution.  The full text of the license may be found at\r
+ http://opensource.org/licenses/bsd-license.php\r
\r
+ THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
\r
+ **/\r
 package org.tianocore.migration;\r
 \r
 import java.io.*;\r
@@ -32,13 +44,13 @@ public class ModuleReader {
                Iterator<FilenameDocument.Filename> li = sourcefiles.getFilenameList().iterator();\r
                while (li.hasNext()) {\r
                        if (!mi.localmodulesources.contains(temp = li.next().toString())) {\r
-                               System.out.println("Source File Missing ! : " + temp);\r
+                               System.out.println("Source File Missing! : " + temp);\r
                        }\r
                }\r
        }\r
        \r
        public void readInf(String name) throws Exception {\r
-               System.out.println("Reading From Inf : " + name);\r
+               System.out.println("Parsing INF file: " + name);\r
                BufferedReader rd = new BufferedReader(new FileReader(modulepath + File.separator + name));\r
                String line;\r
                String[] linecontext;\r
@@ -54,7 +66,7 @@ public class ModuleReader {
                                                linecontext = line.split(" ");\r
                                                if (linecontext[2].length() != 0) {\r
                                                        if (!mi.localmodulesources.contains(linecontext[2])) {\r
-                                                               System.out.println("Source File Missing ! : " + linecontext[2]);\r
+                                                               System.out.println("Source File Missing! : " + linecontext[2]);\r
                                                        }\r
                                                }\r
                                        }\r
@@ -80,4 +92,4 @@ public class ModuleReader {
                        }\r
                }\r
        }\r
-}
\ No newline at end of file
+}\r