locationtech / jts

The JTS Topology Suite is a Java library for creating and manipulating vector geometry.
Other
1.99k stars 443 forks source link

Fixes Checktype violations - removes wildcard imports #982

Closed Illutax closed 1 year ago

Illutax commented 1 year ago

When trying to compile the project with mvn package -Dall=true I encountered checkstyle violations:

[INFO] --- checkstyle:3.1.2:check (validate) @ jts-io-ora ---
[INFO] There are 3 errors reported by Checkstyle 8.44 with jts/checkstyle.xml ruleset.
[ERROR] src\main\java\org\locationtech\jts\io\oracle\OraWriter.java:[23,17] (imports) AvoidStarImport: Using the '.*' form of import should be avoided - java.util.*.
[ERROR] src\main\java\org\locationtech\jts\io\oracle\OraWriter.java:[26,33] (imports) AvoidStarImport: Using the '.*' form of import should be avoided - org.locationtech.jts.geom.*.
[ERROR] src\main\java\org\locationtech\jts\io\oracle\OraWriter.java:[31,18] (imports) AvoidStarImport: Using the '.*' form of import should be avoided - oracle.sql.*.

This commit removes the wilcard import which should be avoided.