aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--org.aspectj.matcher/src/main/java/org/aspectj/weaver/patterns/WildTypePattern.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/org.aspectj.matcher/src/main/java/org/aspectj/weaver/patterns/WildTypePattern.java b/org.aspectj.matcher/src/main/java/org/aspectj/weaver/patterns/WildTypePattern.java
index 407b2f8d1..a77421e56 100644
--- a/org.aspectj.matcher/src/main/java/org/aspectj/weaver/patterns/WildTypePattern.java
+++ b/org.aspectj.matcher/src/main/java/org/aspectj/weaver/patterns/WildTypePattern.java
@@ -1196,7 +1196,7 @@ public class WildTypePattern extends TypePattern {
}
if (typeParameters != null && typeParameters.size() != 0) {
buf.append("<");
- buf.append(typeParameters.toString());
+ buf.append(typeParameters.toString().replaceFirst("^.(.*).$", "$1"));
buf.append(">");
}
if (includeSubtypes) {