Versions Compared

Key

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

...

Code Block
bgColor#FFcccc
class BadPublish {
  public static volatile BadPublish bp;
  int num;

  BadPublish(int number) {
    bp = this;
    // Initialization 
    this.num = number;
    // ...
  }
}

...

Code Block
bgColor#ccccff
class BadPublish {
  static volatile BadPublish bp;

  BadPublish(int number) {
    // Initialization 
    this.num = number;
    // ...
    bp = this;
  }
}

...