Skip to content

Commit 32455cd

Browse files
committed
chore: fix pmd finals and qualifiers ... exclude pmd rule ImplicitFunctionalInterface
1 parent 623c0ca commit 32455cd

File tree

3 files changed

+1
-2
lines changed

3 files changed

+1
-2
lines changed

.github/pmd-ruleset.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
<exclude name="UnitTestAssertionsShouldIncludeMessage"/>
1919
<exclude name="UnitTestContainsTooManyAsserts"/>
2020
<exclude name="PreserveStackTrace"/>
21+
<exclude name="ImplicitFunctionalInterface"/>
2122
</rule>
2223
<rule ref="category/java/codestyle.xml">
2324
<exclude name="AtLeastOneConstructor"/>

src/main/java/uk/gov/hmcts/cp/repositories/SubscriberRepository.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66

77
import java.util.UUID;
88

9-
@FunctionalInterface
109
@Repository
1110
public interface SubscriberRepository extends JpaRepository<SubscriberEntity, UUID> {
1211
}

src/main/java/uk/gov/hmcts/cp/repositories/SubscriptionRepository.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
import java.util.List;
88
import java.util.UUID;
99

10-
@FunctionalInterface
1110
@Repository
1211
public interface SubscriptionRepository extends JpaRepository<SubscriptionEntity, UUID> {
1312

0 commit comments

Comments
 (0)