diff --git a/.gitignore b/.gitignore
index d1a7d0a..0a53632 100644
--- a/.gitignore
+++ b/.gitignore
@@ -27,3 +27,6 @@ target
# dev tools
.idea
+.classpath
+.project
+.settings
diff --git a/ceresdb-http/pom.xml b/ceresdb-http/pom.xml
index 1995e38..10525ad 100644
--- a/ceresdb-http/pom.xml
+++ b/ceresdb-http/pom.xml
@@ -38,5 +38,4 @@
gson
-
diff --git a/ceresdb-protocol/src/main/java/com/ceresdb/Utils.java b/ceresdb-protocol/src/main/java/com/ceresdb/Utils.java
index a3bffae..11f0964 100644
--- a/ceresdb-protocol/src/main/java/com/ceresdb/Utils.java
+++ b/ceresdb-protocol/src/main/java/com/ceresdb/Utils.java
@@ -196,7 +196,7 @@ public static Result toResult(final Storage.WriteResponse resp, //
final int failed = resp.getFailed();
if (code == Result.SUCCESS) {
- final Set metrics = (rows != null && WriteOk.isCollectWroteDetail())
+ final Set metrics = rows != null && WriteOk.isCollectWroteDetail()
? rows.stream()
.map(Rows::getMetric)
.collect(Collectors.toSet())
diff --git a/ceresdb-rpc/pom.xml b/ceresdb-rpc/pom.xml
index c69e07d..7cabea4 100644
--- a/ceresdb-rpc/pom.xml
+++ b/ceresdb-rpc/pom.xml
@@ -16,5 +16,4 @@
-
diff --git a/ceresdb-sql/pom.xml b/ceresdb-sql/pom.xml
index 15ba49a..4b2c300 100644
--- a/ceresdb-sql/pom.xml
+++ b/ceresdb-sql/pom.xml
@@ -38,5 +38,4 @@
test
-
diff --git a/pom.xml b/pom.xml
index 30f2a53..ee5d280 100644
--- a/pom.xml
+++ b/pom.xml
@@ -244,6 +244,62 @@
+
+
+
+
+ org.eclipse.m2e
+ lifecycle-mapping
+ 1.0.0
+
+
+
+
+
+ com.mycila
+ license-maven-plugin
+ [3.0,)
+
+ remove
+ format
+
+
+
+
+
+
+
+
+ com.github.ekryd.sortpom
+ sortpom-maven-plugin
+ [2.4.0,)
+
+ sort
+
+
+
+
+
+
+
+
+ com.googlecode.maven-java-formatter-plugin
+ maven-java-formatter-plugin
+ [0.4,)
+
+ format
+
+
+
+
+
+
+
+
+
+
+
+
org.apache.maven.plugins