Navigation Menu

Skip to content

Commit

Permalink
Merge pull request #27 from daniel-beck/INFRA-1226
Browse files Browse the repository at this point in the history
[INFRA-1226] Show the enclosing class name as well for static nested …
  • Loading branch information
daniel-beck committed Jun 16, 2017
2 parents 043892f + a2f5261 commit 01d3ad5
Showing 1 changed file with 2 additions and 5 deletions.
Expand Up @@ -102,15 +102,12 @@ public String getName() {
}

public String getShortName() {
if (getName().contains(".")) {
return getName().substring(getName().lastIndexOf(".") + 1);
}
return getName();
return definition.className;
}

void formatAsAsciidoc(PrintWriter w) {
w.println();
w.println("## " + getShortName());
w.println("## " + getShortName().replace(".", ".+++<wbr/>+++"));
if ("jenkins-core".equals(definition.artifact.artifact.artifactId)) {
w.println("+jenkinsdoc:" + definition.extensionPoint + "[]+");
} else {
Expand Down

0 comments on commit 01d3ad5

Please sign in to comment.