提交 92c2503b 编写于 作者: K Kohsuke Kawaguchi

This work around no longer necessary,

... as the newer Groovy compiler produces the proper enclosing class
infromation.
上级 bd256acd
......@@ -72,11 +72,6 @@ public class TestExtensionLoader extends GuiceExtensionAnnotation<TestExtension>
return true; // enclosed
}
}
// Groovy compiler doesn't seem to put the enclosing class information in the class file,
// so this fallback rule would catch those cases.
if (((Class)e).getName().startsWith(className+"$"))
return true;
return false;
}
if (e instanceof Field) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册