Commit d6e82896 authored by Liang Ding's avatar Liang Ding

🎨 Cleanup code

parent e9d4c35b
...@@ -40,7 +40,6 @@ import org.b3log.solo.util.Markdowns; ...@@ -40,7 +40,6 @@ import org.b3log.solo.util.Markdowns;
import org.b3log.solo.util.Skins; import org.b3log.solo.util.Skins;
import org.json.JSONObject; import org.json.JSONObject;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse; import javax.servlet.http.HttpServletResponse;
import java.util.List; import java.util.List;
import java.util.Map; import java.util.Map;
......
...@@ -166,15 +166,13 @@ public class LinkMgmtService { ...@@ -166,15 +166,13 @@ public class LinkMgmtService {
* Adds a link with the specified request json object. * Adds a link with the specified request json object.
* *
* @param requestJSONObject the specified request json object, for example, * @param requestJSONObject the specified request json object, for example,
* <pre> * {
* { * "link": {
* "link": { * "linkTitle": "",
* "linkTitle": "", * "linkAddress": "",
* "linkAddress": "", * "linkDescription": "" // optional
* "linkDescription": "" // optional * }
* } * }, see {@link Link} for more details
* }, see {@link Link} for more details
* </pre>
* @return generated link id * @return generated link id
* @throws ServiceException service exception * @throws ServiceException service exception
*/ */
......
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