Resolves checkstyle errors for callback, chain, circuit-breaker (#1060)

* Reduces checkstyle errors in callback

* Reduces checkstyle errors in chain

* Reduces checkstyle errors in circuit-breaker
This commit is contained in:
Anurag Agarwal
2019-11-10 00:57:14 +05:30
committed by Ilkka Seppälä
parent efc17fcc70
commit 31f27a720b
18 changed files with 114 additions and 125 deletions
@@ -24,8 +24,8 @@
package com.iluwatar.circuitbreaker;
/**
* The service class which makes local and remote calls
* Uses {@link CircuitBreaker} object to ensure remote calls don't use up resources
* The service class which makes local and remote calls Uses {@link CircuitBreaker} object to ensure
* remote calls don't use up resources.
*/
public class MonitoringService {
@@ -35,9 +35,11 @@ public class MonitoringService {
}
/**
* Try to get result from remote server
* @param circuitBreaker The circuitBreaker object with all parameters
* @param serverStartTime Time at which actual server was started which makes calls to this service
* Try to get result from remote server.
*
* @param circuitBreaker The circuitBreaker object with all parameters
* @param serverStartTime Time at which actual server was started which makes calls to this
* service
* @return result from the remote response or exception raised by it.
*/
public String remoteResourceResponse(CircuitBreaker circuitBreaker, long serverStartTime) {