Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I4681 intellij inspections #4698

Closed
wants to merge 4 commits into from
Closed

I4681 intellij inspections #4698

wants to merge 4 commits into from

Conversation

romani
Copy link
Member

@romani romani commented Jul 11, 2017

@@ -575,7 +575,7 @@ public void testLoadConfigurationFromClassPath() {
final Configuration[] children = config.getChildren();
assertEquals(0, children[0].getChildren().length);
}
catch (CheckstyleException ex) {
catch (CheckstyleException ignored) {
fail("unexpected exception");
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we should remove try-catch-fail.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed

@@ -547,7 +547,7 @@ public void testLoadConfigurationDeprecated() {
final Configuration[] children = config.getChildren();
assertEquals(0, children[0].getChildren().length);
}
catch (CheckstyleException | FileNotFoundException ex) {
catch (CheckstyleException | FileNotFoundException ignored) {
fail("unexpected exception");
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed

@@ -137,7 +137,7 @@ public void testTokenValueIncorrect2() throws Exception {
assertEquals("given id " + id, expected.getMessage());

}
catch (IllegalAccessException | NoSuchFieldException ex) {
catch (IllegalAccessException | NoSuchFieldException ignored) {
fail("Exception is expected");
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed

@codecov-io
Copy link

codecov-io commented Jul 11, 2017

Codecov Report

Merging #4698 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@          Coverage Diff           @@
##           master   #4698   +/-   ##
======================================
  Coverage     100%    100%           
======================================
  Files         287     287           
  Lines       15395   15395           
  Branches     3502    3502           
======================================
  Hits        15395   15395

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update fb8f131...3a452f9. Read the comment docs.

@romani
Copy link
Member Author

romani commented Jul 11, 2017

manually squashed and rebase and merged

@romani romani closed this Jul 11, 2017
@romani romani deleted the i4681-intellij-inspections branch July 11, 2017 15:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants