Skip to content

Commit d7a2071

Browse files
committed
HHH-19364 tiny change to bounds
1 parent ca535d7 commit d7a2071

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

hibernate-core/src/main/java/org/hibernate/query/restriction/NamedPathElement.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ public jakarta.persistence.criteria.Path<V> path(Root<? extends X> root) {
3232
}
3333

3434
@Override
35-
public FetchParent<?, ? extends V> fetch(Root<? extends X> root) {
35+
public FetchParent<?, V> fetch(Root<? extends X> root) {
3636
return parent.fetch( root ).fetch( attributeName );
3737
}
3838
}

hibernate-core/src/main/java/org/hibernate/query/restriction/PathElement.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public jakarta.persistence.criteria.Path<V> path(Root<? extends X> root) {
2626
}
2727

2828
@Override
29-
public FetchParent<?, ? extends V> fetch(Root<? extends X> root) {
29+
public FetchParent<?, V> fetch(Root<? extends X> root) {
3030
return parent.fetch( root ).fetch( attribute );
3131
}
3232
}

0 commit comments

Comments
 (0)