use_separate_thread=new Boolean(str).booleanValue();
use_separate_thread=Boolean.valueOf(str).booleanValue();
    public boolean setProperties(Properties props) {        String str;        super.setProperties(props);        str=props.getProperty("min_interval");        if(str != null) {            min_interval=Long.parseLong(str);            props.remove("min_interval");        }        str=props.getProperty("max_interval");        if(str != null) {            max_interval=Long.parseLong(str);            props.remove("max_interval");        }        if(min_interval <= 0 || max_interval <= 0) {            if(log.isErrorEnabled()) log.error("min_interval and max_interval have to be > 0");            return false;        }        if(max_interval <= min_interval) {            if(log.isErrorEnabled()) log.error("max_interval has to be greater than min_interval");            return false;        }        str=props.getProperty("use_separate_thread");        if(str != null) {            use_separate_thread=new Boolean(str).booleanValue();            props.remove("use_separate_thread");        }        if(props.size() > 0) {            System.err.println("MERGE2.setProperties(): the following properties are not recognized:");            props.list(System.out);            return false;        }        return true;    }