Polishing

This commit is contained in:
Juergen Hoeller
2014-11-01 13:00:54 +01:00
parent fde0713a94
commit f691618967
30 changed files with 151 additions and 163 deletions

View File

@@ -241,7 +241,7 @@ public class LocalSessionFactoryBuilder extends Configuration {
* @see #scanPackages
*/
public LocalSessionFactoryBuilder addPackages(String... annotatedPackages) {
for (String annotatedPackage :annotatedPackages) {
for (String annotatedPackage : annotatedPackages) {
addPackage(annotatedPackage);
}
return this;

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2002-2012 the original author or authors.
* Copyright 2002-2014 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.
@@ -28,7 +28,7 @@ import org.springframework.transaction.support.TransactionSynchronizationAdapter
* @author Juergen Hoeller
* @since 3.1
*/
class SpringFlushSynchronization extends TransactionSynchronizationAdapter {
public class SpringFlushSynchronization extends TransactionSynchronizationAdapter {
private final Session session;

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2002-2013 the original author or authors.
* Copyright 2002-2014 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.

View File

@@ -70,7 +70,7 @@ import static org.mockito.BDDMockito.*;
* @author Juergen Hoeller
* @since 3.2
*/
@SuppressWarnings({ "rawtypes", "unchecked" })
@SuppressWarnings({"rawtypes", "unchecked"})
public class HibernateTransactionManagerTests {
@After