]> source.dussan.org Git - aspectj.git/commitdiff
352363
authoraclement <aclement>
Mon, 18 Jul 2011 16:52:05 +0000 (16:52 +0000)
committeraclement <aclement>
Mon, 18 Jul 2011 16:52:05 +0000 (16:52 +0000)
org.aspectj.matcher/src/org/aspectj/weaver/patterns/PatternParser.java

index 3bddbfc807d6ac759a7d22ff0a50ca16ffbf15ae..b0ed830c3a0ed7568786d0487ddbb4cde474f856 100644 (file)
@@ -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() {