| nolacoaster ( @ 2008-04-15 17:28:00 |
| Entry tags: | java |
Java Type Inference Sucks
Why doesn't this work?! Boo Java.
Variable unpacked_var =
(this_copy.unpackedVar == other.unpackedVar ?
this_copy.unpackedVar :
throw new IllegalStateException("Unhandled casee"));