Checkstyle improvements Product + OfferProvis
This commit is contained in:
@@ -47,7 +47,7 @@ public class OfferProvisioner {
|
||||
offer.getSaleProduct().getProductId(),
|
||||
"Amazon"));
|
||||
|
||||
} else if (offer.getSaleProduct().getDataOrigin().toLowerCase().equals("Amazon")) {
|
||||
} else if (offer.getSaleProduct().getDataOrigin().toLowerCase().equals("amazon")) {
|
||||
this.amazonSeller.sellProduct(new ProductDTO(
|
||||
offer.getSaleProduct().getProductId(),
|
||||
"eBay"));
|
||||
|
||||
@@ -10,13 +10,19 @@ import lombok.Data;
|
||||
*/
|
||||
@Data
|
||||
public class Product {
|
||||
/*
|
||||
* Constants for data source/destination platforms
|
||||
/**
|
||||
* Constants for data source/destination platforms.
|
||||
*/
|
||||
public enum webshop{
|
||||
AMAZON, EBAY
|
||||
}
|
||||
|
||||
public enum Webshop {
|
||||
/**
|
||||
* Amazon.
|
||||
*/
|
||||
AMAZON,
|
||||
/**Ebay.
|
||||
*/
|
||||
EBAY
|
||||
}
|
||||
|
||||
/**
|
||||
* Data source platform, like "Amazon".
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user