]> git.proxmox.com Git - mirror_edk2.git/blobdiff - Tools/Source/MigrationTools/org/tianocore/migration/FirstPanel.java
Changed spelling to manifest
[mirror_edk2.git] / Tools / Source / MigrationTools / org / tianocore / migration / FirstPanel.java
index 95266fc42f4c14896a40092ecc0fcbfaa2554b87..6b899c89d0bf9637acabf0d971c168de95486428 100644 (file)
@@ -26,7 +26,7 @@ public final class FirstPanel extends JPanel implements ActionListener, ItemList
     \r
     private static final FirstPanel INSTANCE = FirstPanel.init();\r
     \r
-    private String startpath;\r
+    private String startpath = null;\r
     \r
     private JButton moduleButton, goButton, msaEditorButton, criticButton, specifyCommentButton;\r
     private JTextField moduletext;\r
@@ -180,7 +180,7 @@ public final class FirstPanel extends JPanel implements ActionListener, ItemList
         }\r
         if ( e.getSource() == goButton ) {\r
             try {\r
-                logfile = new PrintWriter(new BufferedWriter(new FileWriter(startpath.replaceAll(Common.strseparate, "$1") + File.separator + "migration.log")));\r
+                logfile = new PrintWriter(new BufferedWriter(new FileWriter(startpath.replaceAll(Common.STRSEPARATER, "$1") + File.separator + "migration.log")));\r
                 MigrationTool.startMigrateAll(startpath);\r
                 logfile.flush();\r
                 logfile.close();\r