Skip to content

Instantly share code, notes, and snippets.

@mirokolodii
Last active October 24, 2019 06:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mirokolodii/65c2eac39a28263ff713914065461fd4 to your computer and use it in GitHub Desktop.
Save mirokolodii/65c2eac39a28263ff713914065461fd4 to your computer and use it in GitHub Desktop.
Switch to Kotlin #2.7
Integer nullInt = null;
if (someInt.equals(23)) { // NullPointerException because of attempt to call
// a method on a null
// Rest of code
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment