Skip to content

Commit

Permalink
[JENKINS-18776] This work around no longer necessary,
Browse files Browse the repository at this point in the history
... as the newer Groovy compiler produces the proper enclosing class
infromation.

(cherry picked from commit 92c2503)
  • Loading branch information
kohsuke authored and olivergondza committed Sep 19, 2013
1 parent 3d30b3a commit 3559a52
Showing 1 changed file with 0 additions and 5 deletions.
Expand Up @@ -72,11 +72,6 @@ protected boolean isActive(AnnotatedElement e) {
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) {
Expand Down

0 comments on commit 3559a52

Please sign in to comment.