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>

貢獻者指南