1
0
mirror of https://gitee.com/mirrors/Spring-Cloud-Alibaba.git synced 2021-06-26 13:25:11 +08:00

pass checkstyle plugin

This commit is contained in:
fangjian0423
2019-10-28 16:15:18 +08:00
parent 16e9494487
commit de9b1be4be
16 changed files with 84 additions and 13 deletions

View File

@@ -25,7 +25,11 @@ import org.springframework.http.client.ClientHttpRequestExecution;
/**
* @author fangjian
*/
public class ExceptionUtil {
public final class ExceptionUtil {
private ExceptionUtil() {
}
public static SentinelClientHttpResponse handleException(HttpRequest request,
byte[] body, ClientHttpRequestExecution execution, BlockException ex) {

View File

@@ -33,7 +33,7 @@ public class EchoServiceFallback implements EchoService {
}
/**
* 调用服务提供方的输出接口
* 调用服务提供方的输出接口.
* @param str 用户输入
* @return
*/

View File

@@ -33,9 +33,9 @@ import org.springframework.web.bind.annotation.PathVariable;
public interface EchoService {
/**
* 调用服务提供方的输出接口
* 调用服务提供方的输出接口.
* @param str 用户输入
* @return
* @return echo result
*/
@GetMapping("/echo/{str}")
String echo(@PathVariable("str") String str);