Merge pull request #1166 from mtbc/trac-12385-use-arraylist

assist #12385: use ArrayList instead of Vector