[ 
https://issues.apache.org/jira/browse/SHINDIG-832?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12662663#action_12662663
 ] 

Vincent Siveton commented on SHINDIG-832:
-----------------------------------------

These patches add some annotations like @SuppressWarnings("unchecked"), 
@SuppressWarnings({ "boxing" }), @Override and so on.

Since I was there, the patches include also:
* remove all unnecessary import (mainly due to SHINDIG-788) and optimize imports
* replace tab to space
* remove some unnecessary cast
* increase visibility of some fields/methods to improve performance (mainly to 
prevent emulation by a synthetic accessor method)



> Fix compilation warning
> -----------------------
>
>                 Key: SHINDIG-832
>                 URL: https://issues.apache.org/jira/browse/SHINDIG-832
>             Project: Shindig
>          Issue Type: Improvement
>          Components: Common Components (Java), Gadget Rendering Server 
> (Java), RESTful API (Java)
>    Affects Versions: trunk
>            Reporter: Vincent Siveton
>             Fix For: trunk
>
>         Attachments: SHINDIG-832-common.patch, SHINDIG-832-gadgets.patch, 
> SHINDIG-832-server.patch, SHINDIG-832-social-api.patch
>
>
> When compiling Shindig, you could see some compilation warning:
> {noformat}
> [WARNING] XXX .java:[XX,XX] [deprecation] XXX in YYY has been deprecated
> [WARNING] XXX .java:[XX,XX] [unchecked] unchecked cast
> [WARNING] XXX .java:[XX,XX] [unchecked] unchecked conversion
> {noformat}
> It will be easy to fix unchecked warn. 

-- 
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