Skip to content

Commit f2290e5

Browse files
committed
Fix checkstyle
1 parent 0cee5e7 commit f2290e5

File tree

1 file changed

+7
-7
lines changed
  • net.sourceforge.pmd.eclipse.plugin/src/main/java/net/sourceforge/pmd/eclipse/runtime/cmd

1 file changed

+7
-7
lines changed

net.sourceforge.pmd.eclipse.plugin/src/main/java/net/sourceforge/pmd/eclipse/runtime/cmd/ReviewCodeCmd.java

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@
4040
import java.util.Collection;
4141
import java.util.HashMap;
4242
import java.util.HashSet;
43-
import java.util.Iterator;
4443
import java.util.List;
4544
import java.util.Map;
4645
import java.util.Set;
@@ -139,7 +138,7 @@ public Set<IFile> markedFiles() {
139138

140139
/**
141140
* Easy way to refresh a set of files.
142-
*
141+
*
143142
* @param files
144143
* @throws CommandException
145144
*/
@@ -255,6 +254,7 @@ public void run(IProgressMonitor monitor) throws CoreException {
255254
// Switch to the PMD perspective if required
256255
if (openPmdPerspective) {
257256
Display.getDefault().asyncExec(new Runnable() {
257+
@Override
258258
public void run() {
259259
switchToPmdPerspective();
260260
}
@@ -264,7 +264,7 @@ public void run() {
264264
if (openPmdViolationsOverviewView) {
265265
PMDPlugin.getDefault().showView(PMDPlugin.VIOLATIONS_OVERVIEW_ID);
266266
}
267-
267+
268268
if (openPmdViolationsOutlineView) {
269269
PMDPlugin.getDefault().showView(PMDPlugin.VIOLATIONS_OUTLINE_ID);
270270
}
@@ -352,19 +352,19 @@ public void setRunAlways(boolean runAlways) {
352352
public void setOpenPmdPerspective(boolean openPmdPerspective) {
353353
this.openPmdPerspective = openPmdPerspective;
354354
}
355-
355+
356356
/**
357357
* Set the open violations view to run after code review.
358-
*
358+
*
359359
* @param openPmdViolationsView should open
360360
*/
361361
public void setOpenPmdViolationsOverviewView(boolean openPmdViolationsView) {
362362
this.openPmdViolationsOverviewView = openPmdViolationsView;
363363
}
364-
364+
365365
/**
366366
* Set the open violations outline view to run after code review.
367-
*
367+
*
368368
* @param openPmdViolationsOutlineView should open
369369
*/
370370
public void setOpenPmdViolationsOutlineView(boolean openPmdViolationsOutlineView) {

0 commit comments

Comments
 (0)