import org.apache.cassandra.net.Message;
<BUG>import org.apache.cassandra.net.MessagingService;
class LeaveJoinProtocolHelper</BUG>
{
private static Logger logger_ = Logger.getLogger(LeaveJoinProtocolHelper.class);
<BUG>protected static Map<Range, List<Range>> getRangeSplitRangeMapping(Range[] oldRanges, Token[] allTokens)
</BUG>
{
Map<Range, List<Range>> splitRanges = new HashMap<Range, List<Range>>();
<BUG>Token[] tokens = new Token[allTokens.length];
System.arraycopy(allTokens, 0, tokens, 0, tokens.length);</BUG>
Arrays.sort(tokens);

import org.apache.cassandra.net.Message;
import org.apache.cassandra.net.MessagingService;
import org.apache.log4j.Logger;
class LeaveJoinProtocolHelper
{
private static Logger logger_ = Logger.getLogger(LeaveJoinProtocolHelper.class);
protected static Map<Range, List<Range>> getRangeSplitRangeMapping(Range[] oldRanges, BigInteger[] allTokens)
{
Map<Range, List<Range>> splitRanges = new HashMap<Range, List<Range>>();
BigInteger[] tokens = new BigInteger[allTokens.length];
System.arraycopy(allTokens, 0, tokens, 0, tokens.length);
Arrays.sort(tokens);
