Skip to content

Commit

Permalink
Issue checkstyle#41: fixed eclipse violations
Browse files Browse the repository at this point in the history
  • Loading branch information
rnveach committed Nov 14, 2017
1 parent 7a3d197 commit b7251e4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ public final class ExtractInfoProcessor {

/** The type of {@code List<ModuleExtractInfo>}. */
private static final Type TYPE_EXTRACT_INFO_LIST = new TypeToken<List<ModuleExtractInfo>>() {
// constructor is not visible
}.getType();

/** Prevents instantiation. */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ public class ConfigGeneratorTest {
private final Collection<File> outputConfigs = new LinkedList<>();

@After
public void tearDown() throws Exception {
public void tearDown() {
for (File outputConfig : outputConfigs) {
try {
FileUtils.forceDelete(outputConfig);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@

public class CheckstyleInjectorTest {
@Test
public void testAllInjectionFilesAreInCopyList() throws Exception {
public void testAllInjectionFilesAreInCopyList() {
final String[] injections =
Whitebox.getInternalState(CheckstyleInjector.class, "INJECTIONS");
final File srcDir = new File("src/main/resources/com/github/checkstyle/regression/extract");
Expand Down

0 comments on commit b7251e4

Please sign in to comment.