GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — [apex] EagerlyLoadedDescribeSObjectResult: False positive with fully qualified SObjectDescribeOptions/FieldDescribeOptions · Issue #5082 · pmd/pmd Closed Labels a:false-positivePMD flags a piece of code that is not problematic Milestone DescriptionAffects PMD Version: 7.0.0 Rule: EagerlyLoadedDescribeSObjectResult Description: When calling Code Sample demonstrating the issue: Id niprRecordTypeId = Regulatory_Action__c.SObjectType.getDescribe( Schema.SObjectDescribeOptions.DEFERRED ) .getRecordTypeInfosByDeveloperName() .get('NIPR') .getRecordTypeId(); Not failing snippet: Id niprRecordTypeId = Regulatory_Action__c.SObjectType.getDescribe( SObjectDescribeOptions.DEFERRED ) .getRecordTypeInfosByDeveloperName() .get('NIPR') .getRecordTypeId(); Expected outcome: The rule should not fail when explicitly invoking the Running PMD through: CLI Reacted by Renato Oliveira and Marek Madejski Activity
MetadataMetadataAssigneesLabelsa:false-positivePMD flags a piece of code that is not problematic TypeProjectsMilestoneRelationshipsDevelopmentIssue actions |
| You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |