[ 
https://issues.apache.org/jira/browse/MAHOUT-1101?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13474939#comment-13474939
 ] 

Hudson commented on MAHOUT-1101:
--------------------------------

Integrated in Mahout-Quality #1702 (See 
[https://builds.apache.org/job/Mahout-Quality/1702/])
    MAHOUT-1101 remove trailing comma from JSON array in output (Revision 
1397500)

     Result = SUCCESS
srowen : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1397500
Files : 
* 
/mahout/trunk/integration/src/main/java/org/apache/mahout/cf/taste/web/RecommenderServlet.java

                
> [PATCH] RecommenderServlet: Wrong output when using JSON format 
> ----------------------------------------------------------------
>
>                 Key: MAHOUT-1101
>                 URL: https://issues.apache.org/jira/browse/MAHOUT-1101
>             Project: Mahout
>          Issue Type: Bug
>          Components: Collaborative Filtering, Integration
>    Affects Versions: 0.7, 0.8
>            Reporter: Julien Aymé
>            Assignee: Sean Owen
>            Priority: Trivial
>              Labels: patch
>             Fix For: 0.8
>
>         Attachments: RecommenderServlet.java.patch
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> When using "json" as format for the RecommenderServlet, the JSON returned is 
> not valid: there is a comma ',' just before the closing bracket of the "item" 
> array.
> The fix is trivial: do not add a ',' if the item is the last one.
> Patch is attached.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to