Checkstyle fixes
This commit is contained in:
@@ -12,7 +12,10 @@ import de.rwu.easydrop.util.ConfigUtil;
|
|||||||
* @since 0.1.0
|
* @since 0.1.0
|
||||||
*/
|
*/
|
||||||
public final class Main {
|
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.
|
* Prevents unwanted instantiation.
|
||||||
@@ -34,9 +37,9 @@ public final class Main {
|
|||||||
AmazonProductDataSource amznSrc = new AmazonProductDataSource(amznBaseUrl, amznApiKey);
|
AmazonProductDataSource amznSrc = new AmazonProductDataSource(amznBaseUrl, amznApiKey);
|
||||||
try {
|
try {
|
||||||
testProduct = amznSrc.getProductDTOById("B096Y2TYKV").toString();
|
testProduct = amznSrc.getProductDTOById("B096Y2TYKV").toString();
|
||||||
logger.info(testProduct);
|
LOGGER.info(testProduct);
|
||||||
} catch (IllegalArgumentException e) {
|
} catch (IllegalArgumentException e) {
|
||||||
logger.error("Something went wrong :(", e);
|
LOGGER.error("Something went wrong :(", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ package de.rwu.easydrop.data.connector;
|
|||||||
/**
|
/**
|
||||||
* Allows connecting to a SQLite Database.
|
* Allows connecting to a SQLite Database.
|
||||||
*
|
*
|
||||||
* @todo implement
|
* TODO implement
|
||||||
*/
|
*/
|
||||||
public class DatabaseConnector {
|
public class DatabaseConnector {
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/**
|
/**
|
||||||
* Connectors for databases.
|
* Connectors for databases.
|
||||||
*
|
*
|
||||||
* @todo implement
|
* TODO implement
|
||||||
*/
|
*/
|
||||||
package de.rwu.easydrop.data.connector;
|
package de.rwu.easydrop.data.connector;
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ package de.rwu.easydrop.data.dao;
|
|||||||
/**
|
/**
|
||||||
* Product data access object.
|
* Product data access object.
|
||||||
*
|
*
|
||||||
* @todo implement
|
* TODO implement
|
||||||
*/
|
*/
|
||||||
public class ProductDAO {
|
public class ProductDAO {
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/**
|
/**
|
||||||
* Data access objects for business objects created from persistence.
|
* Data access objects for business objects created from persistence.
|
||||||
*
|
*
|
||||||
* @todo implement
|
* TODO implement
|
||||||
*/
|
*/
|
||||||
package de.rwu.easydrop.data.dao;
|
package de.rwu.easydrop.data.dao;
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
package de.rwu.easydrop.data.model;
|
package de.rwu.easydrop.data.model;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* A Product
|
* A Product.
|
||||||
*
|
*
|
||||||
* @since 0.1.0
|
* @since 0.1.0
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/**
|
/**
|
||||||
* Business objects.
|
* Business objects.
|
||||||
*
|
*
|
||||||
* @todo implement
|
* TODO implement
|
||||||
*/
|
*/
|
||||||
package de.rwu.easydrop.data.model;
|
package de.rwu.easydrop.data.model;
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/**
|
/**
|
||||||
* Structure for business objects and persisting their info.
|
* Structure for business objects and persisting their info.
|
||||||
*
|
*
|
||||||
* @todo implement
|
* TODO implement
|
||||||
*/
|
*/
|
||||||
package de.rwu.easydrop.data;
|
package de.rwu.easydrop.data;
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/**
|
/**
|
||||||
* Maps different formats of corresponding objects.
|
* Maps different formats of corresponding objects.
|
||||||
*
|
*
|
||||||
* @todo implement
|
* TODO implement
|
||||||
*/
|
*/
|
||||||
package de.rwu.easydrop.service.mapping;
|
package de.rwu.easydrop.service.mapping;
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/**
|
/**
|
||||||
* Packages for supporting business logic.
|
* Packages for supporting business logic.
|
||||||
*
|
*
|
||||||
* @todo implement
|
* TODO implement
|
||||||
*/
|
*/
|
||||||
package de.rwu.easydrop.service;
|
package de.rwu.easydrop.service;
|
||||||
|
|||||||
@@ -1,9 +1,9 @@
|
|||||||
package de.rwu.easydrop.service.processing;
|
package de.rwu.easydrop.service.processing;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Processes dropshipping orders
|
* Processes dropshipping orders.
|
||||||
*
|
*
|
||||||
* @todo implement
|
* TODO implement
|
||||||
*/
|
*/
|
||||||
public class OrderManager {
|
public class OrderManager {
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/**
|
/**
|
||||||
* Supports diverse business processes and enforces business rules.
|
* Supports diverse business processes and enforces business rules.
|
||||||
*
|
*
|
||||||
* @todo implement
|
* TODO implement
|
||||||
*/
|
*/
|
||||||
package de.rwu.easydrop.service.processing;
|
package de.rwu.easydrop.service.processing;
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
package de.rwu.easydrop.service.validation;
|
package de.rwu.easydrop.service.validation;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Confirms validity of Product data
|
* Confirms validity of Product data.
|
||||||
*
|
*
|
||||||
* @since 0.1.0
|
* @since 0.1.0
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/**
|
/**
|
||||||
* Supports validation processes.
|
* Supports validation processes.
|
||||||
*
|
*
|
||||||
* @todo implement
|
* TODO implement
|
||||||
*/
|
*/
|
||||||
package de.rwu.easydrop.service.validation;
|
package de.rwu.easydrop.service.validation;
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/**
|
/**
|
||||||
* General utility such as formatting helpers.
|
* General utility such as formatting helpers.
|
||||||
*
|
*
|
||||||
* @todo implement
|
* TODO implement
|
||||||
*/
|
*/
|
||||||
package de.rwu.easydrop.util;
|
package de.rwu.easydrop.util;
|
||||||
|
|||||||
Reference in New Issue
Block a user