Skip to content

Code cleanup#37

Merged
elharo merged 5 commits intomasterfrom
aether
May 23, 2020
Merged

Code cleanup#37
elharo merged 5 commits intomasterfrom
aether

Conversation

@elharo
Copy link
Copy Markdown
Contributor

@elharo elharo commented Mar 6, 2020

Remove unused variables and deprecated methods
@khmarbaise

@elharo elharo requested a review from khmarbaise March 6, 2020 11:43
final boolean result = filter.accept( node , Collections.<Node>emptyList() );

assertThat( result, is( false ));
assertFalse( filter.accept( node , Collections.<Node>emptyList() ) );
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

a bad practice, here again.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Can you be more specific?

ArgumentCaptor<String> captor = ArgumentCaptor.forClass( String.class );
verify( log ).debug( captor.capture() );
assertThat( captor.getValue(), containsString( "Skipped dependency" ) );
MatcherAssert.assertThat( captor.getValue(), containsString( "Skipped dependency" ) );
Copy link
Copy Markdown

@Tibor17 Tibor17 Mar 8, 2020

Choose a reason for hiding this comment

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

static import

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

done

Copy link
Copy Markdown
Contributor Author

@elharo elharo left a comment

Choose a reason for hiding this comment

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

Ping. Any further comments on this one?

@elharo elharo merged commit 23bc9f4 into master May 23, 2020
@elharo elharo deleted the aether branch May 23, 2020 14:20
pmoerenhout pushed a commit to pmoerenhout/maven-dependency-plugin that referenced this pull request Jun 18, 2020
cosmin pushed a commit to cosmin/maven-dependency-plugin that referenced this pull request Nov 24, 2020
@jira-importer
Copy link
Copy Markdown

Resolve #1254

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.

4 participants