]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.db.procore/src/fi/vtt/simantics/procore/internal/VirtualServer.java
Dispose ClientChangesImpl ChangeSets to minimize memory footprint
[simantics/platform.git] / bundles / org.simantics.db.procore / src / fi / vtt / simantics / procore / internal / VirtualServer.java
index 0c6598b49f77f0b4290ddd43ea8998f85e8a2477..665fa6097682620f44bbfadea0df19030da02746 100644 (file)
@@ -1,43 +1,43 @@
-package fi.vtt.simantics.procore.internal;\r
-\r
-import org.simantics.db.ServerI;\r
-import org.simantics.db.exception.DatabaseException;\r
-\r
-class VirtualServer implements ServerI {\r
-    private boolean active = false;\r
-\r
-    @Override\r
-    public void start() throws DatabaseException {\r
-        active = true;\r
-    }\r
-\r
-    @Override\r
-    public void stop() throws DatabaseException {\r
-        active = false;\r
-    }\r
-\r
-    @Override\r
-    public boolean isActive() {\r
-        return active;\r
-    }\r
-\r
-    @Override\r
-    public synchronized String getAddress() throws DatabaseException {\r
-        return "";\r
-    }\r
-\r
-//    @Override\r
-//    public synchronized ServerAddress getServerAddress() throws DatabaseException {\r
-//        return new ServerAddress("");\r
-//    }\r
-\r
-    @Override\r
-    public String execute(String command) throws DatabaseException {\r
-        return null;\r
-    }\r
-\r
-    @Override\r
-    public String executeAndDisconnect(String command) throws DatabaseException {\r
-        return null;\r
-    }\r
-}\r
+package fi.vtt.simantics.procore.internal;
+
+import org.simantics.db.ServerI;
+import org.simantics.db.exception.DatabaseException;
+
+class VirtualServer implements ServerI {
+    private boolean active = false;
+
+    @Override
+    public void start() throws DatabaseException {
+        active = true;
+    }
+
+    @Override
+    public void stop() throws DatabaseException {
+        active = false;
+    }
+
+    @Override
+    public boolean isActive() {
+        return active;
+    }
+
+    @Override
+    public synchronized String getAddress() throws DatabaseException {
+        return "";
+    }
+
+//    @Override
+//    public synchronized ServerAddress getServerAddress() throws DatabaseException {
+//        return new ServerAddress("");
+//    }
+
+    @Override
+    public String execute(String command) throws DatabaseException {
+        return null;
+    }
+
+    @Override
+    public String executeAndDisconnect(String command) throws DatabaseException {
+        return null;
+    }
+}