Skip to content

Commit

Permalink
[TIMOB-4642] fixed copy/paste error found in code review
Browse files Browse the repository at this point in the history
  • Loading branch information
donthorp committed Sep 9, 2011
1 parent 899f156 commit 83ad722
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -73,7 +73,7 @@ public void timedEvent(String event, Object start, Object stop, int duration,
if (stop instanceof Number) {
payload.put(TiC.PROPERTY_STOP, ((Number) stop).longValue());
} else if (stop instanceof KrollDate) {
payload.put(TiC.PROPERTY_STOP, ((KrollDate) start).getTime());
payload.put(TiC.PROPERTY_STOP, ((KrollDate) stop).getTime());
} else {
throw new IllegalArgumentException("stop must be a long or Date.");
}
Expand Down

0 comments on commit 83ad722

Please sign in to comment.