]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.db/src/org/simantics/db/DevelopmentKeys.java
Fixed all line endings of the repository
[simantics/platform.git] / bundles / org.simantics.db / src / org / simantics / db / DevelopmentKeys.java
index 1a1763d48f94080f5aa1176d357b72a2bdb744a0..20ba53e512451150b38ca9285fc45b985ddd404f 100644 (file)
@@ -1,69 +1,69 @@
-package org.simantics.db;\r
-\r
-import org.simantics.databoard.Bindings;\r
-import org.simantics.utils.Development;\r
-\r
-public class DevelopmentKeys {\r
-\r
-       final public static String PRINT = "Development.print";\r
-\r
-       final public static String LOGGER_ECHO = trickToInitialize();\r
-       \r
-       final public static String WRITEGRAPH_DEBUG = "WriteGraph.debug";\r
-       final public static String WRITEGRAPH_DEBUG_NAMES = "WriteGraph.debugNames";\r
-       final public static String WRITEGRAPH_DEBUG_STACK = "WriteGraph.debugStack";\r
-\r
-       final public static String WRITEGRAPH_EXCEPTION_STACKTRACES = "WriteGraph.exceptionStacktraces";\r
-       \r
-       final public static String WRITELOGGER_LOG = "WriteLogger.log";\r
-\r
-       final public static String QUERYPROCESSOR_UPDATE = "QueryProcessor.update";\r
-\r
-       final public static String QUERYPROCESSOR_PUT = "QueryProcessor.put";\r
-\r
-       final public static String SESSION_LOG_WRITES = "Session.logWrites";\r
-\r
-       final public static String READGRAPH_COUNT = "ReadGraph.count";\r
-\r
-       final public static String CLUSTERTABLE_VALIDATE_ON_LOAD = "ClusterTable.validateOnLoad";\r
-\r
-       public static void initialize() {\r
-\r
-               if(Development.DEVELOPMENT) {\r
-\r
-                       Development.setProperty(DevelopmentKeys.PRINT, true, Bindings.BOOLEAN);\r
-\r
-                       Development.setProperty(DevelopmentKeys.LOGGER_ECHO, false, Bindings.BOOLEAN);\r
-\r
-                       Development.setProperty(DevelopmentKeys.WRITEGRAPH_DEBUG, false, Bindings.BOOLEAN);\r
-                       Development.setProperty(DevelopmentKeys.WRITEGRAPH_DEBUG_NAMES, false, Bindings.BOOLEAN);\r
-                       Development.setProperty(DevelopmentKeys.WRITEGRAPH_DEBUG_STACK, false, Bindings.BOOLEAN);\r
-\r
-                       Development.setProperty(DevelopmentKeys.WRITEGRAPH_EXCEPTION_STACKTRACES, false, Bindings.BOOLEAN);\r
-\r
-                       Development.setProperty(DevelopmentKeys.READGRAPH_COUNT, false, Bindings.BOOLEAN);\r
-\r
-                       Development.setProperty(DevelopmentKeys.WRITELOGGER_LOG, false, Bindings.BOOLEAN);\r
-\r
-                       Development.setProperty(DevelopmentKeys.QUERYPROCESSOR_UPDATE, false, Bindings.BOOLEAN);\r
-\r
-                       Development.setProperty(DevelopmentKeys.QUERYPROCESSOR_PUT, false, Bindings.BOOLEAN);\r
-\r
-                       Development.setProperty(DevelopmentKeys.SESSION_LOG_WRITES, false, Bindings.BOOLEAN);\r
-                       \r
-                       Development.setProperty(DevelopmentKeys.CLUSTERTABLE_VALIDATE_ON_LOAD, false, Bindings.BOOLEAN);\r
-                       \r
-                       \r
-\r
-               }\r
-\r
-       }\r
-       // This enables to call initialize even if bundle activator is not yet called.\r
-       // This happens when calling from headless junit4 plugin driver and ProCoreServer process does not start.  \r
-       private static String trickToInitialize() {\r
-        return "Logger.echo"; \r
-       }\r
-       static {\r
-        initialize();\r
-       }\r
-}\r
+package org.simantics.db;
+
+import org.simantics.databoard.Bindings;
+import org.simantics.utils.Development;
+
+public class DevelopmentKeys {
+
+       final public static String PRINT = "Development.print";
+
+       final public static String LOGGER_ECHO = trickToInitialize();
+       
+       final public static String WRITEGRAPH_DEBUG = "WriteGraph.debug";
+       final public static String WRITEGRAPH_DEBUG_NAMES = "WriteGraph.debugNames";
+       final public static String WRITEGRAPH_DEBUG_STACK = "WriteGraph.debugStack";
+
+       final public static String WRITEGRAPH_EXCEPTION_STACKTRACES = "WriteGraph.exceptionStacktraces";
+       
+       final public static String WRITELOGGER_LOG = "WriteLogger.log";
+
+       final public static String QUERYPROCESSOR_UPDATE = "QueryProcessor.update";
+
+       final public static String QUERYPROCESSOR_PUT = "QueryProcessor.put";
+
+       final public static String SESSION_LOG_WRITES = "Session.logWrites";
+
+       final public static String READGRAPH_COUNT = "ReadGraph.count";
+
+       final public static String CLUSTERTABLE_VALIDATE_ON_LOAD = "ClusterTable.validateOnLoad";
+
+       public static void initialize() {
+
+               if(Development.DEVELOPMENT) {
+
+                       Development.setProperty(DevelopmentKeys.PRINT, true, Bindings.BOOLEAN);
+
+                       Development.setProperty(DevelopmentKeys.LOGGER_ECHO, false, Bindings.BOOLEAN);
+
+                       Development.setProperty(DevelopmentKeys.WRITEGRAPH_DEBUG, false, Bindings.BOOLEAN);
+                       Development.setProperty(DevelopmentKeys.WRITEGRAPH_DEBUG_NAMES, false, Bindings.BOOLEAN);
+                       Development.setProperty(DevelopmentKeys.WRITEGRAPH_DEBUG_STACK, false, Bindings.BOOLEAN);
+
+                       Development.setProperty(DevelopmentKeys.WRITEGRAPH_EXCEPTION_STACKTRACES, false, Bindings.BOOLEAN);
+
+                       Development.setProperty(DevelopmentKeys.READGRAPH_COUNT, false, Bindings.BOOLEAN);
+
+                       Development.setProperty(DevelopmentKeys.WRITELOGGER_LOG, false, Bindings.BOOLEAN);
+
+                       Development.setProperty(DevelopmentKeys.QUERYPROCESSOR_UPDATE, false, Bindings.BOOLEAN);
+
+                       Development.setProperty(DevelopmentKeys.QUERYPROCESSOR_PUT, false, Bindings.BOOLEAN);
+
+                       Development.setProperty(DevelopmentKeys.SESSION_LOG_WRITES, false, Bindings.BOOLEAN);
+                       
+                       Development.setProperty(DevelopmentKeys.CLUSTERTABLE_VALIDATE_ON_LOAD, false, Bindings.BOOLEAN);
+                       
+                       
+
+               }
+
+       }
+       // This enables to call initialize even if bundle activator is not yet called.
+       // This happens when calling from headless junit4 plugin driver and ProCoreServer process does not start.  
+       private static String trickToInitialize() {
+        return "Logger.echo"; 
+       }
+       static {
+        initialize();
+       }
+}