Skip to content

Commit f2239a5

Browse files
committed
2490: Refactor Javadoc comments in dialog classes
Removed redundant and overly verbose Javadoc comments in `NewSetupDataPatchDialog` and `NewLayoutTemplateDialog`. Simplified and clarified descriptions to enhance readability and maintain consistency.
1 parent bb39492 commit f2239a5

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

src/main/java/com/magento/idea/magento2plugin/actions/generation/dialog/NewLayoutTemplateDialog.java

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,7 @@ public class NewLayoutTemplateDialog extends AbstractDialog {
6666
private JLabel layoutNameErrorMessage;
6767

6868
/**
69-
* Constructs a new dialog for creating a layout template, initializing its components and setting
70-
* default behaviors such as focus and button actions.
69+
* Constructs a new dialog for creating a layout templates.
7170
*
7271
* @param project The current IntelliJ project associated with the dialog.
7372
* @param directory The PsiDirectory where the new layout will be created.
@@ -106,6 +105,12 @@ public void windowClosing(WindowEvent event) {
106105
autoSelectCurrentArea();
107106
}
108107

108+
/**
109+
* Opens the New Layout Template Dialog, initializes its components.
110+
*
111+
* @param project The current IntelliJ project associated with the dialog.
112+
* @param directory The PsiDirectory where the new layout will be created.
113+
*/
109114
public static void open(final Project project, final PsiDirectory directory) {
110115
final NewLayoutTemplateDialog dialog = new NewLayoutTemplateDialog(project, directory);
111116
dialog.pack();

src/main/java/com/magento/idea/magento2plugin/actions/generation/dialog/NewSetupDataPatchDialog.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,6 @@ public class NewSetupDataPatchDialog extends AbstractDialog {
4949

5050
/**
5151
* Constructs a new instance of the NewSetupDataPatchDialog.
52-
* This dialog facilitates the creation of a new Magento 2 Setup Data Patch,
53-
* allowing the user to provide necessary module details and interact with a graphical user interface.
5452
*
5553
* @param project The current IntelliJ IDEA project context.
5654
* @param directory The base directory where the Setup Data Patch will be created.

0 commit comments

Comments
 (0)