Skip to content

Commit e57a53d

Browse files
committed
Merge pull request #7 from mattak/change-package-name
Change package name to org.geohex.geohex4j
2 parents 036e63b + f6e185e commit e57a53d

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

README

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@ http://twitter.com/chshii
1212
Currently only #decode, #encode, #getZoneByLocation and #getZoneByCode methods are ready.
1313

1414
# INSTALL
15-
* Simply copy net.geohex.GeoHex.java into your app.
15+
* Simply copy org.geohex.geohex4j.GeoHex.java into your app.
1616

1717
# USAGE
1818

19-
import net.geohex.GeoHex;
19+
import org.geohex.geohex4j.GeoHex;
2020

2121
String code = GeoHex.encode(35.780516755235475, 139.57031250000003, 9);
2222
// code -> "XM566370240"

pom.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
33
<modelVersion>4.0.0</modelVersion>
44

5-
<groupId>net.geohex</groupId>
5+
<groupId>org.geohex.geohex4j</groupId>
66
<artifactId>geohex4j</artifactId>
77
<version>1.0.0-SNAPSHOT</version>
88
<packaging>jar</packaging>
@@ -12,8 +12,8 @@
1212

1313
<licenses>
1414
<license>
15-
<name>CC BY-SA 2.1</name>
16-
<url>https://creativecommons.org/licenses/by-sa/2.1/jp/</url>
15+
<name>MIT License</name>
16+
<url>http://opensource.org/licenses/mit-license.php</url>
1717
<distribution>repo</distribution>
1818
</license>
1919
</licenses>

src/main/java/net/geohex/GeoHex.java renamed to src/main/java/org/geohex/geohex4j/GeoHex.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package net.geohex;
1+
package org.geohex.geohex4j;
22

33
import java.util.ArrayList;
44
import java.util.List;

src/test/java/net/geohex/GeoHexTest.java renamed to src/test/java/org/geohex/geohex4j/GeoHexTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
package net.geohex;
1+
package org.geohex.geohex4j;
22

33
import java.io.BufferedReader;
44
import java.io.FileReader;
55
import java.io.IOException;
66

77
import junit.framework.TestCase;
88

9-
import net.geohex.GeoHex;
9+
import org.geohex.geohex4j.GeoHex;
1010

1111
public class GeoHexTest extends TestCase {
1212
public void testInvalidArguments() {

0 commit comments

Comments
 (0)