summaryrefslogtreecommitdiff
path: root/jsonrpc/src/main/java/com
diff options
context:
space:
mode:
Diffstat (limited to 'jsonrpc/src/main/java/com')
-rw-r--r--jsonrpc/src/main/java/com/orbekk/same/SameServiceImpl.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/jsonrpc/src/main/java/com/orbekk/same/SameServiceImpl.java b/jsonrpc/src/main/java/com/orbekk/same/SameServiceImpl.java
index 56a0fa1..7e1de00 100644
--- a/jsonrpc/src/main/java/com/orbekk/same/SameServiceImpl.java
+++ b/jsonrpc/src/main/java/com/orbekk/same/SameServiceImpl.java
@@ -23,8 +23,9 @@ public class SameServiceImpl implements SameService {
@Override
public String participateNetwork(String networkName) {
logger.info("Got participation request.");
- if (networkName != this.networkName) {
- logger.info("Network name mismatch.");
+ if (!networkName.equals(this.networkName)) {
+ logger.warn("Client tried to join {}, but network name is {}.",
+ networkName, this.networkName);
}
return "<Not implemented>";
}