From f2290e557cee24722fec62d3c46e6f0a7f852105 Mon Sep 17 00:00:00 2001 From: Andreas Dangel Date: Tue, 31 Jul 2018 19:48:44 +0200 Subject: [PATCH] Fix checkstyle --- .../pmd/eclipse/runtime/cmd/ReviewCodeCmd.java | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/net.sourceforge.pmd.eclipse.plugin/src/main/java/net/sourceforge/pmd/eclipse/runtime/cmd/ReviewCodeCmd.java b/net.sourceforge.pmd.eclipse.plugin/src/main/java/net/sourceforge/pmd/eclipse/runtime/cmd/ReviewCodeCmd.java index 6153bc7d..254a1832 100644 --- a/net.sourceforge.pmd.eclipse.plugin/src/main/java/net/sourceforge/pmd/eclipse/runtime/cmd/ReviewCodeCmd.java +++ b/net.sourceforge.pmd.eclipse.plugin/src/main/java/net/sourceforge/pmd/eclipse/runtime/cmd/ReviewCodeCmd.java @@ -40,7 +40,6 @@ import java.util.Collection; import java.util.HashMap; import java.util.HashSet; -import java.util.Iterator; import java.util.List; import java.util.Map; import java.util.Set; @@ -139,7 +138,7 @@ public Set markedFiles() { /** * Easy way to refresh a set of files. - * + * * @param files * @throws CommandException */ @@ -255,6 +254,7 @@ public void run(IProgressMonitor monitor) throws CoreException { // Switch to the PMD perspective if required if (openPmdPerspective) { Display.getDefault().asyncExec(new Runnable() { + @Override public void run() { switchToPmdPerspective(); } @@ -264,7 +264,7 @@ public void run() { if (openPmdViolationsOverviewView) { PMDPlugin.getDefault().showView(PMDPlugin.VIOLATIONS_OVERVIEW_ID); } - + if (openPmdViolationsOutlineView) { PMDPlugin.getDefault().showView(PMDPlugin.VIOLATIONS_OUTLINE_ID); } @@ -352,19 +352,19 @@ public void setRunAlways(boolean runAlways) { public void setOpenPmdPerspective(boolean openPmdPerspective) { this.openPmdPerspective = openPmdPerspective; } - + /** * Set the open violations view to run after code review. - * + * * @param openPmdViolationsView should open */ public void setOpenPmdViolationsOverviewView(boolean openPmdViolationsView) { this.openPmdViolationsOverviewView = openPmdViolationsView; } - + /** * Set the open violations outline view to run after code review. - * + * * @param openPmdViolationsOutlineView should open */ public void setOpenPmdViolationsOutlineView(boolean openPmdViolationsOutlineView) {