Merge pull request #83 from jotomo/small-stuff

Small stuff
This commit is contained in:
Michael Hunger
2012-09-20 05:54:02 -07:00
2 changed files with 3 additions and 4 deletions

View File

@@ -65,9 +65,8 @@ public class DomainTest {
User user = new User("ich","Micha","password").persist();
Rating awesome = user.rate(movie, 5, "Awesome");
User foundUser = userRepository.findByPropertyValue("login", "ich");
Rating rating = user.getRatings().iterator().next();
Rating rating = foundUser.getRatings().iterator().next();
assertEquals(awesome,rating);
assertEquals("Awesome",rating.getComment());
assertEquals(5,rating.getStars());

View File

@@ -50,8 +50,8 @@
<ulink url="http://www.eclipse.org/ajdt/downloads/">http://www.eclipse.org/ajdt/downloads/</ulink>
(it might be necessary to use the latest development snapshot of the plugin).
The current version that does not show incorrect errors is AspectJ 1.6.12 (included in STS 2.8.0), previous versions are reported
to mislead the user. Note that as of Spring Data Neo4j version 2.0.1 the AspectJ version 1.7.0 is not yet supported. This also
means that AJDT 2.2.0 on Eclipse 4.2 is not yet supported as this version of AJDT internally uses AspectJ 1.7.0.
to mislead the user. Note that AJDT (as of September 2012) requires projects to be rebuild after Eclipse is started to fully
support all advanced features.
</para>
<note>
<para>