File tree Expand file tree Collapse file tree 2 files changed +18
-4
lines changed
src/main/java/com/magento/idea/magento2plugin/actions/generation/dialog Expand file tree Collapse file tree 2 files changed +18
-4
lines changed Original file line number Diff line number Diff line change 5050 "PMD.TooManyFields" ,
5151 "PMD.ExcessiveImports" ,
5252 "PMD.TooManyMethods" ,
53- "PMD.UnusedPrivateField"
53+ "PMD.UnusedPrivateField" ,
54+ "PMD.GodClass"
5455})
5556public class NewCustomerEavAttributeDialog extends AbstractDialog {
5657
@@ -173,6 +174,7 @@ protected void initDialogState() {
173174 /**
174175 * Fill attribute type combo box.
175176 */
177+ @ SuppressWarnings ("PMD.AvoidInstantiatingObjectsInLoops" )
176178 protected void fillAttributeTypeComboBox () {
177179 if (typeComboBox == null ) {
178180 return ;
@@ -188,6 +190,7 @@ protected void fillAttributeTypeComboBox() {
188190 /**
189191 * Fill attribute input combo box.
190192 */
193+ @ SuppressWarnings ("PMD.AvoidInstantiatingObjectsInLoops" )
191194 protected void fillAttributeInputComboBox () {
192195 if (inputComboBox == null ) {
193196 return ;
@@ -540,7 +543,11 @@ protected void generateExtraFilesBeforeDataPatchGeneration() {
540543 */
541544 protected void generateExtraFilesAfterDataPatchGeneration (
542545 final EavEntityDataInterface eavEntityDataInterface
543- ) {}
546+ ) {
547+ // This method is intentionally left empty.
548+ // No additional files need to be generated after the data patch for customer EAV attributes.
549+ // Subclasses may override this method to provide specific implementation if needed.
550+ }
544551
545552 /**
546553 * Create center panel.
Original file line number Diff line number Diff line change 5656 "PMD.TooManyFields" ,
5757 "PMD.ExcessiveImports" ,
5858 "PMD.TooManyMethods" ,
59- "PMD.UnusedPrivateField"
59+ "PMD.UnusedPrivateField" ,
60+ "PMD.GodClass"
6061})
6162public class NewProductEavAttributeDialog extends AbstractDialog {
6263
@@ -189,6 +190,7 @@ protected void initDialogState() {
189190 /**
190191 * Fill attribute type combo box.
191192 */
193+ @ SuppressWarnings ("PMD.AvoidInstantiatingObjectsInLoops" )
192194 protected void fillAttributeTypeComboBox () {
193195 if (typeComboBox == null ) {
194196 return ;
@@ -204,6 +206,7 @@ protected void fillAttributeTypeComboBox() {
204206 /**
205207 * Fill attribute input combo box.
206208 */
209+ @ SuppressWarnings ("PMD.AvoidInstantiatingObjectsInLoops" )
207210 protected void fillAttributeInputComboBox () {
208211 if (inputComboBox == null ) {
209212 return ;
@@ -587,7 +590,11 @@ protected void generateExtraFilesBeforeDataPatchGeneration() {
587590 */
588591 protected void generateExtraFilesAfterDataPatchGeneration (
589592 final EavEntityDataInterface eavEntityDataInterface
590- ) {}
593+ ) {
594+ // This method is intentionally left empty.
595+ // No additional files need to be generated after the data patch for product EAV attributes.
596+ // Subclasses may override this method to provide specific implementation if needed.
597+ }
591598
592599 /**
593600 * Create center panel.
You can’t perform that action at this time.
0 commit comments