Forgot to add type to begin() call in HelenusSession.

This commit is contained in:
Greg Burd 2017-09-13 14:27:08 -04:00
parent 90e1aafd94
commit 9e3fabb2f9
2 changed files with 2 additions and 4 deletions

View file

@ -5,7 +5,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>net.helenus</groupId>
<artifactId>helenus-core</artifactId>
<version>2.0.32-SNAPSHOT</version>
<version>2.0.33-SNAPSHOT</version>
<packaging>jar</packaging>
<name>helenus</name>

View file

@ -172,9 +172,7 @@ public final class HelenusSession extends AbstractSessionOperations implements C
return metadata;
}
public synchronized UnitOfWork begin() {
return new UnitOfWork(this, null).begin();
}
public synchronized <T extends Exception> UnitOfWork<T> begin() { return new UnitOfWork<T>(this, null).begin(); }
public synchronized UnitOfWork begin(UnitOfWork parent) {
UnitOfWork child = new UnitOfWork(this, parent);