HBASE-10564 HRegionServer.nextLong should be removed since it's not used anywhere, or should be used somewhere it meant to

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1569467 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Michael Stack 2014-02-18 18:40:01 +00:00
parent 8c24e585e1
commit 4b7c58487e
1 changed files with 0 additions and 16 deletions

View File

@ -2791,22 +2791,6 @@ public class HRegionServer implements ClientProtos.ClientService.BlockingInterfa
return scannerId;
}
/**
* Generate a random positive long number
*
* @return a random positive long number
*/
protected long nextLong() {
long n = rand.nextLong();
if (n == 0) {
return nextLong();
}
if (n < 0) {
n = -n;
}
return n;
}
// Start Client methods
/**