From 01f1141b8257a6b15817c3153ed2eb7ef38c6445 Mon Sep 17 00:00:00 2001 From: aclement Date: Mon, 18 Jul 2011 16:52:05 +0000 Subject: [PATCH] 352363 --- .../src/org/aspectj/weaver/patterns/PatternParser.java | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) 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() { -- 2.39.5