]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.debug.browser/src/org/simantics/debug/browser/internal/SCL.java
Fixed all line endings of the repository
[simantics/platform.git] / bundles / org.simantics.debug.browser / src / org / simantics / debug / browser / internal / SCL.java
index 8c529b03f6a0f14532a774c28e45401864e5dd20..a539b42bd0cc038e47b9f9cbf8b73da3f1977959 100644 (file)
@@ -1,46 +1,46 @@
-/*******************************************************************************\r
- * Copyright (c) 2016 Association for Decentralized Information Management\r
- * in Industry THTH ry.\r
- * All rights reserved. This program and the accompanying materials\r
- * are made available under the terms of the Eclipse Public License v1.0\r
- * which accompanies this distribution, and is available at\r
- * http://www.eclipse.org/legal/epl-v10.html\r
- *\r
- * Contributors:\r
- *     THTH ry - initial API and implementation\r
- *******************************************************************************/\r
-package org.simantics.debug.browser.internal;\r
-\r
-import java.net.URL;\r
-\r
-import org.simantics.scl.runtime.reporting.SCLReporting;\r
-\r
-/**\r
- * @author Tuukka Lehtonen / Semantum Oy\r
- */\r
-public class SCL {\r
-\r
-    public static void startDebugServer() throws Exception {\r
-        Activator activator = Activator.getDefault();\r
-        DebugBrowserServer server = activator.getDebugServer();\r
-        if (server == null) {\r
-            server = activator.startDebugServer();\r
-            SCLReporting.print("Started debug server at " + server.getURL());\r
-        } else {\r
-            SCLReporting.print("Debug server is already running at " + server.getURL());\r
-        }\r
-    }\r
-\r
-    public static void stopDebugServer() throws Exception {\r
-        Activator activator = Activator.getDefault();\r
-        DebugBrowserServer server = activator.getDebugServer();\r
-        if (server != null) {\r
-            URL url = server.getURL();\r
-            activator.stopDebugServer();\r
-            SCLReporting.print("Stopped debug server that was running at " + url);\r
-        } else {\r
-            SCLReporting.print("Debug server is not running.");\r
-        }\r
-    }\r
-\r
-}\r
+/*******************************************************************************
+ * Copyright (c) 2016 Association for Decentralized Information Management
+ * in Industry THTH ry.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ *     THTH ry - initial API and implementation
+ *******************************************************************************/
+package org.simantics.debug.browser.internal;
+
+import java.net.URL;
+
+import org.simantics.scl.runtime.reporting.SCLReporting;
+
+/**
+ * @author Tuukka Lehtonen / Semantum Oy
+ */
+public class SCL {
+
+    public static void startDebugServer() throws Exception {
+        Activator activator = Activator.getDefault();
+        DebugBrowserServer server = activator.getDebugServer();
+        if (server == null) {
+            server = activator.startDebugServer();
+            SCLReporting.print("Started debug server at " + server.getURL());
+        } else {
+            SCLReporting.print("Debug server is already running at " + server.getURL());
+        }
+    }
+
+    public static void stopDebugServer() throws Exception {
+        Activator activator = Activator.getDefault();
+        DebugBrowserServer server = activator.getDebugServer();
+        if (server != null) {
+            URL url = server.getURL();
+            activator.stopDebugServer();
+            SCLReporting.print("Stopped debug server that was running at " + url);
+        } else {
+            SCLReporting.print("Debug server is not running.");
+        }
+    }
+
+}