Checkstyle fixes
This commit is contained in:
@@ -12,7 +12,10 @@ import de.rwu.easydrop.util.ConfigUtil;
|
||||
* @since 0.1.0
|
||||
*/
|
||||
public final class Main {
|
||||
private static final Logger logger = LoggerFactory.getLogger(Main.class);
|
||||
/**
|
||||
* Logger for main process.
|
||||
*/
|
||||
private static final Logger LOGGER = LoggerFactory.getLogger(Main.class);
|
||||
|
||||
/**
|
||||
* Prevents unwanted instantiation.
|
||||
@@ -34,9 +37,9 @@ public final class Main {
|
||||
AmazonProductDataSource amznSrc = new AmazonProductDataSource(amznBaseUrl, amznApiKey);
|
||||
try {
|
||||
testProduct = amznSrc.getProductDTOById("B096Y2TYKV").toString();
|
||||
logger.info(testProduct);
|
||||
LOGGER.info(testProduct);
|
||||
} catch (IllegalArgumentException e) {
|
||||
logger.error("Something went wrong :(", e);
|
||||
LOGGER.error("Something went wrong :(", e);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user