File tree Expand file tree Collapse file tree 1 file changed +1
-7
lines changed
src/platform-utility/CustomMetadataDAO/classes Expand file tree Collapse file tree 1 file changed +1
-7
lines changed Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ public inherited sharing class CustomMetadataDAO {
4141 * @author Kenneth Soerensen ([email protected] ), NAV 4242 * @since 0.1.0, August 2024
4343 * @param query The SOQL query string to fetch the Custom Metadata Records.
44- * @returns Return a list of Custom Metadata Records as `List<SObject>`
44+ * @return Return a list of Custom Metadata Records as `List<SObject>`
4545 * @example
4646 * List<CustomMetadata__mdt> nameCMList = (List<CustomMetadata__mdt>) new CustomMetadataDAO()
4747 * .getCustomMetadataRecords(
@@ -56,12 +56,6 @@ public inherited sharing class CustomMetadataDAO {
5656 * }
5757 */
5858 public List <SObject > getCustomMetadataRecords (String query ) {
59- System .debug (LoggingLevel .DEBUG , ' query: ' + query );
60- System .debug (
61- LoggingLevel .DEBUG ,
62- ' customMetadataRecordsMap: ' + customMetadataRecordsMap
63- );
64-
6559 if (! customMetadataRecordsMap .containsKey (query )) {
6660 customMetadataRecordsMap .put (query , Database .query (query ));
6761 }
You can’t perform that action at this time.
0 commit comments