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() {
244244 */
245245 public String getSetupVersion () {
246246 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+ ) {
248250 return this .moduleVersion .getText ().trim ();
249251 }
250252 return null ;
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ public SettingsFormValidator(
2626 /**
2727 * Validate form.
2828 *
29- * @throws ConfigurationException
29+ * @throws ConfigurationException Exception
3030 */
3131 public void validate () throws ConfigurationException {
3232 if (!form .getSettings ().pluginEnabled ) {
@@ -46,8 +46,8 @@ public void validate() throws ConfigurationException {
4646 );
4747 }
4848
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 )) {
5151 throw new ConfigurationException (
5252 validatorBundle .message ("validator.magentoVersionInvalid" )
5353 );
You can’t perform that action at this time.
0 commit comments