Skip to content

Instantly share code, notes, and snippets.

@martinobettucci
Created October 26, 2018 08:57
Show Gist options
  • Save martinobettucci/ad328b65d1fdb03274531a1ed811ec70 to your computer and use it in GitHub Desktop.
Save martinobettucci/ad328b65d1fdb03274531a1ed811ec70 to your computer and use it in GitHub Desktop.
Here is a `REAL CODE` I've seen someday, somewhere... somehow it existed.
public static String checkNull(String value) {
if (value == null)
return null;
return value == null ? null : value;
}
@martinobettucci
Copy link
Author

Please, TURN UP your brain before start coding! 🥇

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment