[jvm-packages] update checkstyle (#7335)

* [jvm-packages] update scalastyle

1. bump scalastyle-maven-plugin and maven-checkstyle-plugin to latest
2. remove unused imports

* fix code style check
This commit is contained in:
Bobby Wang
2021-10-18 18:42:01 +08:00
committed by GitHub
parent fbb0dc4275
commit 4fd149b3a2
12 changed files with 34 additions and 49 deletions

View File

@@ -90,9 +90,9 @@ class CudfUtils {
shapeNode.add(shape);
ArrayNode dataNode = objNode.putArray("data");
dataNode.add(ptr)
.add(false);
.add(false);
objNode.put("typestr", typeStr)
.put("version", 1);
.put("version", 1);
return objNode;
}
}