zookeeper-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Enrico Olivelli (JIRA)" <j...@apache.org>
Subject [jira] [Created] (ZOOKEEPER-3364) Compile with strict options in order to check code quality
Date Sat, 13 Apr 2019 20:13:00 GMT
Enrico Olivelli created ZOOKEEPER-3364:
------------------------------------------

             Summary: 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
             Fix For: 3.6.0


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