From e1ca04451737617f62aac6e552bb193aac111f71 Mon Sep 17 00:00:00 2001 From: aclement Date: Mon, 12 May 2008 16:50:41 +0000 Subject: [PATCH] 231396: refactoring: CollectionUtil type removed --- .../patterns/TypePatternListTestCase.java | 21 ++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) diff --git a/weaver/testsrc/org/aspectj/weaver/patterns/TypePatternListTestCase.java b/weaver/testsrc/org/aspectj/weaver/patterns/TypePatternListTestCase.java index accc8c5f5..3aa164738 100644 --- a/weaver/testsrc/org/aspectj/weaver/patterns/TypePatternListTestCase.java +++ b/weaver/testsrc/org/aspectj/weaver/patterns/TypePatternListTestCase.java @@ -13,14 +13,19 @@ package org.aspectj.weaver.patterns; -import java.io.*; +import java.io.ByteArrayInputStream; +import java.io.ByteArrayOutputStream; +import java.io.DataOutputStream; +import java.io.IOException; import java.util.Arrays; -import org.aspectj.weaver.bcel.*; -import org.aspectj.util.*; - import junit.framework.TestCase; -import org.aspectj.weaver.*; + +import org.aspectj.util.FuzzyBoolean; +import org.aspectj.weaver.ResolvedType; +import org.aspectj.weaver.VersionedDataInputStream; +import org.aspectj.weaver.World; +import org.aspectj.weaver.bcel.BcelWorld; /** * @author hugunin @@ -119,9 +124,11 @@ public class TypePatternListTestCase extends TestCase { String msg = "matches statically " + pattern + " to " + Arrays.asList(types); assertEquals(msg, shouldMatchStatically, result); } - + + public static final String[] NO_STRINGS = new String[0]; + private TestScope makeTestScope() { - TestScope scope = new TestScope(CollectionUtil.NO_STRINGS, CollectionUtil.NO_STRINGS, world); + TestScope scope = new TestScope(NO_STRINGS, NO_STRINGS, world); return scope; } -- 2.39.5