Skip to content

Commit

Permalink
#1088 0.20.0 for itself
Browse files Browse the repository at this point in the history
  • Loading branch information
yegor256 committed Jul 24, 2022
1 parent f9b01ba commit 26b7e7c
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 3 deletions.
14 changes: 14 additions & 0 deletions pom.xml
Expand Up @@ -221,4 +221,18 @@ OF THE POSSIBILITY OF SUCH DAMAGE.
</plugins>
</pluginManagement>
</build>
<profiles>
<profile>
<id>qulice</id>
<build>
<plugins>
<plugin>
<groupId>com.qulice</groupId>
<artifactId>qulice-maven-plugin</artifactId>
<version>0.20.0</version>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>
Expand Up @@ -45,7 +45,6 @@ public final class MainTest {
@Test
public void testSquare() {
MatcherAssert.assertThat(1, Matchers.is(Main.square(1)));
// @checkstyle MagicNumber (1 line)
MatcherAssert.assertThat(4, Matchers.is(Main.square(2)));
}

Expand Down
Expand Up @@ -109,7 +109,6 @@ private void run() throws ValidationException {
this.submit(env, files, validators);
for (final Future<Collection<Violation>> future : futures) {
try {
// @checkstyle MagicNumber (1 line)
results.addAll(future.get(10L, TimeUnit.MINUTES));
} catch (final InterruptedException ex) {
Thread.currentThread().interrupt();
Expand Down
Expand Up @@ -63,7 +63,6 @@ public final class UseStringIsEmptyRuleTest {
}
)
public void detectLengthComparisons(final String file) throws Exception {
// @checkstyle MagicNumber (7 lines)
new PmdAssert(
file, new IsEqual<>(false),
new CombinableMatcher<>(containsMatcher(file, 16))
Expand Down

0 comments on commit 26b7e7c

Please sign in to comment.