Commits

David Carr committed 113c5e2

Remove double "m" in "programm".

  • Participants
  • Parent commits 17c9adb

Comments (0)

Files changed (1)

plugins/scm-hg-plugin/src/main/java/sonia/scm/installer/WindowsHgInstaller.java

   private String getRegistryValue(String key, String subKey,
                                   String defaultValue)
   {
-    String programmDirectory = defaultValue;
+    String programDirectory = defaultValue;
     SimpleCommand command = null;
 
     if (subKey != null)
 
           if (index > 0)
           {
-            programmDirectory = line.substring(index
+            programDirectory = line.substring(index
                                                + "REG_SZ".length()).trim();
 
-            if (programmDirectory.startsWith("\""))
+            if (programDirectory.startsWith("\""))
             {
-              programmDirectory = programmDirectory.substring(1);
-              programmDirectory = programmDirectory.substring(0,
-                      programmDirectory.indexOf("\""));
+              programDirectory = programDirectory.substring(1);
+              programDirectory = programDirectory.substring(0,
+                      programDirectory.indexOf("\""));
             }
 
             if (logger.isDebugEnabled())
             {
-              logger.debug("use programm directory {}", programmDirectory);
+              logger.debug("use program directory {}", programDirectory);
             }
 
             break;
       logger.error(ex.getMessage(), ex);
     }
 
-    return programmDirectory;
+    return programDirectory;
   }
 }