Blame SOURCES/0001-logfactor5-changed-userdir.patch

3d5e44
From bf8f55bbc9baddcb67d0b89edd859f93ce3c949f Mon Sep 17 00:00:00 2001
3d5e44
From: Stanislav Ochotnicky <sochotnicky@redhat.com>
3d5e44
Date: Mon, 17 May 2010 12:57:36 +0200
3d5e44
Subject: [PATCH 01/10] logfactor5 changed userdir
3d5e44
3d5e44
---
3d5e44
 .../lf5/viewer/configure/ConfigurationManager.java |    2 +-
3d5e44
 .../log4j/lf5/viewer/configure/MRUFileManager.java |    6 +++---
3d5e44
 2 files changed, 4 insertions(+), 4 deletions(-)
3d5e44
3d5e44
diff --git a/src/main/java/org/apache/log4j/lf5/viewer/configure/ConfigurationManager.java b/src/main/java/org/apache/log4j/lf5/viewer/configure/ConfigurationManager.java
3d5e44
index a94ffab..81191f2 100644
3d5e44
--- a/src/main/java/org/apache/log4j/lf5/viewer/configure/ConfigurationManager.java
3d5e44
+++ b/src/main/java/org/apache/log4j/lf5/viewer/configure/ConfigurationManager.java
3d5e44
@@ -344,7 +344,7 @@ public class ConfigurationManager extends Object {
3d5e44
     String home = System.getProperty("user.home");
3d5e44
     String sep = System.getProperty("file.separator");
3d5e44
 
3d5e44
-    return home + sep + "lf5" + sep + CONFIG_FILE_NAME;
3d5e44
+    return home + sep + ".logfactor5" + sep + CONFIG_FILE_NAME;
3d5e44
   }
3d5e44
 
3d5e44
   //--------------------------------------------------------------------------
3d5e44
diff --git a/src/main/java/org/apache/log4j/lf5/viewer/configure/MRUFileManager.java b/src/main/java/org/apache/log4j/lf5/viewer/configure/MRUFileManager.java
3d5e44
index 6ff275d..ca40d5a 100644
3d5e44
--- a/src/main/java/org/apache/log4j/lf5/viewer/configure/MRUFileManager.java
3d5e44
+++ b/src/main/java/org/apache/log4j/lf5/viewer/configure/MRUFileManager.java
3d5e44
@@ -175,14 +175,14 @@ public class MRUFileManager {
3d5e44
 
3d5e44
   /**
3d5e44
    * Creates the directory where the MRU file list will be written.
3d5e44
-   * The "lf5" directory is created in the Documents and Settings
3d5e44
+   * The ".logfactor5" directory is created in the Documents and Settings
3d5e44
    * directory on Windows 2000 machines and where ever the user.home
3d5e44
    * variable points on all other platforms.
3d5e44
    */
3d5e44
   public static void createConfigurationDirectory() {
3d5e44
     String home = System.getProperty("user.home");
3d5e44
     String sep = System.getProperty("file.separator");
3d5e44
-    File f = new File(home + sep + "lf5");
3d5e44
+    File f = new File(home + sep + ".logfactor5");
3d5e44
     if (!f.exists()) {
3d5e44
       try {
3d5e44
         f.mkdir();
3d5e44
@@ -268,7 +268,7 @@ public class MRUFileManager {
3d5e44
     String home = System.getProperty("user.home");
3d5e44
     String sep = System.getProperty("file.separator");
3d5e44
 
3d5e44
-    return home + sep + "lf5" + sep + CONFIG_FILE_NAME;
3d5e44
+    return home + sep + ".logfactor5" + sep + CONFIG_FILE_NAME;
3d5e44
   }
3d5e44
 
3d5e44
   /**
3d5e44
-- 
3d5e44
1.6.6.1
3d5e44