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:
@@ -19,7 +19,26 @@ import java.util.Map;
|
||||
|
||||
import org.eclipse.jdt.annotation.NonNullByDefault;
|
||||
import org.eclipse.jdt.annotation.Nullable;
|
||||
import org.openhab.binding.heos.internal.handler.*;
|
||||
import org.openhab.binding.heos.internal.handler.HeosBridgeHandler;
|
||||
import org.openhab.binding.heos.internal.handler.HeosChannelHandler;
|
||||
import org.openhab.binding.heos.internal.handler.HeosChannelHandlerBuildGroup;
|
||||
import org.openhab.binding.heos.internal.handler.HeosChannelHandlerClearQueue;
|
||||
import org.openhab.binding.heos.internal.handler.HeosChannelHandlerControl;
|
||||
import org.openhab.binding.heos.internal.handler.HeosChannelHandlerFavorite;
|
||||
import org.openhab.binding.heos.internal.handler.HeosChannelHandlerGrouping;
|
||||
import org.openhab.binding.heos.internal.handler.HeosChannelHandlerInputs;
|
||||
import org.openhab.binding.heos.internal.handler.HeosChannelHandlerMute;
|
||||
import org.openhab.binding.heos.internal.handler.HeosChannelHandlerNowPlaying;
|
||||
import org.openhab.binding.heos.internal.handler.HeosChannelHandlerPlayURL;
|
||||
import org.openhab.binding.heos.internal.handler.HeosChannelHandlerPlayerSelect;
|
||||
import org.openhab.binding.heos.internal.handler.HeosChannelHandlerPlaylist;
|
||||
import org.openhab.binding.heos.internal.handler.HeosChannelHandlerQueue;
|
||||
import org.openhab.binding.heos.internal.handler.HeosChannelHandlerRawCommand;
|
||||
import org.openhab.binding.heos.internal.handler.HeosChannelHandlerReboot;
|
||||
import org.openhab.binding.heos.internal.handler.HeosChannelHandlerRepeatMode;
|
||||
import org.openhab.binding.heos.internal.handler.HeosChannelHandlerShuffleMode;
|
||||
import org.openhab.binding.heos.internal.handler.HeosChannelHandlerVolume;
|
||||
import org.openhab.binding.heos.internal.handler.HeosDynamicStateDescriptionProvider;
|
||||
import org.openhab.binding.heos.internal.resources.HeosEventListener;
|
||||
import org.openhab.core.thing.ChannelUID;
|
||||
import org.openhab.core.thing.type.ChannelTypeUID;
|
||||
|
||||
@@ -16,7 +16,11 @@ import static org.openhab.binding.heos.internal.handler.FutureUtil.cancel;
|
||||
|
||||
import java.beans.PropertyChangeListener;
|
||||
import java.io.IOException;
|
||||
import java.util.concurrent.*;
|
||||
import java.util.concurrent.ExecutorService;
|
||||
import java.util.concurrent.Executors;
|
||||
import java.util.concurrent.ScheduledExecutorService;
|
||||
import java.util.concurrent.ScheduledFuture;
|
||||
import java.util.concurrent.TimeUnit;
|
||||
import java.util.function.Consumer;
|
||||
|
||||
import org.eclipse.jdt.annotation.NonNullByDefault;
|
||||
|
||||
Reference in New Issue
Block a user