publicvoidupdateArticlesRandomValue(finalHttpServletRequestrequest){// Commented for issue 308, see http://code.google.com/p/b3log-solo/issues/detail?id=308#c4 and
publicvoidupdateArticlesRandomValue(finalHttpServletRequestrequest){// Commented for issue 308, see http://code.google.com/p/b3log-solo/issues/detail?id=308#c4 and
// cron.xml for more details.
// cron.xml for more details.
// int updateCnt = DEFAULT_UPDATE_CNT;
// int updateCnt = DEFAULT_UPDATE_CNT;
// try {
// try {
...
@@ -861,8 +1007,8 @@ public class ArticleProcessor {
...
@@ -861,8 +1007,8 @@ public class ArticleProcessor {
/**
/**
* Shows an article with the specified context.
* Shows an article with the specified context.
*
*
* @param context the specified context
* @param context the specified context
* @param request the specified HTTP servlet request
* @param request the specified HTTP servlet request
* @param response the specified HTTP servlet response
* @param response the specified HTTP servlet response
* @throws IOException io exception
* @throws IOException io exception
*/
*/
...
@@ -966,7 +1112,7 @@ public class ArticleProcessor {
...
@@ -966,7 +1112,7 @@ public class ArticleProcessor {
* Sorts the specified articles by the specified preference.
* Sorts the specified articles by the specified preference.
*
*
* @param preference the specified preference
* @param preference the specified preference
* @param articles the specified articles
* @param articles the specified articles
* @throws JSONException json exception
* @throws JSONException json exception
* @see Comparators#ARTICLE_UPDATE_DATE_COMPARATOR
* @see Comparators#ARTICLE_UPDATE_DATE_COMPARATOR
* @see Comparators#ARTICLE_CREATE_DATE_COMPARATOR
* @see Comparators#ARTICLE_CREATE_DATE_COMPARATOR
...
@@ -979,151 +1125,6 @@ public class ArticleProcessor {
...
@@ -979,151 +1125,6 @@ public class ArticleProcessor {