polishing

This commit is contained in:
Juergen Hoeller
2011-08-12 10:02:12 +00:00
parent c97257b16f
commit b9ebdd28fb
5 changed files with 66 additions and 66 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2002-2009 the original author or authors.
* Copyright 2002-2011 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -161,6 +161,7 @@ public class DefaultTransactionStatus extends AbstractTransactionStatus {
* Delegate the flushing to the transaction object,
* provided that the latter implements the {@link SmartTransactionObject} interface.
*/
@Override
public void flush() {
if (this.transaction instanceof SmartTransactionObject) {
((SmartTransactionObject) this.transaction).flush();