Skip to content

Commit

Permalink
whitespace fix
Browse files Browse the repository at this point in the history
Signed-off-by: Gavin King <gavin@hibernate.org>
  • Loading branch information
gavinking committed Oct 23, 2024
1 parent 7f3c73b commit 5bd244d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -518,8 +518,8 @@ We need a place to put the annotation, so let's move our query method to a new c
[source,java]
----
@CheckHQL // validate named queries at compile time
@NamedQuery(name="findBooksByTitle",
query="from Book where title like :title order by title")
@NamedQuery(name = "findBooksByTitle",
query = "from Book where title like :title order by title")
class Queries {
static List<Book> findBooksByTitleWithPagination(Session session,
Expand Down
4 changes: 2 additions & 2 deletions documentation/src/main/asciidoc/introduction/Processor.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -123,8 +123,8 @@ For example, if we had:
[source,java]
----
@CheckHQL // validate named queries at compile time
@NamedQuery(name="findBooksByTitle",
query="from Book where title like :title order by title")
@NamedQuery(name = "findBooksByTitle",
query = "from Book where title like :title order by title")
@Entity
class Book { ... }
----
Expand Down

0 comments on commit 5bd244d

Please sign in to comment.