File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
src/com/magento/idea/magento2plugin/actions/generation/dialog/event/eavdialog Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 11
11
import javax .swing .event .DocumentEvent ;
12
12
import javax .swing .text .BadLocationException ;
13
13
import javax .swing .text .Document ;
14
- import org .codehaus . plexus . util .StringUtils ;
14
+ import org .apache . commons . lang .StringUtils ;
15
15
import org .jetbrains .annotations .NotNull ;
16
16
17
17
public class DataPatchNameAdapter extends DocumentAdapter {
@@ -73,15 +73,15 @@ private void updateDataPatchFileName(final String attributeCode) {
73
73
String fileName = "" ;
74
74
75
75
for (final String fileNamePart : SplitEavAttributeCodeUtil .execute (attributeCode )) {
76
- fileName = String .join ("" , fileName , StringUtils .capitalise (fileNamePart ));
76
+ fileName = String .join ("" , fileName , StringUtils .capitalize (fileNamePart ));
77
77
}
78
78
79
79
dataPatchNameTextField .setText (
80
80
String .join (
81
81
"" ,
82
82
NAME_PREFIX ,
83
83
fileName ,
84
- StringUtils .capitalise (entityType ), NAME_SUFFIX
84
+ StringUtils .capitalize (entityType ), NAME_SUFFIX
85
85
)
86
86
);
87
87
}
Original file line number Diff line number Diff line change 11
11
import javax .swing .event .DocumentEvent ;
12
12
import javax .swing .text .BadLocationException ;
13
13
import javax .swing .text .Document ;
14
- import org .codehaus . plexus . util .StringUtils ;
14
+ import org .apache . commons . lang .StringUtils ;
15
15
import org .jetbrains .annotations .NotNull ;
16
16
17
17
public class SourceModelNameAdapter extends DocumentAdapter {
@@ -46,7 +46,7 @@ private void updateSourceModelName(final String attributeCode) {
46
46
final StringBuilder sourceModelClassName = new StringBuilder ();
47
47
48
48
for (final String codePart : SplitEavAttributeCodeUtil .execute (attributeCode )) {
49
- sourceModelClassName .append (StringUtils .capitalise (codePart ));
49
+ sourceModelClassName .append (StringUtils .capitalize (codePart ));
50
50
}
51
51
52
52
sourceModelNameTexField .setText (sourceModelClassName .toString ());
You can’t perform that action at this time.
0 commit comments