incubator-projects mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vladimirov Sergey" <Vladimi...@ipccenter.ru>
Subject [FTPServer] configuration
Date Mon, 09 Aug 2004 06:50:44 GMT
Good day.

        // get autometic user home creation flag
        mbCreateHome = false;
        tmpConf = conf.getChild("create-user-home", false);
        if(tmpConf != null) {
            mbCreateHome = tmpConf.getValueAsBoolean(mbCreateHome);
        }

Why not use such construction?:

mbCreateHome =
conf.getChild("create-user-home").getValueAsBoolean(false);

-- 
With best regards,
Sergey M Vladimirov



---------------------------------------------------------------------
To unsubscribe, e-mail: projects-unsubscribe@incubator.apache.org
For additional commands, e-mail: projects-help@incubator.apache.org


Mime
View raw message