mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-17 21:29:54 +01:00
String.isEmpty() doesn't exist until Java 1.6.
This commit is contained in:
@@ -8,7 +8,7 @@ public class StringUtils {
|
|||||||
};
|
};
|
||||||
|
|
||||||
public static boolean isNullOrEmpty(String s) {
|
public static boolean isNullOrEmpty(String s) {
|
||||||
return s == null || s.isEmpty();
|
return s == null || s.equals("");
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user