X-Git-Url: https://gerrit.simantics.org/r/gitweb?p=simantics%2Fplatform.git;a=blobdiff_plain;f=bundles%2Forg.simantics.db.procore%2Fsrc%2Ffi%2Fvtt%2Fsimantics%2Fprocore%2Finternal%2FVirtualServer.java;h=665fa6097682620f44bbfadea0df19030da02746;hp=0c6598b49f77f0b4290ddd43ea8998f85e8a2477;hb=09366c7018d046746832e4e7033ca2588455dac2;hpb=969bd23cab98a79ca9101af33334000879fb60c5 diff --git a/bundles/org.simantics.db.procore/src/fi/vtt/simantics/procore/internal/VirtualServer.java b/bundles/org.simantics.db.procore/src/fi/vtt/simantics/procore/internal/VirtualServer.java index 0c6598b49..665fa6097 100644 --- a/bundles/org.simantics.db.procore/src/fi/vtt/simantics/procore/internal/VirtualServer.java +++ b/bundles/org.simantics.db.procore/src/fi/vtt/simantics/procore/internal/VirtualServer.java @@ -1,43 +1,43 @@ -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; - } -} +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; + } +}