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 );