@NonNullByDefault
public class CameraUtil {
- private static final Logger logger = LoggerFactory.getLogger(CameraUtil.class);
+ private static final Logger LOGGER = LoggerFactory.getLogger(CameraUtil.class);
private CameraUtil() {
// No need to instance this class.
ByteArrayOutputStream baos = new ByteArrayOutputStream();
try {
if (!ImageIO.write(image, "jpg", baos)) {
- logger.debug("Couldn't find JPEG writer.");
+ LOGGER.debug("Couldn't find JPEG writer.");
}
} catch (IOException e) {
- logger.info("IOException creating JPEG image.", e);
+ LOGGER.info("IOException creating JPEG image.", e);
}
byte[] byteArray = baos.toByteArray();
if (byteArray != null && byteArray.length > 0) {
package org.openhab.binding.lghombot.internal;
import org.eclipse.jdt.annotation.NonNullByDefault;
-import org.openhab.binding.lghombot.internal.discovery.LGHomBotDiscovery;
/**
* The {@link LGHomBotConfiguration} class contains fields mapping thing configuration parameters.
public class LGHomBotConfiguration {
/**
- * Constant field used in {@link LGHomBotDiscovery} to set the configuration property during discovery. Value of
+ * Constant field used in {@link org.openhab.binding.lghombot.internal.discovery.LGHomBotDiscovery} to set the
+ * configuration property during discovery. Value of
* this field needs to match {@link #ipAddress}
*/
public static final String IP_ADDRESS = "ipAddress";