I have a medium-sized Java project in Eclipse, which uses Vector<E>
instead of the preferred ArrayList<E>
. I would like to replace those.
Is there any way, using Eclipse, to change all these? Any refactoring method?
Or would it be sufficient to do a general search-and-replace for every
Vector<String>
occurrence? Are there any caveats to this? What are situations in which this approach would fail?
Actually, I just did the latter, and it worked for my application, but this should be a more general question.