]> git.proxmox.com Git - mirror_edk2.git/blobdiff - Tools/Source/MigrationTools/org/tianocore/migration/SourceFileReplacer.java
Faint!change messages cause error, this is an revert
[mirror_edk2.git] / Tools / Source / MigrationTools / org / tianocore / migration / SourceFileReplacer.java
index dbe981ef94adccedf98431c51986348b2b1c969f..34eb6be45478750a83e6d5523c772cf4854bbba7 100644 (file)
@@ -71,7 +71,7 @@ public class SourceFileReplacer {
                PrintWriter outfile;\r
                String outname = null;\r
                String inname = null;\r
-               if (ui.yesOrNo("Changes will be made to the Source Code.  View details?")) {\r
+               if (ui.yesOrNo("Change Source Code is to be doing . See details ?")) {\r
                        showdetails = true;\r
                }\r
                \r
@@ -84,7 +84,7 @@ public class SourceFileReplacer {
                                } else {\r
                                        outname = inname;\r
                                }\r
-                               ui.println("\nModifying file: " + inname);\r
+                               ui.println("\nModifying file : " + inname);\r
                                mi.ensureDir(modulepath + File.separator + "result" + File.separator + outname);\r
                                outfile = new PrintWriter(new BufferedWriter(new FileWriter(modulepath + File.separator + "result" + File.separator + outname)));\r
                                outfile.append(sourcefilereplace(modulepath + File.separator + "temp" + File.separator + inname));\r
@@ -96,7 +96,7 @@ public class SourceFileReplacer {
                                } else {\r
                                        outname = inname;\r
                                }\r
-                               ui.println("\nCopying file: " + inname);\r
+                               ui.println("\nCopying file : " + inname);\r
                                mi.ensureDir(modulepath + File.separator + "result" + File.separator + outname);\r
                                outfile = new PrintWriter(new BufferedWriter(new FileWriter(modulepath + File.separator + "result" + File.separator + outname)));\r
                                outfile.append(sourcefiletostring(modulepath + File.separator + "temp" + File.separator + inname));\r
@@ -173,7 +173,7 @@ public class SourceFileReplacer {
                // replace BS -> gBS , RT -> gRT\r
                Matcher mat = pat.matcher(line);\r
                if (mat.find()) {                                                                                               // add a library here\r
-                       ui.println("Converting all BS->gBS, RT->gRT");\r
+                       ui.println("Converting all BS->gBS,RT->gRT");\r
                        line = mat.replaceAll("g$1$2$3");                                                       //unknown correctiveness\r
                }\r
                mat.reset();\r