summaryrefslogtreecommitdiff
path: root/same/src/main
diff options
context:
space:
mode:
authorKjetil Ørbekk <kjetil.orbekk@gmail.com>2012-01-20 16:54:49 +0100
committerKjetil Ørbekk <kjetil.orbekk@gmail.com>2012-01-20 16:54:49 +0100
commit7e0e5cdef6d3bc1b1c8b08b0172cfef1a9ca920b (patch)
treeb3eb132fd4e40fc8beec34c087c4962156013176 /same/src/main
parent5b48b3c4bd5b188faaff49a0db0723c06988e255 (diff)
Fix: Use factory method when creating a Same instance.
Diffstat (limited to 'same/src/main')
-rw-r--r--same/src/main/java/com/orbekk/same/ClientApp.java2
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,