File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
net.sourceforge.pmd.eclipse.plugin/src/main/java/net/sourceforge/pmd/eclipse/runtime/cmd Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -6,9 +6,11 @@ Eclipse Update Site: <https://sourceforge.net/projects/pmd/files/pmd-eclipse/upd
66
77## ????: 4.0.7.v????
88
9+ * Fixed Unable to check more than one class without FullBuildEnabled ([ #1352 ] ( https://sourceforge.net/p/pmd/bugs/1352/ ) )
910* Fixed Manually checking code with PMD only works if PMD is activated for the project ([ bug #1351 ] ( https://sourceforge.net/p/pmd/bugs/1351/ ) )
1011* Fixed Check code after saving runs PMD unnecessarily ([ bug #1350 ] ( https://sourceforge.net/p/pmd/bugs/1350/ ) )
1112
13+
1214## 01-April-2015: 4.0.6.v20150401-1945
1315
1416* Updated PMD to 5.3.0
Original file line number Diff line number Diff line change @@ -401,7 +401,7 @@ private void processResource(IResource resource) throws CommandException {
401401 targetCount = countResourceElement (resource );
402402 }
403403 // Could add a property that lets us set the max number to analyze
404- if (properties .isFullBuildEnabled () || targetCount == 1 ) {
404+ if (properties .isFullBuildEnabled () || isUserInitiated () || targetCount == 1 ) {
405405 setStepCount (targetCount );
406406 log .debug ("Visiting resource " + resource .getName () + " : " + getStepCount ());
407407
@@ -536,7 +536,7 @@ private void processResourceDelta() throws CommandException {
536536 // PMDEngine pmdEngine = getPmdEngineForProject(project);
537537 int targetCount = countDeltaElement (resourceDelta );
538538 // Could add a property that lets us set the max number to analyze
539- if (properties .isFullBuildEnabled () || targetCount == 1 ) {
539+ if (properties .isFullBuildEnabled () || isUserInitiated () || targetCount == 1 ) {
540540 setStepCount (targetCount );
541541 log .debug ("Visiting delta of resource " + resource .getName () + " : " + getStepCount ());
542542
You can’t perform that action at this time.
0 commit comments