You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: net.sourceforge.pmd.eclipse.plugin/src/main/java/net/sourceforge/pmd/eclipse/plugin/FileChangeReviewer.java
Copy file name to clipboardExpand all lines: net.sourceforge.pmd.eclipse.plugin/src/main/java/net/sourceforge/pmd/eclipse/runtime/cmd/ReviewCodeCmd.java
+8-1Lines changed: 8 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -102,6 +102,8 @@ public class ReviewCodeCmd extends AbstractDefaultCommand {
102
102
privateintfileCount;
103
103
privatelongpmdDuration;
104
104
privateStringonErrorIssue = null;
105
+
/** Whether to run the review command, even if PMD is disabled in the project settings. */
106
+
privatebooleanrunAlways = false;
105
107
106
108
privateIProjectPropertiespropertyCache = null;
107
109
@@ -291,6 +293,10 @@ public void setTaskMarker(boolean taskMarker) {
291
293
this.taskMarker = taskMarker;
292
294
}
293
295
296
+
publicvoidsetRunAlways(booleanrunAlways) {
297
+
this.runAlways = runAlways;
298
+
}
299
+
294
300
/**
295
301
* @param openPmdPerspective
296
302
* Tell whether the PMD perspective should be opened after
0 commit comments