falcon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pallavi Rao (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (FALCON-1003) Update checkstyle to remove DoubleCheckedLocking
Date Wed, 18 Feb 2015 07:17:12 GMT

     [ https://issues.apache.org/jira/browse/FALCON-1003?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Pallavi Rao updated FALCON-1003:
--------------------------------
    Attachment: FALCON-1003-v4.patch

You didn't miss anything. I did. I forgot to merge my new patch with an older commit for the
same bug. Have updated the cumulative patch.

I applied the patch and built and it went through fine.

> 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-v3.patch, FALCON-1003-v4.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