File tree Expand file tree Collapse file tree
src/org/netbeans/modules/php/wordpress/customizer Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -175,17 +175,17 @@ public EnumSet<Change> save(PhpModule pm) {
175175 }
176176
177177 String wordPressRoot = getPanel ().getWordPressRootDirectory ();
178- if (!StringUtils . isEmpty ( wordPressRoot ) && ! originalCustomeContentName .equals (wordPressRoot )) {
178+ if (!originalCustomeContentName .equals (wordPressRoot )) {
179179 WordPressPreferences .setWordPressRootPath (phpModule , wordPressRoot );
180180 }
181181
182182 String plugins = getPanel ().getPluginsDirectory ();
183- if (!StringUtils . isEmpty ( plugins ) && ! originalCustomeContentName .equals (plugins )) {
183+ if (!originalCustomeContentName .equals (plugins )) {
184184 WordPressPreferences .setPluginsPath (phpModule , plugins );
185185 }
186186
187187 String themes = getPanel ().getThemesDirectory ();
188- if (!StringUtils . isEmpty ( themes ) && ! originalCustomeContentName .equals (themes )) {
188+ if (!originalCustomeContentName .equals (themes )) {
189189 WordPressPreferences .setThemesPath (phpModule , themes );
190190 }
191191
You can’t perform that action at this time.
0 commit comments