Skip to content

Commit 1282dda

Browse files
committed
1658: Refactor conditional formatting for better readability.
Reformatted the conditional statement to improve code structure and align with styling conventions. This change enhances code clarity and maintainability, ensuring consistency in the codebase.
1 parent d6fa513 commit 1282dda

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/main/java/com/magento/idea/magento2plugin/actions/generation/generator/OverrideTemplateInThemeGenerator.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,10 @@ public void execute(final PsiFile baseFile, final String themeName) {
4444
List<String> pathComponents; //NOPMD
4545

4646
if (moduleData == null) {
47-
if (Objects.equals(baseFile.getVirtualFile().getExtension(), OverridableFileType.JS.getType())) {
47+
if (Objects.equals(
48+
baseFile.getVirtualFile().getExtension(),
49+
OverridableFileType.JS.getType())
50+
) {
4851
pathComponents = getLibPathComponets(baseFile);
4952
} else {
5053
return;

0 commit comments

Comments
 (0)