zookeeper-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andor Molnar (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (ZOOKEEPER-3364) Compile with strict options in order to check code quality
Date Wed, 08 May 2019 19:56:00 GMT

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

Andor Molnar resolved ZOOKEEPER-3364.
-------------------------------------
    Resolution: Fixed

Issue resolved by pull request 910
[https://github.com/apache/zookeeper/pull/910]

> Compile with strict options in order to check code quality
> ----------------------------------------------------------
>
>                 Key: ZOOKEEPER-3364
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-3364
>             Project: ZooKeeper
>          Issue Type: Improvement
>          Components: build
>    Affects Versions: 3.6.0
>            Reporter: Enrico Olivelli
>            Assignee: Enrico Olivelli
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 3.6.0
>
>          Time Spent: 7h
>  Remaining Estimate: 0h
>
> In order to dismiss old QA tests based on ant (ZOOKEEPER-3351) we have to enforce code
quality by activating some falgs on javac at build time, namely:
>  
> {code:java}
> <compilerArgs>
>    <compilerArg>-Werror</compilerArg>
>    <compilerArg>-Xlint:deprecation</compilerArg>
>    <compilerArg>-Xlint:unchecked</compilerArg>
>    <!-- https://issues.apache.org/jira/browse/MCOMPILER-205 -->
>    <compilerArg>-Xpkginfo:always</compilerArg>
> </compilerArgs>{code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message