From 0bd34c175c86732f2d0745de3cf9b1e58349d9c9 Mon Sep 17 00:00:00 2001 From: David Montag Date: Mon, 18 Apr 2011 11:32:53 -0700 Subject: [PATCH] Updated README --- README.textile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.textile b/README.textile index b5b20129f..6a2df1d0f 100644 --- a/README.textile +++ b/README.textile @@ -109,7 +109,7 @@ public class World { private int moons; @RelatedTo( type = "REACHABLE_BY_ROCKET", direction = Direction.BOTH, elementClass = World.class ) - private Set<World> reachableByRocket; + private Set reachableByRocket; public World(String name, int moons) { this.name = name; @@ -135,7 +135,7 @@ h2. Transactional services * Create a repository or service to perform typical operations on your entities. The FinderFactory and Finder helper classes make searching easy for common use cases. The complete functionality is covered in the "reference manual":http://static.springsource.org/spring-data/data-graph/docs/current/reference/html/#programming-model.
-public interface WorldRepository extends GraphRepository<World>, NamedIndexRepository<World> {}
+public interface WorldRepository extends GraphRepository, NamedIndexRepository {}
 
 @Repository
 public class WorldRepositoryImpl implements WorldRepositoryExtension {
@@ -144,7 +144,7 @@ public class WorldRepositoryImpl implements WorldRepositoryExtension {
     private WorldRepository worldRepository;
 
     @Transactional
-    public Collection<World> makeSomeWorlds()  {
+    public Collection makeSomeWorlds()  {
         World earth = world( "Earth", 1 );
         World mars = world( "Mars", 2 );
         mars.addRocketRouteTo( earth );