Skip to content

Commit

Permalink
* change package names and group id. fixed #1
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitry-zhuravlev committed Jul 14, 2017
1 parent 5ba3898 commit 3994b85
Show file tree
Hide file tree
Showing 18 changed files with 40 additions and 30 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>

<groupId>org.jooq.postgis.spatial</groupId>
<groupId>net.dmitry.jooq.postgis.spatial</groupId>
<artifactId>jooq-postgis-spatial</artifactId>
<version>1.0-SNAPSHOT</version>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
package org.jooq.postgis.spatial.jts;
package net.dmitry.jooq.postgis.spatial.jts;

import org.jooq.postgis.spatial.jts.mgeom.MGeometryFactory;
import net.dmitry.jooq.postgis.spatial.jts.mgeom.MGeometryFactory;

/**
* A static utility class
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
package org.jooq.postgis.spatial.jts.mgeom;
package net.dmitry.jooq.postgis.spatial.jts.mgeom;

/**
* This utility class is used to testsuite-suite doubles for equality
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
package org.jooq.postgis.spatial.jts.mgeom;
package net.dmitry.jooq.postgis.spatial.jts.mgeom;

import com.vividsolutions.jts.geom.Coordinate;
import com.vividsolutions.jts.geom.CoordinateSequence;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
package org.jooq.postgis.spatial.jts.mgeom;
package net.dmitry.jooq.postgis.spatial.jts.mgeom;

import com.vividsolutions.jts.geom.Coordinate;
import com.vividsolutions.jts.geom.CoordinateSequence;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
package org.jooq.postgis.spatial.jts.mgeom;
package net.dmitry.jooq.postgis.spatial.jts.mgeom;

import com.vividsolutions.jts.geom.Coordinate;
import com.vividsolutions.jts.geom.CoordinateSequence;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
package org.jooq.postgis.spatial.jts.mgeom;
package net.dmitry.jooq.postgis.spatial.jts.mgeom;

import com.vividsolutions.jts.geom.Coordinate;
import com.vividsolutions.jts.geom.CoordinateSequence;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
package org.jooq.postgis.spatial.jts.mgeom;
package net.dmitry.jooq.postgis.spatial.jts.mgeom;

import com.vividsolutions.jts.geom.Coordinate;
import com.vividsolutions.jts.geom.CoordinateSequence;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
package org.jooq.postgis.spatial.jts.mgeom;
package net.dmitry.jooq.postgis.spatial.jts.mgeom;

/**
* @author Karel Maesen
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
package org.jooq.postgis.spatial.jts.mgeom;
package net.dmitry.jooq.postgis.spatial.jts.mgeom;

import com.vividsolutions.jts.geom.CoordinateSequence;
import com.vividsolutions.jts.geom.GeometryFactory;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,15 @@
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
package org.jooq.postgis.spatial.jts.mgeom;

import com.vividsolutions.jts.geom.*;
package net.dmitry.jooq.postgis.spatial.jts.mgeom;

import com.vividsolutions.jts.geom.Coordinate;
import com.vividsolutions.jts.geom.CoordinateArrays;
import com.vividsolutions.jts.geom.CoordinateSequence;
import com.vividsolutions.jts.geom.Geometry;
import com.vividsolutions.jts.geom.GeometryFactory;
import com.vividsolutions.jts.geom.LineSegment;
import com.vividsolutions.jts.geom.LineString;

import java.util.ArrayList;
import java.util.List;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,13 @@
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
package org.jooq.postgis.spatial.jts.mgeom;
package net.dmitry.jooq.postgis.spatial.jts.mgeom;

import com.vividsolutions.jts.geom.*;
import com.vividsolutions.jts.geom.Coordinate;
import com.vividsolutions.jts.geom.CoordinateSequence;
import com.vividsolutions.jts.geom.Geometry;
import com.vividsolutions.jts.geom.GeometryFactory;
import com.vividsolutions.jts.geom.MultiLineString;

public class MultiMLineString extends MultiLineString implements MGeometry {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/**
* Copied from Hibernate Spatial 4.3 project
*/
package org.jooq.postgis.spatial.jts;
package net.dmitry.jooq.postgis.spatial.jts;
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package org.jooq.postgis.spatial.binding
package net.dmitry.jooq.postgis.spatial.binding

import com.vividsolutions.jts.geom.Geometry
import net.dmitry.jooq.postgis.spatial.converter.JTSGeometryConverter
import org.jooq.*
import org.jooq.impl.DSL
import org.jooq.postgis.spatial.converter.JTSGeometryConverter

/**
* @author Dmitry Zhuravlev
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package org.jooq.postgis.spatial.binding
package net.dmitry.jooq.postgis.spatial.binding

import net.dmitry.jooq.postgis.spatial.converter.PostgisGeometryConverter
import org.jooq.*
import org.jooq.impl.DSL
import org.jooq.postgis.spatial.converter.PostgisGeometryConverter
import org.postgis.Geometry

/**
Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
package org.jooq.postgis.spatial.converter
package net.dmitry.jooq.postgis.spatial.converter

import com.vividsolutions.jts.geom.Coordinate
import com.vividsolutions.jts.geom.Geometry
import com.vividsolutions.jts.geom.GeometryFactory
import net.dmitry.jooq.postgis.spatial.jts.JTS
import net.dmitry.jooq.postgis.spatial.jts.mgeom.MCoordinate
import net.dmitry.jooq.postgis.spatial.jts.mgeom.MGeometry
import net.dmitry.jooq.postgis.spatial.jts.mgeom.MGeometryFactory
import net.dmitry.jooq.postgis.spatial.jts.mgeom.MLineString
import org.jooq.Converter
import org.jooq.postgis.spatial.jts.JTS
import org.jooq.postgis.spatial.jts.mgeom.MCoordinate
import org.jooq.postgis.spatial.jts.mgeom.MGeometry
import org.jooq.postgis.spatial.jts.mgeom.MGeometryFactory
import org.jooq.postgis.spatial.jts.mgeom.MLineString
import org.postgis.*

/**
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package org.jooq.postgis.spatial.converter
package net.dmitry.jooq.postgis.spatial.converter

import org.jooq.Converter
import org.postgis.Geometry
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package org.jooq.postgis.spatial.converter
package net.dmitry.jooq.postgis.spatial.converter

import com.vividsolutions.jts.geom.Coordinate
import com.vividsolutions.jts.geom.Geometry
import org.jooq.postgis.spatial.jts.JTS
import net.dmitry.jooq.postgis.spatial.jts.JTS
import org.junit.Assert.assertTrue
import org.junit.Test
import org.postgresql.util.PGobject
Expand Down

0 comments on commit 3994b85

Please sign in to comment.