Skip to content

Commit c3389a4

Browse files
author
Jelmer Kuperus
committed
Repackage classes to avoid JPMS issues
1 parent da73e22 commit c3389a4

File tree

60 files changed

+190
-171
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

60 files changed

+190
-171
lines changed

FAQ.md

Lines changed: 2 additions & 2 deletions

hnswlib-core-jdk17/README.md

Lines changed: 1 addition & 1 deletion

hnswlib-core-jdk17/src/main/java/com/github/jelmerk/knn/Jdk17DistanceFunctions.java renamed to hnswlib-core-jdk17/src/main/java/com/github/jelmerk/hnswlib/jdk17/Jdk17DistanceFunctions.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
package com.github.jelmerk.knn;
1+
package com.github.jelmerk.hnswlib.jdk17;
22

3+
import com.github.jelmerk.hnswlib.core.DistanceFunction;
34
import jdk.incubator.vector.*;
45

56
/**

hnswlib-core-jdk17/src/test/java/com/github/jelmerk/knn/Jdk17DistanceFunctionsTest.java renamed to hnswlib-core-jdk17/src/test/java/com/github/jelmerk/hnswlib/jdk17/Jdk17DistanceFunctionsTest.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
1-
package com.github.jelmerk.knn;
1+
package com.github.jelmerk.hnswlib.jdk17;
22

3+
import com.github.jelmerk.hnswlib.core.DistanceFunction;
4+
import com.github.jelmerk.hnswlib.core.DistanceFunctions;
5+
import com.github.jelmerk.hnswlib.jdk17.Jdk17DistanceFunctions;
36
import org.junit.jupiter.api.Disabled;
47
import org.junit.jupiter.api.Test;
58

hnswlib-core/README.md

Lines changed: 17 additions & 7 deletions

hnswlib-core/src/main/java/com/github/jelmerk/knn/DistanceFunction.java renamed to hnswlib-core/src/main/java/com/github/jelmerk/hnswlib/core/DistanceFunction.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package com.github.jelmerk.knn;
1+
package com.github.jelmerk.hnswlib.core;
22

33
import java.io.Serializable;
44

hnswlib-core/src/main/java/com/github/jelmerk/knn/DistanceFunctions.java renamed to hnswlib-core/src/main/java/com/github/jelmerk/hnswlib/core/DistanceFunctions.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package com.github.jelmerk.knn;
1+
package com.github.jelmerk.hnswlib.core;
22

33
/**
44
* Collection of distance functions.

hnswlib-core/src/main/java/com/github/jelmerk/knn/Index.java renamed to hnswlib-core/src/main/java/com/github/jelmerk/hnswlib/core/Index.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
package com.github.jelmerk.knn;
1+
package com.github.jelmerk.hnswlib.core;
22

3-
import com.github.jelmerk.knn.util.NamedThreadFactory;
3+
import com.github.jelmerk.hnswlib.core.util.NamedThreadFactory;
44

55
import java.io.*;
66
import java.nio.file.Files;

hnswlib-core/src/main/java/com/github/jelmerk/knn/IndexException.java renamed to hnswlib-core/src/main/java/com/github/jelmerk/hnswlib/core/IndexException.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package com.github.jelmerk.knn;
1+
package com.github.jelmerk.hnswlib.core;
22

33
/**
44
* Base class for exceptions thrown by {@link Index} implementations.

hnswlib-core/src/main/java/com/github/jelmerk/knn/Item.java renamed to hnswlib-core/src/main/java/com/github/jelmerk/hnswlib/core/Item.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package com.github.jelmerk.knn;
1+
package com.github.jelmerk.hnswlib.core;
22

33
import java.io.Serializable;
44

0 commit comments

Comments
 (0)