Repository: predictionio-sdk-java Updated Branches: refs/heads/develop 0eb42e8be -> 66c5a16c1
PIO-164 Fix dependency and package name in examples Closes #7 Project: http://git-wip-us.apache.org/repos/asf/predictionio-sdk-java/repo Commit: http://git-wip-us.apache.org/repos/asf/predictionio-sdk-java/commit/64c03e8e Tree: http://git-wip-us.apache.org/repos/asf/predictionio-sdk-java/tree/64c03e8e Diff: http://git-wip-us.apache.org/repos/asf/predictionio-sdk-java/diff/64c03e8e Branch: refs/heads/develop Commit: 64c03e8e7afd7563a6c38db7ad9697b5ff13f517 Parents: 0eb42e8 Author: Naoki Takezoe <take...@gmail.com> Authored: Thu Sep 13 11:26:47 2018 -0700 Committer: Donald Szeto <don...@apache.org> Committed: Thu Sep 13 11:27:11 2018 -0700 ---------------------------------------------------------------------- examples/import/pom.xml | 2 +- .../java/org/apache/predictionio/samples/SampleImport.java | 6 +++--- examples/quickstart_import/pom.xml | 2 +- .../java/org/apache/predictionio/samples/QuickstartImport.java | 4 ++-- 4 files changed, 7 insertions(+), 7 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/predictionio-sdk-java/blob/64c03e8e/examples/import/pom.xml ---------------------------------------------------------------------- diff --git a/examples/import/pom.xml b/examples/import/pom.xml index 5694070..629c055 100644 --- a/examples/import/pom.xml +++ b/examples/import/pom.xml @@ -25,7 +25,7 @@ limitations under the License. <dependencies> <dependency> <groupId>org.apache.predictionio</groupId> - <artifactId>client</artifactId> + <artifactId>predictionio-sdk-java-client</artifactId> <version>0.13.0</version> </dependency> </dependencies> http://git-wip-us.apache.org/repos/asf/predictionio-sdk-java/blob/64c03e8e/examples/import/src/main/java/org/apache/predictionio/samples/SampleImport.java ---------------------------------------------------------------------- diff --git a/examples/import/src/main/java/org/apache/predictionio/samples/SampleImport.java b/examples/import/src/main/java/org/apache/predictionio/samples/SampleImport.java index ba177ff..8243cda 100644 --- a/examples/import/src/main/java/org/apache/predictionio/samples/SampleImport.java +++ b/examples/import/src/main/java/org/apache/predictionio/samples/SampleImport.java @@ -32,9 +32,9 @@ import java.util.Set; import java.util.StringTokenizer; import java.util.TreeSet; import java.util.concurrent.ExecutionException; -import org.apache.predictionio.APIResponse; -import org.apache.predictionio.EventClient; -import org.apache.predictionio.FutureAPIResponse; +import org.apache.predictionio.sdk.java.APIResponse; +import org.apache.predictionio.sdk.java.EventClient; +import org.apache.predictionio.sdk.java.FutureAPIResponse; /** * Sample data import client using MovieLens data set. http://git-wip-us.apache.org/repos/asf/predictionio-sdk-java/blob/64c03e8e/examples/quickstart_import/pom.xml ---------------------------------------------------------------------- diff --git a/examples/quickstart_import/pom.xml b/examples/quickstart_import/pom.xml index d168c72..1782437 100644 --- a/examples/quickstart_import/pom.xml +++ b/examples/quickstart_import/pom.xml @@ -25,7 +25,7 @@ limitations under the License. <dependencies> <dependency> <groupId>org.apache.predictionio</groupId> - <artifactId>client</artifactId> + <artifactId>predictionio-sdk-java-client</artifactId> <version>0.13.0</version> </dependency> </dependencies> http://git-wip-us.apache.org/repos/asf/predictionio-sdk-java/blob/64c03e8e/examples/quickstart_import/src/main/java/org/apache/predictionio/samples/QuickstartImport.java ---------------------------------------------------------------------- diff --git a/examples/quickstart_import/src/main/java/org/apache/predictionio/samples/QuickstartImport.java b/examples/quickstart_import/src/main/java/org/apache/predictionio/samples/QuickstartImport.java index a0cea4c..370cf26 100644 --- a/examples/quickstart_import/src/main/java/org/apache/predictionio/samples/QuickstartImport.java +++ b/examples/quickstart_import/src/main/java/org/apache/predictionio/samples/QuickstartImport.java @@ -24,8 +24,8 @@ import java.util.List; import java.util.Map; import java.util.Random; import java.util.concurrent.ExecutionException; -import org.apache.predictionio.Event; -import org.apache.predictionio.EventClient; +import org.apache.predictionio.sdk.java.Event; +import org.apache.predictionio.sdk.java.EventClient; import org.joda.time.DateTime;