|
|
|
@ -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; |
|
|
|
|