package org.ovirt.engine.core.bll;

import org.ovirt.engine.core.compat.*;
import org.ovirt.engine.core.common.config.Config;
import org.ovirt.engine.core.common.config.ConfigValues;
import org.ovirt.engine.core.common.queries.*;
import org.ovirt.engine.core.vdsbroker.vdsbroker.SysprepHandler;

public class GetDefualtTimeZoneQuery<P extends VdcQueryParametersBase> extends QueriesCommandBase<P> {
    public GetDefualtTimeZoneQuery(P parameters) {
        super(parameters);
    }

    @Override
    protected void executeQueryCommand() {
        String timezone = Config.<String> GetValue(ConfigValues.DefaultTimeZone);
        getQueryReturnValue().setReturnValue(new KeyValuePairCompat<String, String>(SysprepHandler.getTimezoneKey(timezone),
                timezone));
    }
}

package org.ovirt.engine.core.bll;

import org.ovirt.engine.core.common.config.Config;
import org.ovirt.engine.core.common.config.ConfigValues;
import org.ovirt.engine.core.common.queries.VdcQueryParametersBase;
import org.ovirt.engine.core.compat.KeyValuePairCompat;
import org.ovirt.engine.core.vdsbroker.vdsbroker.SysprepHandler;

public class GetDefualtTimeZoneQuery<P extends VdcQueryParametersBase> extends QueriesCommandBase<P> {
    public GetDefualtTimeZoneQuery(P parameters) {
        super(parameters);
    }

    @Override
    protected void executeQueryCommand() {
        String timezone = Config.<String> GetValue(ConfigValues.DefaultTimeZone);
        getQueryReturnValue().setReturnValue(new KeyValuePairCompat<String, String>(SysprepHandler.getTimezoneKey(timezone),
                timezone));
    }
}

Clean up imports on GetDefaultTimeZoneQuery
core: Clean up imports on GetDefaultTimeZoneQuery

Replaced * imports with FQCNs.

Change-Id: I23ab2fe33408ef7dc05ef4048f7c1418d3e4ef3e
