Skip to content

Commit

Permalink
Apparently something changed in the JavaDoc API, and I only get the f…
Browse files Browse the repository at this point in the history
…ile name now, so added this work around to be at least somewhat useful
  • Loading branch information
egonw committed Aug 21, 2011
1 parent e6cdcd9 commit 819f2fc
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/main/net/sf/cdk/tools/doclets/CDKGitTaglet.java
Expand Up @@ -95,8 +95,9 @@ public String toString(Tag[] tags) {
}

private String expand(Tag tag) {
// get the version number
String text = tag.text();
// Tag only returns the file name, not the path (anymore)
if (true)
return "<a href=\"https://github.com/cdk/cdk/tree/cdk-1.4.x/src/main/org/openscience/cdk\" target=\"_blank\">cdk-1.4.x</a>";

// create the URL
SourcePosition file = tag.position();
Expand Down

0 comments on commit 819f2fc

Please sign in to comment.