Kaydet (Commit) 430f47b9 authored tarafından Ivo Hinkelmann's avatar Ivo Hinkelmann

INTEGRATION: CWS qadev29 (1.3.8); FILE MERGED

2007/03/05 08:22:46 lla 1.3.8.1: #144950# concurrency problem solution
üst 62e8863e
...@@ -75,22 +75,19 @@ public class DB extends DBHelper ...@@ -75,22 +75,19 @@ public class DB extends DBHelper
private static String getEnvironment() private static String getEnvironment()
{ {
if (System.getProperty("os.name").toLowerCase().startsWith("windows")) if (OSHelper.isWindows())
{ {
return "wntmsci"; return "wntmsci";
} }
else if (System.getProperty("os.name").toLowerCase().startsWith("solaris") && else if ( OSHelper.isSolarisIntel())
System.getProperty("os.arch").equals("x86"))
{ {
return "unxsoli"; return "unxsoli";
} }
else if (System.getProperty("os.name").toLowerCase().startsWith("solaris") && else if ( OSHelper.isSolarisSparc())
System.getProperty("os.arch").equals("sparc"))
{ {
return "unxsols"; return "unxsols";
} }
else if (System.getProperty("os.name").toLowerCase().startsWith("linux") && else if ( OSHelper.isLinuxIntel())
System.getProperty("os.arch").equals("i386"))
{ {
return "unxlngi"; return "unxlngi";
} }
......
...@@ -4,9 +4,9 @@ ...@@ -4,9 +4,9 @@
* *
* $RCSfile: GlobalLogWriter.java,v $ * $RCSfile: GlobalLogWriter.java,v $
* *
* $Revision: 1.3 $ * $Revision: 1.4 $
* *
* last change: $Author: vg $ $Date: 2006-11-21 14:09:48 $ * last change: $Author: ihi $ $Date: 2007-06-04 13:30:01 $
* *
* The Contents of this file are made available subject to * The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1. * the terms of GNU Lesser General Public License Version 2.1.
...@@ -51,6 +51,11 @@ public class GlobalLogWriter ...@@ -51,6 +51,11 @@ public class GlobalLogWriter
return m_aGlobalLogWriter; return m_aGlobalLogWriter;
} }
// public static synchronized void initialize()
// {
// get().initialize(null, true);
// }
public static synchronized void set(LogWriter _aLog) public static synchronized void set(LogWriter _aLog)
{ {
m_aGlobalLogWriter = _aLog; m_aGlobalLogWriter = _aLog;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment