Joshua Tharp

Show:

What's happening?

  • @SuppressWarnings on local cases ParseException

    If I attempt to suppress unchecked type warnings by including a @SupressWarnings on a local variable declaration Cobertura report throws ParseExceptions. Sample code: public boolean equals(Object o) { boolean retVal; if (o != null && o instanceof Pair) { @SuppressWarnings("unchecked") final Pair p = (Pair) o; retVal = obj1 != null ?...

    2009-07-08 20:39:59 UTC in Cobertura

About Me


Send me a message