piggymouse: (muminpappan)
piggymouse ([personal profile] piggymouse) wrote2005-06-09 09:00 pm
Entry tags:

[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;
  }

[livejournal.com profile] raven_hl, let's praise the Lord together for he saves us from such miseries.

[identity profile] nice-beaver.livejournal.com 2005-06-09 05:30 pm (UTC)(link)
The Lord saves, yes. But does he make backups?!