CPD Results
The following document contains the results of PMD's CPD 6.55.0.
Duplications
File | Line |
---|---|
org/apache/maven/api/plugin/testing/stubs/SessionMock.java | 293 |
org/apache/maven/api/plugin/testing/stubs/SessionMock.java | 325 |
when(session.createArtifact(any(), any(), any(), any(), any(), any())).thenAnswer(iom -> { String groupId = iom.getArgument(0, String.class); String artifactId = iom.getArgument(1, String.class); String version = iom.getArgument(2, String.class); String classifier = iom.getArgument(3, String.class); String extension = iom.getArgument(4, String.class); String type = iom.getArgument(5, String.class); return session.getService(ArtifactFactory.class) .create(ArtifactFactoryRequest.builder() |