Carsten Ziegeler wrote:
[EMAIL PROTECTED] wrote:
-        final String mode = (this.settings != null ? 
this.settings.getRunningMode() : SettingsDefaults.DEFAULT_RUNNING_MODE);
+        final String mode = this.settings.getRunningMode();
Could you please revert this change? The idea behind the initial code is
to have a fully functional bean even if the dependencies (like settings)
are not available (for example for unit testing).
If settings are set, both lines deliver the same result.
OK, the actual problem was settings were not set.



-        if ( mergedProps.size() > 0 ) {
+        if (mergedProps.size() > 0) {
Could you please try and not reformat the code while changing it? Your
recent commits contain a lot of code reformatting and a few code
changes. It's very hard to review the commit mails this way. It's better
to change the code with one commit and *if required* do only code
formatting in another separata commit.
OK, sorry for that. Old ctrl + shift + f habbit. Should I revert the changes?

--
Leszek Gawron                                    CTO at MobileBox Ltd.

Reply via email to