Commit 44ac72ef authored by Liang Ding's avatar Liang Ding

移除冗余代码

parent 9b05326f
...@@ -360,10 +360,8 @@ public final class MetaWeblogAPI { ...@@ -360,10 +360,8 @@ public final class MetaWeblogAPI {
final String name = member.getString("name"); final String name = member.getString("name");
if ("dateCreated".equals(name)) { if ("dateCreated".equals(name)) {
final JSONObject preference = preferenceQueryService.getPreference();
final String dateString = member.getJSONObject("value").getString("dateTime.iso8601"); final String dateString = member.getJSONObject("value").getString("dateTime.iso8601");
Date date = null; Date date;
try { try {
date = (Date) DateFormatUtils.ISO_DATETIME_FORMAT.parseObject(dateString); date = (Date) DateFormatUtils.ISO_DATETIME_FORMAT.parseObject(dateString);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment