Open paulochang opened 3 weeks ago
I have replaced all the initialization and calls to the general Component model with a call to the specific component model for each model.
Given the existing Button HTL code
<button data-sly-use.button="com.adobe.cq.wcm.core.components.models.Button" data-sly-use.component="com.adobe.cq.wcm.core.components.models.Component" .... id="${component.id}"
I have done a replacement with the following code instead
<button data-sly-use.button="com.adobe.cq.wcm.core.components.models.Button" ... id="${button.id}"
Issues 0 New issues 0 Accepted issues
Measures 0 Security Hotspots No data about Coverage No data about Duplication
See analysis details on SonarCloud
I have replaced all the initialization and calls to the general Component model with a call to the specific component model for each model.
Example:
Given the existing Button HTL code
I have done a replacement with the following code instead