support for CAPTCHAs
[mir.git] / source / mir / config / MirPropertiesConfiguration.java
index 71d4132..dff0561 100755 (executable)
@@ -46,21 +46,18 @@ public class MirPropertiesConfiguration extends ExtendedProperties {
 
   private File home;
 
-  /**
-   * Constructor for MirPropertiesConfiguration.
-   */
-  private MirPropertiesConfiguration(ServletContext ctx) throws IOException {
+  private MirPropertiesConfiguration(ServletContext aContext) throws IOException {
     //loading the defaults-config
-    super(ctx.getRealPath("/WEB-INF/") + "/default.properties");
+    super(aContext.getRealPath("/WEB-INF/") + "/default.properties");
 
     //loading the user-config
     ExtendedProperties userConfig =
-      new ExtendedProperties(ctx.getRealPath("/WEB-INF/etc/") + "/config.properties");
+      new ExtendedProperties(aContext.getRealPath("/WEB-INF/etc/") + "/config.properties");
 
     //merging them to one config while overriding the defaults
     this.combine(userConfig);
 
-    home = new File(ctx.getRealPath("/WEB-INF/")+"/");
+    home = new File(aContext.getRealPath("/WEB-INF/")+"/");
   }
 
   public static synchronized MirPropertiesConfiguration instance() {
@@ -100,6 +97,7 @@ public class MirPropertiesConfiguration extends ExtendedProperties {
 
   /**
    * Returns all properties in a Map
+   *
    * @return Map
    */
   public Map allSettings() {