for how many decades has this code fragment been rejected by the Java compiler?

This commit is contained in:
Gavin King 2022-01-23 19:29:27 +01:00
parent bbec4bcd39
commit 05349f6a9b
1 changed files with 1 additions and 1 deletions

View File

@ -81,7 +81,7 @@ import jakarta.persistence.criteria.CriteriaUpdate;
* use the following idiom:
* <pre>
* Session session = factory.openSession();
* Transaction tx;
* Transaction tx = null;
* try {
* tx = session.beginTransaction();
* //do some work