Skip to content

Commit 54855a9

Browse files
committed
Adding copyrights
1 parent be50c80 commit 54855a9

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

src/com/magento/idea/magento2plugin/actions/generation/dialog/NewCategoryEavAttributeDialog.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
/*
2+
* Copyright © Magento, Inc. All rights reserved.
3+
* See COPYING.txt for license details.
4+
*/
5+
16
package com.magento.idea.magento2plugin.actions.generation.dialog;
27

38
import com.intellij.openapi.project.Project;

src/com/magento/idea/magento2plugin/actions/generation/dialog/event/eavdialog/AttributeCodeAdapter.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
/*
22
* Copyright © Magento, Inc. All rights reserved.
33
* See COPYING.txt for license details.
4-
*
54
*/
65

76
package com.magento.idea.magento2plugin.actions.generation.dialog.event.eavdialog;
@@ -42,7 +41,6 @@ protected void textChanged(final @NotNull DocumentEvent event) {
4241
private String convertLabelToAttributeCode(final String attributeLabel) {
4342
final String formattedAttributeLabel = attributeLabel.trim().toLowerCase(Locale.ROOT);
4443

45-
//replace 2 or more spaces with underscore
4644
return formattedAttributeLabel.replaceAll("^ +| +$|( )+", "_");
4745
}
4846
}

0 commit comments

Comments
 (0)