Skip to content

Commit 49bf302

Browse files
698: Changed of parameters for function removeSubstringFormString to final.
1 parent c4c39f8 commit 49bf302

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -264,9 +264,9 @@ public String getModuleName() {
264264
* @return String
265265
*/
266266
private String removeSubstringFormString(
267-
@NotNull String target, @NotNull String replacement
267+
final @NotNull String target, final @NotNull String replacement
268268
) {
269-
String moduleRegex = "(?i)" + target;
269+
final String moduleRegex = "(?i)" + target;
270270
return replacement.replaceAll(moduleRegex, "");
271271
}
272272

0 commit comments

Comments
 (0)