File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed
src/com/magento/idea/magento2plugin/actions/generation/dialog Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change 1+ /*
2+ * Copyright © Magento, Inc. All rights reserved.
3+ * See COPYING.txt for license details.
4+ */
5+
16package com .magento .idea .magento2plugin .actions .generation .dialog ;
27
38import com .intellij .openapi .project .Project ;
Original file line number Diff line number Diff line change 11/*
22 * Copyright © Magento, Inc. All rights reserved.
33 * See COPYING.txt for license details.
4- *
54 */
65
76package 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}
You can’t perform that action at this time.
0 commit comments