Male C. Pig a.k.a. Svinopolist (piggymouse) wrote,
Male C. Pig a.k.a. Svinopolist
piggymouse

  • Mood:

[profession,link,fuck] The Daily WTF strikes back (and forth)

Desperate, really desperate!!!

public static boolean IsNull(String str)
  {
    boolean isnull = false;

    if(
      (str == null) ||
      (str.equals("__")) ||
      (str.equals("__null")) ||
      (str.equals("_null_")) ||
      //Added for Issue #107724
      (str.equals("_null_null")) ||
      (str.equals("null__")) ||
      (str.equals("null__null")) ||
      //Added for Issue #126185
      (str.equals("null_null_")) ||
      (str.equals("null_null_null"))
    ) isnull = true;

    return isnull;
  }

raven_hl, let's praise the Lord together for he saves us from such miseries.

Tags: fcuk, link, profession
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your IP address will be recorded 

  • 7 comments