A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/pmd/pmd/issues/1664 below:

[apex] False positive ApexSharingViolationsRule, unsupported Apex feature · Issue #1664 · pmd/pmd · GitHub

Affects PMD Version: PMD 6.11.0

Rule: ApexSharingViolationsRule

Description:
The rule doesn't support the new inherited sharing keyword. This is because currently PMD uses OldModifiers lib for checking modifiers, but it's not going to be updated with the new features (according to its name). The inherited sharing keyword was introduced in Winter '19 release.

Code Sample demonstrating the issue:

public inherited sharing class Aq {
}

Running PMD through: Ant, VSCode plugin


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4