From f52373c83977c9c22d552c47b8913b73bca6feed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Fournier?= Date: Thu, 23 Jan 2020 12:49:05 +0100 Subject: [PATCH] checkstyle --- .../net/sourceforge/pmd/AbstractLanguageVersionTest.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pmd-test/src/main/java/net/sourceforge/pmd/AbstractLanguageVersionTest.java b/pmd-test/src/main/java/net/sourceforge/pmd/AbstractLanguageVersionTest.java index 6e386a8bd6..d2dbcd2152 100644 --- a/pmd-test/src/main/java/net/sourceforge/pmd/AbstractLanguageVersionTest.java +++ b/pmd-test/src/main/java/net/sourceforge/pmd/AbstractLanguageVersionTest.java @@ -158,12 +158,13 @@ public class AbstractLanguageVersionTest { int count = 0; for (LanguageVersion lv : lang.getVersions()) { - if (lv.equals(expected)) + if (lv.equals(expected)) { count++; + } } assertEquals("Expected exactly one occurrence of " + expected - + " in the language versions of its language",1, count); + + " in the language versions of its language", 1, count); } private void assertRulesetsAndCategoriesProperties(ResourceLoader rl, Properties props)