4 ms·
> it's worth pointing out that this specific bug is not possible in Java since unreachable code is a compiler error Not on my Java compiler (Android toolkit an
by mikestew 13y ago
> it's worth pointing out that this specific bug is not possible in Java since unreachable code is a compiler error
Not on my Java compiler (Android toolkit and Eclipse). I see it as a warning throughout the code base I work on. :-(
- josephschmoe 13y agoUse IntelliJ (Google's favorite Android IDE - they make a mod of it called Android Studio but the good stuff makes it back to IntelliJ)
- srcreigh 13y agoI use ADT as well, and IIRC there are certain kinds of unreachable code that won't compile: public int foo(int i) { return 2; return i; }