Skip to content

Commit 45d67f9

Browse files
committed
Merge branch 'pr-111'
2 parents a6a7e50 + 9f8eef8 commit 45d67f9

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

ReleaseNotes.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,14 @@ This is a minor release.
1515

1616
### Fixed Issues
1717

18+
* [#110](https://github.com/pmd/pmd-eclipse-plugin/issues/110): PMD markers should be removed on Project->Clean
19+
1820
### API Changes
1921

2022
### External Contributions
2123

24+
* [#111](https://github.com/pmd/pmd-eclipse-plugin/pull/111): Delete project markers on Project -> Clean - [Sebastian Ratz](https://github.com/sratz)
25+
2226
## 28-July-2019: 4.6.0.v20190728-0905
2327

2428
This is a minor release.

net.sourceforge.pmd.eclipse.plugin/src/main/java/net/sourceforge/pmd/eclipse/runtime/builder/PMDBuilder.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,11 @@ protected IProject[] build(int kind, Map args, IProgressMonitor monitor) throws
6161
return EMPTY_PROJECT_ARRAY;
6262
}
6363

64+
@Override
65+
protected void clean(IProgressMonitor monitor) throws CoreException {
66+
MarkerUtil.deleteAllMarkersIn(getProject());
67+
}
68+
6469
/**
6570
* Automatic build
6671
*

0 commit comments

Comments
 (0)