From e40761740581c5b2111d0c2072e6b75020171b2f Mon Sep 17 00:00:00 2001 From: ag2s20150909 Date: Thu, 13 May 2021 12:09:56 +0800 Subject: [PATCH] =?UTF-8?q?resource=E4=B8=BAnull=E6=97=B6=E4=B8=8D?= =?UTF-8?q?=E8=AE=BE=E7=BD=AE=E6=A0=87=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../me/ag2s/epublib/domain/TitledResourceReference.java | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/epublib/src/main/java/me/ag2s/epublib/domain/TitledResourceReference.java b/epublib/src/main/java/me/ag2s/epublib/domain/TitledResourceReference.java index 6357bc489..e7fe769ad 100644 --- a/epublib/src/main/java/me/ag2s/epublib/domain/TitledResourceReference.java +++ b/epublib/src/main/java/me/ag2s/epublib/domain/TitledResourceReference.java @@ -1,12 +1,10 @@ package me.ag2s.epublib.domain; -import android.util.Log; +import java.io.Serializable; import me.ag2s.epublib.Constants; import me.ag2s.epublib.util.StringUtil; -import java.io.Serializable; - public class TitledResourceReference extends ResourceReference implements Serializable { @@ -74,8 +72,6 @@ public class TitledResourceReference extends ResourceReference //resource为null时不设置标题 if(this.resource!=null&&this.title!=null){ resource.setTitle(title); - }else { - Log.e(TitledResourceReference.class.getSimpleName(),"警告:resource 为null,忽略设置标题。"); } return resource;