From a5ebd357418c3d2dba426f97a37edd21bc786e84 Mon Sep 17 00:00:00 2001 From: peter Date: Wed, 25 May 2011 20:29:45 +0200 Subject: [PATCH] typo --- .../src/org/jetbrains/plugins/groovy/dsl/DslPointcut.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/groovy/src/org/jetbrains/plugins/groovy/dsl/DslPointcut.java b/plugins/groovy/src/org/jetbrains/plugins/groovy/dsl/DslPointcut.java index 1f05fde3a435..f4eb110f1e78 100644 --- a/plugins/groovy/src/org/jetbrains/plugins/groovy/dsl/DslPointcut.java +++ b/plugins/groovy/src/org/jetbrains/plugins/groovy/dsl/DslPointcut.java @@ -133,7 +133,7 @@ public abstract class DslPointcut { inner = name(arg); } else { inner = (DslPointcut)arg; - assert inner.operatesOn(GdslMethod.class) : "The argument to enclosingMethod should be a pointcut working with types, e.g. name"; + assert inner.operatesOn(GdslMethod.class) : "The argument to enclosingMethod should be a pointcut working with methods, e.g. name"; } return new DslPointcut() {