From 7d5f09370b2ad1e62db4fb8bb74ca01bb6c12bde Mon Sep 17 00:00:00 2001 From: Joe <736777445@qq.com> Date: Tue, 5 Mar 2019 11:26:47 +0800 Subject: [PATCH] =?UTF-8?q?Update=2088.=20=E4=BF=9D=E6=8A=A4=E6=80=A7?= =?UTF-8?q?=E7=9A=84=E7=BC=96=E5=86=99=20readObject=20=E6=96=B9=E6=B3=95.m?= =?UTF-8?q?d?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 88. 保护性的编写 readObject 方法.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/88. 保护性的编写 readObject 方法.md b/88. 保护性的编写 readObject 方法.md index 3a03604..adccdf7 100644 --- a/88. 保护性的编写 readObject 方法.md +++ b/88. 保护性的编写 readObject 方法.md @@ -17,8 +17,7 @@ public final class Period { this.start = new Date(start.getTime()); this.end = new Date(end.getTime()); if (this.start.compareTo(this.end) > 0) - throw new IllegalArgumentException( - start + " after " + end); + throw new IllegalArgumentException(start + " after " + end); } public Date start () { return new Date(start.getTime());