Skip to content

Commit baac44e

Browse files
author
Vitaliy Boyko
committed
Static fixes
1 parent 9ea36e9 commit baac44e

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

src/com/magento/idea/magento2plugin/generation/php/NewModuleForm.java

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* See COPYING.txt for license details.
44
*/
55

6-
package com.magento.idea.magento2plugin.generation.php;
6+
package com.magento.idea.magento2plugin.generation.php;//NOPMD
77

88
import com.intellij.openapi.fileChooser.FileChooserDescriptor;
99
import com.intellij.openapi.fileChooser.FileChooserDescriptorFactory;
@@ -86,6 +86,7 @@ private void addPathListener() {
8686
descriptor,
8787
TextComponentAccessor.TEXT_FIELD_WHOLE_TEXT
8888
) {
89+
@Override
8990
protected VirtualFile getInitialFile() {
9091
String directoryName = this.getComponentText();
9192
if (!StringUtil.isEmptyOrSpaces(directoryName)) {
@@ -186,21 +187,25 @@ public void addSettingsStateListener(final ProjectGeneratorPeer.SettingsListener
186187

187188
private void addComponentChangesListener(final Runnable listener) {
188189
this.magentoPath.getTextField().getDocument().addDocumentListener(new DocumentAdapter() {
190+
@Override
189191
protected void textChanged(final @NotNull DocumentEvent event) {
190192
listener.run();
191193
}
192194
});
193195
this.moduleName.getDocument().addDocumentListener(new DocumentAdapter() {
196+
@Override
194197
protected void textChanged(final @NotNull DocumentEvent event) {
195198
listener.run();
196199
}
197200
});
198201
this.packageName.getDocument().addDocumentListener(new DocumentAdapter() {
202+
@Override
199203
protected void textChanged(final @NotNull DocumentEvent event) {
200204
listener.run();
201205
}
202206
});
203207
this.moduleVersion.getDocument().addDocumentListener(new DocumentAdapter() {
208+
@Override
204209
protected void textChanged(final @NotNull DocumentEvent event) {
205210
listener.run();
206211
}

src/com/magento/idea/magento2plugin/inspections/xml/ObserverDeclarationInspection.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* See COPYING.txt for license details.
44
*/
55

6-
package com.magento.idea.magento2plugin.inspections.xml;
6+
package com.magento.idea.magento2plugin.inspections.xml;//NOPMD
77

88
import com.intellij.codeInspection.ProblemHighlightType;
99
import com.intellij.codeInspection.ProblemsHolder;

0 commit comments

Comments
 (0)