On 10/6/15 11:51 PM, Dawid Weiss wrote:
A @Discouraged(String seeAlternative) annotation? This also applies to
things like Vector or Hashtable (which arguably have a
slightly different semantics from ArrayList or HashMap, but if somebody uses
them it's very likely a mistake).

Yes, something like this, although it might be spelled differently. It would be applied not only to Vector and Hashtable, but also things like Dictionary and Stack. (Remember them?)

s'marks

Reply via email to