falcon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Srikanth Sundarrajan (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FALCON-1003) Update checkstyle to remove DoubleCheckedLocking
Date Thu, 29 Jan 2015 02:37:34 GMT

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

Srikanth Sundarrajan commented on FALCON-1003:
----------------------------------------------

checkstyle-supressions.xml is missing APL 2.0 license header. Can it be added please?

> Update checkstyle to remove DoubleCheckedLocking
> ------------------------------------------------
>
>                 Key: FALCON-1003
>                 URL: https://issues.apache.org/jira/browse/FALCON-1003
>             Project: Falcon
>          Issue Type: Improvement
>    Affects Versions: trunk
>            Reporter: Pallavi Rao
>            Assignee: Pallavi Rao
>            Priority: Trivial
>         Attachments: FALCON-1003-v2.patch, FALCON-1003.patch
>
>
> As per, http://checkstyle.sourceforge.net/releasenotes.html, Release 5.6 onwards - "Removed
the DoubleCheckedLocking check, as in Java 5 (and beyond), using the volatile keyword addresses
the issue. See here for more details."
> Primary reason for removing this is, I couldn't load the existing checkstyle file in
my IntelliJ checkstyle plugin because DoubleCheckedLocking check was enabled.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message