From 79037970803bdd3aef6e01dff6d0c56a5496ed60 Mon Sep 17 00:00:00 2001 From: Lim Sungguk Date: Fri, 28 Oct 2011 03:50:23 +0900 Subject: [PATCH] stringutils --- src/com/fsck/k9/helper/StringUtils.java | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 src/com/fsck/k9/helper/StringUtils.java diff --git a/src/com/fsck/k9/helper/StringUtils.java b/src/com/fsck/k9/helper/StringUtils.java new file mode 100644 index 000000000..f17c28c6e --- /dev/null +++ b/src/com/fsck/k9/helper/StringUtils.java @@ -0,0 +1,7 @@ +package com.fsck.k9.helper; + public final class StringUtils { + + public static boolean isNullOrEmpty(String string){ + return string == null || string.length() == 0; + } +}