tarantool/tarantool-java

Enable and fix compiler warnings, add -Werror

オープン

#125 opened on 2019/01/25

 (0 件のコメント) (0 件のリアクション) (0 人の担当者)Java (20 件のフォーク)auto 404
code healthgood first issue

Repository metrics

Stars
 (52 個のスター)
PR merge metrics
 (PR metrics pending)

説明

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>

コントリビューターガイド