diff options
author | Kjetil Ørbekk <kjetil.orbekk@gmail.com> | 2012-02-07 09:47:13 +0100 |
---|---|---|
committer | Kjetil Ørbekk <kjetil.orbekk@gmail.com> | 2012-02-07 09:47:13 +0100 |
commit | 1cb9eb256a99d1fe8856f780efc952047ca904b5 (patch) | |
tree | 2177a748a1769f95eb4acd2fdd8cea56292e023f /same/src/main | |
parent | 56abbf57d2e671e06c2a3160fdf8b94b50d69997 (diff) |
Remove unused code.
Remove old State.toString() method.
Diffstat (limited to 'same/src/main')
-rw-r--r-- | same/src/main/java/com/orbekk/same/State.java | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/same/src/main/java/com/orbekk/same/State.java b/same/src/main/java/com/orbekk/same/State.java index ea13582..627f79e 100644 --- a/same/src/main/java/com/orbekk/same/State.java +++ b/same/src/main/java/com/orbekk/same/State.java @@ -255,37 +255,4 @@ public class State { State o = (State)other; return state.equals(o.state); } - -// -// @Override -// public String toString() { -// StringBuilder participantsString = new StringBuilder(); -// participantsString.append("["); -// boolean first = true; -// for (Map.Entry<String, String> e : participants.entrySet()) { -// if (!first) { -// participantsString.append(", "); -// } -// first = false; -// participantsString.append(e.getKey()) -// .append("(") -// .append(e.getValue()) -// .append(")"); -// String clientId = e.getKey(); -// String url = e.getValue(); -// } -// participantsString.append("]"); -// -// return String.format( -// "State( \n" + -// " stateIteration = %d,\n" + -// " networkName = %s,\n" + -// " masterId = %s,\n" + -// " data = %s,\n" + -// " participants = %s\n" + -// ")", stateIteration, networkName, masterId, data, -// participantsString); -// } - - } |