Patch addressing a couple of small errors
-----------------------------------------

                 Key: SHINDIG-1237
                 URL: https://issues.apache.org/jira/browse/SHINDIG-1237
             Project: Shindig
          Issue Type: Bug
            Reporter: Jasvir Nagra
         Attachments: errors.patch

Fixes a couple of obvious errors in Shindig code:

java/gadgets/src/main/java/org/apache/shindig/gadgets/parse/DefaultHtmlSerializer.java
 # Line116
        if (!"type".equals(attr.getNodeName().equalsIgnoreCase("type"))) {
is always true.  

java/common/src/main/java/org/apache/shindig/protocol/DataServiceServlet.java # 
Line125
         case -32601: errorCode = HttpServletResponse.SC_NOT_IMPLEMENTED;
gets overwritten by
          default: errorCode = HttpServletResponse.SC_INTERNAL_SERVER_ERROR;



-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to