Avoid star imports and add missing braces (#10521)
Fixes the following SAT findings: * AvoidStarImportCheck (125) * NeedBracesCheck (39) Signed-off-by: Wouter Born <github@maindrain.net>
This commit is contained in:
@@ -17,7 +17,12 @@ import static org.openhab.binding.yeelight.internal.YeelightBindingConstants.*;
|
||||
import java.util.HashSet;
|
||||
import java.util.Set;
|
||||
|
||||
import org.openhab.binding.yeelight.internal.handler.*;
|
||||
import org.openhab.binding.yeelight.internal.handler.YeelightCeilingHandler;
|
||||
import org.openhab.binding.yeelight.internal.handler.YeelightCeilingWithAmbientHandler;
|
||||
import org.openhab.binding.yeelight.internal.handler.YeelightCeilingWithNightHandler;
|
||||
import org.openhab.binding.yeelight.internal.handler.YeelightColorHandler;
|
||||
import org.openhab.binding.yeelight.internal.handler.YeelightStripeHandler;
|
||||
import org.openhab.binding.yeelight.internal.handler.YeelightWhiteHandler;
|
||||
import org.openhab.core.thing.Thing;
|
||||
import org.openhab.core.thing.ThingTypeUID;
|
||||
import org.openhab.core.thing.binding.BaseThingHandlerFactory;
|
||||
|
||||
@@ -26,8 +26,17 @@ import org.openhab.binding.yeelight.internal.lib.enums.DeviceType;
|
||||
import org.openhab.binding.yeelight.internal.lib.listeners.DeviceConnectionStateListener;
|
||||
import org.openhab.binding.yeelight.internal.lib.listeners.DeviceStatusChangeListener;
|
||||
import org.openhab.binding.yeelight.internal.lib.services.DeviceManager;
|
||||
import org.openhab.core.library.types.*;
|
||||
import org.openhab.core.thing.*;
|
||||
import org.openhab.core.library.types.DecimalType;
|
||||
import org.openhab.core.library.types.HSBType;
|
||||
import org.openhab.core.library.types.IncreaseDecreaseType;
|
||||
import org.openhab.core.library.types.OnOffType;
|
||||
import org.openhab.core.library.types.PercentType;
|
||||
import org.openhab.core.library.types.StringType;
|
||||
import org.openhab.core.thing.ChannelUID;
|
||||
import org.openhab.core.thing.Thing;
|
||||
import org.openhab.core.thing.ThingStatus;
|
||||
import org.openhab.core.thing.ThingStatusDetail;
|
||||
import org.openhab.core.thing.ThingTypeUID;
|
||||
import org.openhab.core.thing.binding.BaseThingHandler;
|
||||
import org.openhab.core.types.Command;
|
||||
import org.openhab.core.types.RefreshType;
|
||||
|
||||
Reference in New Issue
Block a user