Checkstyle fixes

This commit is contained in:
Marvin Scham
2023-05-23 07:29:55 +02:00
parent 4649b58859
commit 4a163f6c7e
15 changed files with 21 additions and 18 deletions

View File

@@ -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);
}
}
}

View File

@@ -3,7 +3,7 @@ package de.rwu.easydrop.data.connector;
/**
* Allows connecting to a SQLite Database.
*
* @todo implement
* TODO implement
*/
public class DatabaseConnector {

View File

@@ -1,6 +1,6 @@
/**
* Connectors for databases.
*
* @todo implement
* TODO implement
*/
package de.rwu.easydrop.data.connector;

View File

@@ -3,7 +3,7 @@ package de.rwu.easydrop.data.dao;
/**
* Product data access object.
*
* @todo implement
* TODO implement
*/
public class ProductDAO {

View File

@@ -1,6 +1,6 @@
/**
* Data access objects for business objects created from persistence.
*
* @todo implement
* TODO implement
*/
package de.rwu.easydrop.data.dao;

View File

@@ -1,7 +1,7 @@
package de.rwu.easydrop.data.model;
/**
* A Product
* A Product.
*
* @since 0.1.0
*/

View File

@@ -1,6 +1,6 @@
/**
* Business objects.
*
* @todo implement
* TODO implement
*/
package de.rwu.easydrop.data.model;

View File

@@ -1,6 +1,6 @@
/**
* Structure for business objects and persisting their info.
*
* @todo implement
* TODO implement
*/
package de.rwu.easydrop.data;

View File

@@ -1,6 +1,6 @@
/**
* Maps different formats of corresponding objects.
*
* @todo implement
* TODO implement
*/
package de.rwu.easydrop.service.mapping;

View File

@@ -1,6 +1,6 @@
/**
* Packages for supporting business logic.
*
* @todo implement
* TODO implement
*/
package de.rwu.easydrop.service;

View File

@@ -1,9 +1,9 @@
package de.rwu.easydrop.service.processing;
/**
* Processes dropshipping orders
* Processes dropshipping orders.
*
* @todo implement
* TODO implement
*/
public class OrderManager {

View File

@@ -1,6 +1,6 @@
/**
* Supports diverse business processes and enforces business rules.
*
* @todo implement
* TODO implement
*/
package de.rwu.easydrop.service.processing;

View File

@@ -1,7 +1,7 @@
package de.rwu.easydrop.service.validation;
/**
* Confirms validity of Product data
* Confirms validity of Product data.
*
* @since 0.1.0
*/

View File

@@ -1,6 +1,6 @@
/**
* Supports validation processes.
*
* @todo implement
* TODO implement
*/
package de.rwu.easydrop.service.validation;

View File

@@ -1,6 +1,6 @@
/**
* General utility such as formatting helpers.
*
* @todo implement
* TODO implement
*/
package de.rwu.easydrop.util;