Resolves checkstyle errors for business-delegate, bytecode, caching (#1059)

* Reduces checkstyle errors in business-delegate

* Reduces checkstyle errors in bytecode

* Reduces checkstyle errors in caching
This commit is contained in:
Anurag Agarwal
2019-11-10 00:53:12 +05:30
committed by Ilkka Seppälä
parent 6d1c0b1563
commit efc17fcc70
21 changed files with 119 additions and 134 deletions

View File

@ -28,11 +28,11 @@ package com.iluwatar.business.delegate;
* tiers. By using the pattern we gain loose coupling between the tiers. The Business Delegate
* encapsulates knowledge about how to locate, connect to, and interact with the business objects
* that make up the application.
*
*
* <p>Some of the services the Business Delegate uses are instantiated directly, and some can be
* retrieved through service lookups. The Business Delegate itself may contain business logic too
* potentially tying together multiple service calls, exception handling, retrying etc.
*
*
* <p>In this example the client ({@link Client}) utilizes a business delegate (
* {@link BusinessDelegate}) to execute a task. The Business Delegate then selects the appropriate
* service and makes the service call.

View File

@ -24,7 +24,7 @@
package com.iluwatar.business.delegate;
/**
* BusinessDelegate separates the presentation and business tiers
* BusinessDelegate separates the presentation and business tiers.
*/
public class BusinessDelegate {

View File

@ -33,6 +33,8 @@ public class BusinessLookup {
private JmsService jmsService;
/**
* Gets service instance based on service type.
*
* @param serviceType Type of service instance to be returned.
* @return Service instance.
*/

View File

@ -24,9 +24,7 @@
package com.iluwatar.business.delegate;
/**
*
* Interface for service implementations
*
* Interface for service implementations.
*/
public interface BusinessService {

View File

@ -24,9 +24,7 @@
package com.iluwatar.business.delegate;
/**
*
* Client utilizes BusinessDelegate to call the business tier
*
* Client utilizes BusinessDelegate to call the business tier.
*/
public class Client {

View File

@ -27,9 +27,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
/**
*
* Service EJB implementation
*
* Service EJB implementation.
*/
public class EjbService implements BusinessService {

View File

@ -27,9 +27,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
/**
*
* Service JMS implementation
*
* Service JMS implementation.
*/
public class JmsService implements BusinessService {

View File

@ -24,9 +24,7 @@
package com.iluwatar.business.delegate;
/**
*
* Enumeration for service types
*
* Enumeration for service types.
*/
public enum ServiceType {