ver3.1.8 roundRobinLoadBalance関連のbug fix

以前レポートを出した「hostリストの先頭に戻れない」バグはちゃんと直ってます.typoと言った方が良いかもですが.

ver3.1.7: if (index[0] > hostList.size())
ver3.1.8: if (index[0] >= hostList.size())

    private static synchronized int getNextRoundRobinHostIndex(String url,
        List hostList) {
        if (roundRobinStatsMap == null) {
            roundRobinStatsMap = new HashMap();
        }

        int[] index = (int[]) roundRobinStatsMap.get(url);

        if (index == null) {
            index = new int[1];
            index[0] = -1;

            roundRobinStatsMap.put(url, index);
        }

        index[0]++;

        if (index[0] >= hostList.size()) {
            index[0] = 0;
        }

        return index[0];
    }