Allow subclasses of UnitOfWork (remove 'final').

This commit is contained in:
Greg Burd 2017-09-13 10:55:23 -04:00
parent 75aff52312
commit 66578d77d5
2 changed files with 2 additions and 2 deletions

View file

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

View file

@ -8,7 +8,7 @@ import java.util.*;
/** Encapsulates the concept of a "transaction" as a unit-of-work. */
public final class UnitOfWork implements AutoCloseable {
public class UnitOfWork implements AutoCloseable {
private final List<UnitOfWork> nested = new ArrayList<>();
private final HelenusSession session;
private final UnitOfWork parent;