zstan commented on code in PR #2468:
URL: https://github.com/apache/ignite-3/pull/2468#discussion_r1301550155
##########
check-rules/pmd-rules.xml:
##########
@@ -43,4 +43,23 @@
-->
<!-- <rule ref="category/java/bestpractices.xml/UnusedPrivateMethod"
/>-->
+ <rule name="Prohibited classes"
+ language="java"
+ message="Avoid using these classes."
+ class="net.sourceforge.pmd.lang.rule.XPathRule" >
+ <description>
+ Avoid using these classes.
+ </description>
+ <priority>3</priority>
+ <properties>
+ <property name="xpath">
+ <value>
+ <![CDATA[
+//Name[pmd-java:typeIs('org.jetbrains.annotations.NotNull')]
Review Comment:
plz explain how does it works ? I revert @NotNull usage into
RendezvousAffinityFunctionTest, then run :
./gradlew pmdMain checkstyleMain checkstyleTest checkstyleIntegrationTest
checkstyleTestFixtures modernizer
and it passed
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]