PMD CI (pmd-bot)
2022-08-24 16:34:53 +00:00
parent 6eb2681c04
commit 4d66f2daba
3 changed files with 107 additions and 84 deletions

View File

@ -5,8 +5,8 @@
<description>Intended as a documentation theme based on Jekyll for technical writers documenting software and other technical products, this theme has all the elements you would need to handle multiple products with both multi-level sidebar navigation, tags, and other documentation features.</description>
<link>https://pmd.github.io/pmd/</link>
<atom:link href="https://pmd.github.io/pmd/feed.xml" rel="self" type="application/rss+xml"/>
<pubDate>Wed, 24 Aug 2022 16:00:54 +0000</pubDate>
<lastBuildDate>Wed, 24 Aug 2022 16:00:54 +0000</lastBuildDate>
<pubDate>Wed, 24 Aug 2022 16:32:49 +0000</pubDate>
<lastBuildDate>Wed, 24 Aug 2022 16:32:49 +0000</lastBuildDate>
<generator>Jekyll v3.9.2</generator>
</channel>

File diff suppressed because it is too large Load Diff

View File

@ -1544,10 +1544,32 @@
<h3 id="api-changes">API Changes</h3>
<h4 id="deprecated-api">Deprecated API</h4>
<ul>
<li>In order to reduce the dependency on Apex Jorje classes, the following methods have been deprecated.
These methods all leaked internal Jorje enums. These enums have been replaced now by enums the
PMDs AST package.
<ul>
<li><a href="https://docs.pmd-code.org/apidocs/pmd-apex/6.49.0-SNAPSHOT/net/sourceforge/pmd/lang/apex/ast/ASTAssignmentExpression.html#getOperator()"><code>ASTAssignmentExpression#getOperator</code></a></li>
<li><a href="https://docs.pmd-code.org/apidocs/pmd-apex/6.49.0-SNAPSHOT/net/sourceforge/pmd/lang/apex/ast/ASTBinaryExpression.html#getOperator()"><code>ASTBinaryExpression#getOperator</code></a></li>
<li><a href="https://docs.pmd-code.org/apidocs/pmd-apex/6.49.0-SNAPSHOT/net/sourceforge/pmd/lang/apex/ast/ASTBooleanExpression.html#getOperator()"><code>ASTBooleanExpression#getOperator</code></a></li>
<li><a href="https://docs.pmd-code.org/apidocs/pmd-apex/6.49.0-SNAPSHOT/net/sourceforge/pmd/lang/apex/ast/ASTPostfixExpression.html#getOperator()"><code>ASTPostfixExpression#getOperator</code></a></li>
<li><a href="https://docs.pmd-code.org/apidocs/pmd-apex/6.49.0-SNAPSHOT/net/sourceforge/pmd/lang/apex/ast/ASTPrefixExpression.html#getOperator()"><code>ASTPrefixExpression#getOperator</code></a></li>
</ul>
<p>All these classes have now a new <code class="language-plaintext highlighter-rouge">getOp()</code> method. Existing code should be refactored to use this method instead.
It returns the new enums, like <a href="https://docs.pmd-code.org/apidocs/pmd-apex/6.49.0-SNAPSHOT/net/sourceforge/pmd/lang/apex/ast/AssignmentOperator.html#"><code>AssignmentOperator</code></a>, and avoids
the dependency to Jorje.</p>
</li>
</ul>
<h3 id="external-contributions">External Contributions</h3>
<ul>
<li><a href="https://github.com/pmd/pmd/pull/4081">#4081</a>: [apex] Remove Jorje leaks outside <code class="language-plaintext highlighter-rouge">ast</code> package - <a href="https://github.com/eklimo">@eklimo</a></li>
<li><a href="https://github.com/pmd/pmd/pull/4083">#4083</a>: [java] UnnecessaryImport false positive for on-demand imports of nested classes (fix for #4082) - <a href="https://github.com/abyss638">@abyss638</a></li>
<li><a href="https://github.com/pmd/pmd/pull/4092">#4092</a>: [apex] Implement ApexQualifiableNode for ASTUserEnum - <a href="https://github.com/aaronhurst-google">@aaronhurst-google</a></li>
</ul>