aboutsummaryrefslogtreecommitdiffstats
path: root/org.aspectj.matcher/src/test/java/org/aspectj/weaver/TestUtils.java
diff options
context:
space:
mode:
authorAndy Clement <aclement@pivotal.io>2020-08-15 22:39:09 -0700
committerGitHub <noreply@github.com>2020-08-15 22:39:09 -0700
commit02257f178a8675de0603dbe3b3b442c2ac47870d (patch)
treea88365d7c9a13f729e2632b1538e5913303a6b98 /org.aspectj.matcher/src/test/java/org/aspectj/weaver/TestUtils.java
parentd5dada81e503e257d20e2aa829716fb5c3934072 (diff)
parentd93bacd2e16e7ee13bd4c4e48a89ef8646fd0d68 (diff)
downloadaspectj-02257f178a8675de0603dbe3b3b442c2ac47870d.tar.gz
aspectj-02257f178a8675de0603dbe3b3b442c2ac47870d.zip
Merge pull request #13 from larsgrefer/feature/collection-performance
Improve performance and readability of collection handling
Diffstat (limited to 'org.aspectj.matcher/src/test/java/org/aspectj/weaver/TestUtils.java')
-rw-r--r--org.aspectj.matcher/src/test/java/org/aspectj/weaver/TestUtils.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/org.aspectj.matcher/src/test/java/org/aspectj/weaver/TestUtils.java b/org.aspectj.matcher/src/test/java/org/aspectj/weaver/TestUtils.java
index 9f7daa756..69bc674ef 100644
--- a/org.aspectj.matcher/src/test/java/org/aspectj/weaver/TestUtils.java
+++ b/org.aspectj.matcher/src/test/java/org/aspectj/weaver/TestUtils.java
@@ -298,7 +298,7 @@ public class TestUtils {
l.add(str.substring(start, i).trim());
start = i + 1;
}
- return (String[]) l.toArray(new String[l.size()]);
+ return (String[]) l.toArray(new String[0]);
}
}