Skip to content

Commit

Permalink
Don't double-print the value when dealing with arrays.
Browse files Browse the repository at this point in the history
Change-Id: I4356db19c80071364cdc461f653a1ef125448c8b
  • Loading branch information
tsuna committed Mar 27, 2012
1 parent 23cc964 commit 4347116
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions stumbleupon/monitoring/jmx.java
Expand Up @@ -222,9 +222,8 @@ private static void dumpMBean(final boolean long_output,
}
buf.setLength(buf.length() - 1);
} else {
buf.append(name).append('\t');
buf.append(name).append('\t').append(value);
}
buf.append(value);
if (long_output) {
buf.append('\t').append(object);
}
Expand Down

0 comments on commit 4347116

Please sign in to comment.