File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed
src/com/magento/idea/magento2plugin
actions/generation/dialog Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -244,7 +244,9 @@ public String getModuleVersion() {
244
244
*/
245
245
public String getSetupVersion () {
246
246
final String magentoVersion = getMagentoVersion ();
247
- if (!MagentoVersionUtil .compare (magentoVersion , MAGENTO_BEFORE_DECLARATIVE_SCHEMA_VERSION )) {
247
+ if (!MagentoVersionUtil .compare (
248
+ magentoVersion , MAGENTO_BEFORE_DECLARATIVE_SCHEMA_VERSION )
249
+ ) {
248
250
return this .moduleVersion .getText ().trim ();
249
251
}
250
252
return null ;
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ public SettingsFormValidator(
26
26
/**
27
27
* Validate form.
28
28
*
29
- * @throws ConfigurationException
29
+ * @throws ConfigurationException Exception
30
30
*/
31
31
public void validate () throws ConfigurationException {
32
32
if (!form .getSettings ().pluginEnabled ) {
@@ -46,8 +46,8 @@ public void validate() throws ConfigurationException {
46
46
);
47
47
}
48
48
49
- if (!magentoVersion .matches (RegExUtil .MAGENTO_VERSION ) &&
50
- !magentoVersion .equals (MagentoVersionUtil .DEFAULT_VERSION )) {
49
+ if (!magentoVersion .matches (RegExUtil .MAGENTO_VERSION )
50
+ && !magentoVersion .equals (MagentoVersionUtil .DEFAULT_VERSION )) {
51
51
throw new ConfigurationException (
52
52
validatorBundle .message ("validator.magentoVersionInvalid" )
53
53
);
You can’t perform that action at this time.
0 commit comments