}\r
\r
public LOGJSONObject reOrderObject(LOGJSONObject jo) {\r
- LinkedHashMap<String, Object> logrecordObj = new LinkedHashMap<String, Object>();\r
+ LinkedHashMap<String, Object> logrecordObj = new LinkedHashMap<>();\r
\r
logrecordObj.put("expiryReason", jo.get("expiryReason"));\r
logrecordObj.put("publishId", jo.get("publishId"));\r
logrecordObj.put("date", jo.get("date"));\r
logrecordObj.put("contentLength", jo.get("contentLength"));\r
\r
- LOGJSONObject newjo = new LOGJSONObject(logrecordObj);\r
- return newjo;\r
+ return new LOGJSONObject(logrecordObj);\r
}\r
\r
@Override\r
jo.put("expiryReason", reason);\r
jo.put("attempts", attempts);\r
\r
- LOGJSONObject newjo = this.reOrderObject(jo);\r
- return newjo;\r
+ return this.reOrderObject(jo);\r
}\r
\r
@Override\r