From 66578d77d57e1aa0c59f37b2f6376d6fc25a505d Mon Sep 17 00:00:00 2001 From: Greg Burd Date: Wed, 13 Sep 2017 10:55:23 -0400 Subject: [PATCH] Allow subclasses of UnitOfWork (remove 'final'). --- pom.xml | 2 +- src/main/java/net/helenus/core/UnitOfWork.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index f30e432..ad11ab3 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ 4.0.0 net.helenus helenus-core - 2.0.29-SNAPSHOT + 2.0.30-SNAPSHOT jar helenus diff --git a/src/main/java/net/helenus/core/UnitOfWork.java b/src/main/java/net/helenus/core/UnitOfWork.java index 94eb498..ab017f0 100644 --- a/src/main/java/net/helenus/core/UnitOfWork.java +++ b/src/main/java/net/helenus/core/UnitOfWork.java @@ -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 nested = new ArrayList<>(); private final HelenusSession session; private final UnitOfWork parent;