Commit bafb8e05 authored by Liang Ding's avatar Liang Ding

🎨 Clean code

parent 7073122c
......@@ -51,7 +51,7 @@ public class ArticleCache {
* @return article, returns {@code null} if not found
*/
public JSONObject getArticle(final String id) {
final JSONObject article = (JSONObject) ARTICLE_CACHE.get(id);
final JSONObject article = ARTICLE_CACHE.get(id);
if (null == article) {
return null;
}
......
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