From: aclement Date: Mon, 18 Jul 2011 16:52:05 +0000 (+0000) Subject: 352363 X-Git-Tag: V1_6_12M2~57 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=01f1141b8257a6b15817c3153ed2eb7ef38c6445;p=aspectj.git 352363 --- diff --git a/org.aspectj.matcher/src/org/aspectj/weaver/patterns/PatternParser.java b/org.aspectj.matcher/src/org/aspectj/weaver/patterns/PatternParser.java index 3bddbfc80..b0ed830c3 100644 --- a/org.aspectj.matcher/src/org/aspectj/weaver/patterns/PatternParser.java +++ b/org.aspectj.matcher/src/org/aspectj/weaver/patterns/PatternParser.java @@ -1343,11 +1343,7 @@ public class PatternParser { tokenSource.next(); dotOK = true; } - if (buf.length() == 0) { - return null; - } else { - return buf.toString(); - } + return buf.toString(); } public NamePattern parseNamePattern() {