Skip to content

Commit

Permalink
Fixed invalid PMD docuemntation URL
Browse files Browse the repository at this point in the history
  • Loading branch information
ethauvin committed Oct 27, 2023
1 parent 8d0e0aa commit 66c462a
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
4 changes: 3 additions & 1 deletion .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/bld/java/rife/bld/extension/PmdOperationBuild.java
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public class PmdOperationBuild extends Project {
public PmdOperationBuild() {
pkg = "rife.bld.extension";
name = "bld-pmd";
version = version(0, 9, 3);
version = version(0, 9, 4);

javaRelease = 17;
downloadSources = true;
Expand Down
4 changes: 3 additions & 1 deletion src/main/java/rife/bld/extension/PmdOperation.java
Original file line number Diff line number Diff line change
Expand Up @@ -385,7 +385,9 @@ public int performPmdAnalysis(String commandName, PMDConfiguration config) throw
v.getFileId().getAbsolutePath(),
v.getBeginLine(),
v.getRule().getName(),
v.getRule().getExternalInfoUrl(),
v.getRule().getExternalInfoUrl() //TODO bug in PMD?
.replace("${pmd.website.baseurl}",
"https://docs.pmd-code.org/pmd-doc-7.0.0-rc4"),
v.getDescription()});
}
}
Expand Down

0 comments on commit 66c462a

Please sign in to comment.