From 30874604e1b535076b3ced5d7e4d8b2abaf0fad0 Mon Sep 17 00:00:00 2001 From: Michael Hunger Date: Wed, 16 Apr 2014 10:49:00 +0200 Subject: [PATCH] DATAGRAPH-463 - Upgrade to Neo4j 2.0.2 --- pom.xml | 2 +- .../neo4j/rest/support/SpringPluginInitializerTests.java | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/pom.xml b/pom.xml index eea7e3534..98581d4e6 100644 --- a/pom.xml +++ b/pom.xml @@ -38,7 +38,7 @@ 1.7 1.7 - 2.0.1 + 2.0.2 0.12-neo4j-2.0.1 0.7.1-neo4j-2.0.1 diff --git a/spring-data-neo4j-rest/src/test/java/org/springframework/data/neo4j/rest/support/SpringPluginInitializerTests.java b/spring-data-neo4j-rest/src/test/java/org/springframework/data/neo4j/rest/support/SpringPluginInitializerTests.java index ec401d49a..e5a34066b 100644 --- a/spring-data-neo4j-rest/src/test/java/org/springframework/data/neo4j/rest/support/SpringPluginInitializerTests.java +++ b/spring-data-neo4j-rest/src/test/java/org/springframework/data/neo4j/rest/support/SpringPluginInitializerTests.java @@ -38,6 +38,7 @@ import javax.ws.rs.Produces; import javax.ws.rs.core.Context; import javax.ws.rs.core.MediaType; import java.util.Collections; +import java.util.List; import java.util.Set; @Path( "/" ) @@ -70,8 +71,8 @@ public class SpringPluginInitializerTests extends SpringPluginInitializer implem ImpermanentGraphDatabase db = new ImpermanentGraphDatabase(); final ServerConfigurator configurator = new ServerConfigurator(db) { @Override - public Set getThirdpartyJaxRsPackages() { - return Collections.singleton(new ThirdPartyJaxRsPackage("org.springframework.data.neo4j.rest.support","/test")); + public List getThirdpartyJaxRsPackages() { + return Collections.singletonList(new ThirdPartyJaxRsPackage("org.springframework.data.neo4j.rest.support","/test")); } }; final Configuration configuration = configurator.configuration();