tarantool/tarantool-java

Enable and fix compiler warnings, add -Werror

开放

#125 创建于 2019年1月25日

 (0 条评论) (0 个反应) (0 位负责人)Java (20 个派生)auto 404
code healthgood first issue

仓库指标

星标
 (52 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

The discussion was started here.

diff --git a/pom.xml b/pom.xml
index 67b6cb9..29bfc49 100644
--- a/pom.xml
+++ b/pom.xml
@@ -46,6 +46,9 @@
                 <configuration>
                     <source>1.6</source>
                     <target>1.6</target>
+                    <compilerArgs>
+                        <arg>-Xlint:all</arg>
+                        <arg>-Werror</arg>
+                    </compilerArgs>
                 </configuration>
             </plugin>

贡献者指南