You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: qulice-pmd/src/main/resources/com/qulice/pmd/ruleset.xml
+6Lines changed: 6 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -147,6 +147,12 @@ OF THE POSSIBILITY OF SUCH DAMAGE.
147
147
</property>
148
148
</properties>
149
149
</rule>
150
+
<!--
151
+
@todo #1198 Rules for AvoidDirectAccessToStaticFields and AvoidAccessToStaticMembersViaThis produce
152
+
"WARNING: Use of deprecated attribute 'FieldDeclaration/@VariableName' by XPath rule ...,
153
+
please use VariableDeclaratorId/@Name instead"
154
+
Rules should be updated to avoid deprecated (replacement from the message does not work)
155
+
-->
150
156
<rulename="AvoidDirectAccessToStaticFields"message="Static fields should be accessed in a static way [CLASS_NAME.FIELD_NAME]."language="java"class="net.sourceforge.pmd.lang.rule.XPathRule">
0 commit comments