Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
bgColor#ccccff
Thread thread = new Thread(new Runnable() {
    public void run() {
      // ...
    }
  });
// Invoking thread.run() is bad; the programmer probably meant thread.start()
((Runnable) tthread).run();  // (Admissible) Warning: This does not start a new thread 

...