aboutsummaryrefslogtreecommitdiffstats
path: root/weaver
diff options
context:
space:
mode:
authoracolyer <acolyer>2005-04-20 12:57:49 +0000
committeracolyer <acolyer>2005-04-20 12:57:49 +0000
commit78abc76610cfb5fd2a2282086adfb017537ce49c (patch)
tree976a993332b1f2aeb7fb9fbc283cdccf71707b24 /weaver
parenta92b2f0201a3fa6b02a9f3c67e9b34a17c0fb7f3 (diff)
downloadaspectj-78abc76610cfb5fd2a2282086adfb017537ce49c.tar.gz
aspectj-78abc76610cfb5fd2a2282086adfb017537ce49c.zip
fix for Bugzilla Bug 91858
NullPointerException when declare @type is spelt with capital letter patch submitted by Andrew Huff
Diffstat (limited to 'weaver')
-rw-r--r--weaver/src/org/aspectj/weaver/patterns/PatternParser.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/weaver/src/org/aspectj/weaver/patterns/PatternParser.java b/weaver/src/org/aspectj/weaver/patterns/PatternParser.java
index 1463534c3..ffd4446ca 100644
--- a/weaver/src/org/aspectj/weaver/patterns/PatternParser.java
+++ b/weaver/src/org/aspectj/weaver/patterns/PatternParser.java
@@ -139,8 +139,7 @@ public class PatternParser {
} else if (kind.equals("constructor")) {
ret = parseDeclareAtMethod(false);
} else {
- throw new ParserException("expected one of type, method, field, constructor",
- tokenSource.peek(-1));
+ throw new ParserException("one of type, method, field, constructor",tokenSource.peek(-1));
}
eat(";");
int endPos = tokenSource.peek(-1).getEnd();