File tree Expand file tree Collapse file tree 1 file changed +12
-3
lines changed
src/com/magento/idea/magento2plugin/actions/generation/dialog Expand file tree Collapse file tree 1 file changed +12
-3
lines changed Original file line number Diff line number Diff line change @@ -246,17 +246,26 @@ public String getPackageName() {
246
246
return this .packageName .getText ().trim ();
247
247
}
248
248
249
+ /**
250
+ * Getter for Module Name.
251
+ *
252
+ * @return String
253
+ */
249
254
public String getModuleName () {
250
- return this .removeSubstringFormString (DEFAULT_MODULE_PREFIX , this .moduleName .getText ().trim ());
255
+ return this .removeSubstringFormString (
256
+ DEFAULT_MODULE_PREFIX , this .moduleName .getText ().trim ()
257
+ );
251
258
}
252
259
253
260
/**
254
- *
261
+ * Remove substring from string.
255
262
* @param target String
256
263
* @param replacement String
257
264
* @return String
258
265
*/
259
- private String removeSubstringFormString (@ NotNull String target , @ NotNull String replacement ) {
266
+ private String removeSubstringFormString (
267
+ @ NotNull String target , @ NotNull String replacement
268
+ ) {
260
269
String moduleRegex = "(?i)" + target ;
261
270
return replacement .replaceAll (moduleRegex , "" );
262
271
}
You can’t perform that action at this time.
0 commit comments