From 548884e2470e5753e06f7f2bcc61b3b33a5239a8 Mon Sep 17 00:00:00 2001 From: "chen.ma" Date: Sat, 30 Oct 2021 22:36:55 +0800 Subject: [PATCH] =?UTF-8?q?optimize:=20=E5=88=A0=E9=99=A4=20Result=20fail?= =?UTF-8?q?=20=E5=AD=97=E6=AE=B5.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/github/dynamic/threadpool/common/web/base/Result.java | 4 ---- 1 file changed, 4 deletions(-) diff --git a/common/src/main/java/com/github/dynamic/threadpool/common/web/base/Result.java b/common/src/main/java/com/github/dynamic/threadpool/common/web/base/Result.java index ae2d22f5..6c7fd7ad 100644 --- a/common/src/main/java/com/github/dynamic/threadpool/common/web/base/Result.java +++ b/common/src/main/java/com/github/dynamic/threadpool/common/web/base/Result.java @@ -29,8 +29,4 @@ public class Result implements Serializable { return SUCCESS_CODE.equals(code); } - public boolean isFail() { - return !isSuccess(); - } - }