} else if (type == Aggregate.MAX) {
if (newscore < current.getScore()) {
newscore = current.getScore();
}
}
<BUG>destination.add(new ZSetEntry(key, newscore));
}</BUG>
}
}
}

} else if (type == Aggregate.MAX) {
if (newscore < current.getScore()) {
newscore = current.getScore();
}
}
destination.add(key, newscore);
}
}
}
}
