diff options
author | Kjetil Ørbekk <kjetil.orbekk@gmail.com> | 2012-01-20 16:54:49 +0100 |
---|---|---|
committer | Kjetil Ørbekk <kjetil.orbekk@gmail.com> | 2012-01-20 16:54:49 +0100 |
commit | 7e0e5cdef6d3bc1b1c8b08b0172cfef1a9ca920b (patch) | |
tree | b3eb132fd4e40fc8beec34c087c4962156013176 /same/src | |
parent | 5b48b3c4bd5b188faaff49a0db0723c06988e255 (diff) |
Fix: Use factory method when creating a Same instance.
Diffstat (limited to 'same/src')
-rw-r--r-- | same/src/main/java/com/orbekk/same/ClientApp.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/same/src/main/java/com/orbekk/same/ClientApp.java b/same/src/main/java/com/orbekk/same/ClientApp.java index 3095a59..64fad20 100644 --- a/same/src/main/java/com/orbekk/same/ClientApp.java +++ b/same/src/main/java/com/orbekk/same/ClientApp.java @@ -46,7 +46,7 @@ public class ClientApp { } client.joinNetwork(masterUrl + "MasterService.json"); - return new Same(client); + return Same.createSame(client); } public void run(int port, String networkName, |