diff options
author | Andy Clement <andrew.clement@gmail.com> | 2012-10-29 12:46:03 -0700 |
---|---|---|
committer | Andy Clement <andrew.clement@gmail.com> | 2012-10-29 12:46:03 -0700 |
commit | df1823b297d7b543c1917804ac650502bd4601b2 (patch) | |
tree | 145af00113f611598a09c5970c390fdc6f8ca716 /util | |
parent | 8a6608f4d5d1a2aa8aa49a0a38da66a54d53c917 (diff) | |
download | aspectj-df1823b297d7b543c1917804ac650502bd4601b2.tar.gz aspectj-df1823b297d7b543c1917804ac650502bd4601b2.zip |
391123: ltw cache improvements
Diffstat (limited to 'util')
-rw-r--r-- | util/src/org/aspectj/util/LangUtil.java | 5 |
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())); |