aboutsummaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorAndy Clement <andrew.clement@gmail.com>2012-10-29 12:46:03 -0700
committerAndy Clement <andrew.clement@gmail.com>2012-10-29 12:46:03 -0700
commitdf1823b297d7b543c1917804ac650502bd4601b2 (patch)
tree145af00113f611598a09c5970c390fdc6f8ca716 /util
parent8a6608f4d5d1a2aa8aa49a0a38da66a54d53c917 (diff)
downloadaspectj-df1823b297d7b543c1917804ac650502bd4601b2.tar.gz
aspectj-df1823b297d7b543c1917804ac650502bd4601b2.zip
391123: ltw cache improvements
Diffstat (limited to 'util')
-rw-r--r--util/src/org/aspectj/util/LangUtil.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/util/src/org/aspectj/util/LangUtil.java b/util/src/org/aspectj/util/LangUtil.java
index 09aa801f4..7a7149698 100644
--- a/util/src/org/aspectj/util/LangUtil.java
+++ b/util/src/org/aspectj/util/LangUtil.java
@@ -201,6 +201,11 @@ public class LangUtil {
return ((null == ra) || (0 == ra.length));
}
+ /** @return ((null == ra) || (0 == ra.length)) */
+ public static boolean isEmpty(byte[] ra) {
+ return ((null == ra) || (0 == ra.length));
+ }
+
/** @return ((null == collection) || (0 == collection.size())) */
public static boolean isEmpty(Collection<?> collection) {
return ((null == collection) || (0 == collection.size()));