tarantool/tarantool-java

Enable and fix compiler warnings, add -Werror

Offen

#125 geöffnet am 25.01.2019

 (0 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)Java (20 Forks)auto 404
code healthgood first issue

Repository-Metriken

Stars
 (52 Sterne)
PR-Merge-Metriken
 (PR-Metriken ausstehend)

Beschreibung

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>

Contributor Guide