Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
Signed-off-by: Håvard Ottestad <hmottestad@gmail.com>
  • Loading branch information
hmottestad committed Nov 29, 2019
1 parent 0b03ae1 commit f4de822
Showing 1 changed file with 7 additions and 7 deletions.
Expand Up @@ -33,7 +33,7 @@

/**
* An {@link SailSource} that keeps a delta of its state from a backing {@link SailSource}.
*
*
* @author James Leigh
*/
class SailSourceBranch implements SailSource {
Expand Down Expand Up @@ -93,7 +93,7 @@ class SailSourceBranch implements SailSource {

/**
* Creates a new in-memory {@link SailSource} derived from the given {@link SailSource}.
*
*
* @param backingSource
*/
public SailSourceBranch(SailSource backingSource) {
Expand All @@ -102,7 +102,7 @@ public SailSourceBranch(SailSource backingSource) {

/**
* Creates a new {@link SailSource} derived from the given {@link SailSource}.
*
*
* @param backingSource
* @param modelFactory
*/
Expand All @@ -113,7 +113,7 @@ public SailSourceBranch(SailSource backingSource, ModelFactory modelFactory) {
/**
* Creates a new {@link SailSource} derived from the given {@link SailSource} and if <code>autoFlush</code> is true,
* will automatically call {@link #flush()} when not in use.
*
*
* @param backingSource
* @param modelFactory
* @param autoFlush
Expand Down Expand Up @@ -190,9 +190,9 @@ public void close() throws SailException {

@Override
public Model createEmptyModel() {
if (level == IsolationLevels.SERIALIZABLE) {
return Models.synchronizedModel(modelFactory.createEmptyModel());
}
// if (level == IsolationLevels.SERIALIZABLE) {
// return Models.synchronizedModel(modelFactory.createEmptyModel());
// }
return modelFactory.createEmptyModel();
}
};
Expand Down

0 comments on commit f4de822

Please sign in to comment.