Skip to content

Commit

Permalink
fixed AQLRunner example contained non-existing method
Browse files Browse the repository at this point in the history
A reference to the getOlder(int) derived query on the CharacterRepository
interface made even the JDK grow grey hair. Removed misleading code.
  • Loading branch information
wintersolutions committed Jul 5, 2023
1 parent 1e05c8a commit 482a342
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1081,11 +1081,6 @@ public class AQLRunner implements CommandLineRunner {
@Override
public void run(final String... args) throws Exception {
System.out.println("# AQL queries");
System.out.println("## Find all characters which are older than 21 (sort descending)");
final Iterable<Character> older = repository.getOlderThan(21);
older.forEach(System.out::println);
}
}
Expand Down

0 comments on commit 482a342

Please sign in to comment.