Skip to content

Commit

Permalink
Reversing variable order to make up for missing method. Whoops.
Browse files Browse the repository at this point in the history
  • Loading branch information
Matt Spitz committed Jul 11, 2012
1 parent a152ed8 commit ddc840a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/StatsdClient.java
Expand Up @@ -99,7 +99,7 @@ public boolean increment(String key, int magnitude) {

public boolean increment(String key, int magnitude, double sampleRate) {
String stat = String.format("%s:%s|c", key, magnitude);
return send(stat, sampleRate);
return send(sampleRate, stat);
}

public boolean increment(int magnitude, double sampleRate, String... keys) {
Expand Down

0 comments on commit ddc840a

Please sign in to comment.