Skip to content

Commit da36c2b

Browse files
committed
polishing
1 parent 8f01770 commit da36c2b

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

org.springframework.orm/src/main/java/org/springframework/orm/jdo/support/JdoDaoSupport.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ public abstract class JdoDaoSupport extends DaoSupport {
6767
*/
6868
public final void setPersistenceManagerFactory(PersistenceManagerFactory persistenceManagerFactory) {
6969
if (this.jdoTemplate == null || persistenceManagerFactory != this.jdoTemplate.getPersistenceManagerFactory()) {
70-
this.jdoTemplate = createJdoTemplate(persistenceManagerFactory);
70+
this.jdoTemplate = createJdoTemplate(persistenceManagerFactory);
7171
}
7272
}
7373

org.springframework.transaction/src/main/java/org/springframework/transaction/support/DefaultTransactionStatus.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2009 the original author or authors.
2+
* Copyright 2002-2011 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -161,6 +161,7 @@ public boolean isGlobalRollbackOnly() {
161161
* Delegate the flushing to the transaction object,
162162
* provided that the latter implements the {@link SmartTransactionObject} interface.
163163
*/
164+
@Override
164165
public void flush() {
165166
if (this.transaction instanceof SmartTransactionObject) {
166167
((SmartTransactionObject) this.transaction).flush();

0 commit comments

Comments
 (0)