From b2586d5f2a612a54782749466703b2596efb2001 Mon Sep 17 00:00:00 2001 From: Gavin Date: Thu, 29 Dec 2022 20:25:12 +0100 Subject: [PATCH] clean up very obsolete doc of SessionFactoryImpl --- .../internal/SessionFactoryImpl.java | 19 ++++++++----------- .../org/hibernate/internal/SessionImpl.java | 7 ++++--- .../internal/StatelessSessionImpl.java | 7 ++++--- 3 files changed, 16 insertions(+), 17 deletions(-) diff --git a/hibernate-core/src/main/java/org/hibernate/internal/SessionFactoryImpl.java b/hibernate-core/src/main/java/org/hibernate/internal/SessionFactoryImpl.java index 5950477d86..145020f2ea 100644 --- a/hibernate-core/src/main/java/org/hibernate/internal/SessionFactoryImpl.java +++ b/hibernate-core/src/main/java/org/hibernate/internal/SessionFactoryImpl.java @@ -134,21 +134,18 @@ import static org.hibernate.internal.util.config.ConfigurationHelper.getBoolean; import static org.hibernate.query.QueryLogging.QUERY_MESSAGE_LOGGER; /** - * Concrete implementation of the {@code SessionFactory} interface. Has the following - * responsibilities: + * Concrete implementation of the {@link SessionFactory} API. + *

+ * Exposes two interfaces: *

*

+ * This class is not thread-safe. * This class must appear immutable to clients, even if it does all kinds of caching - * and pooling under the covers. It is crucial that the class is not only thread - * safe, but also highly concurrent. Synchronization must be used extremely sparingly. + * and pooling under the covers. It is crucial that the class is not only thread-safe, + * but also highly concurrent. Synchronization must be used extremely sparingly. * * @author Gavin King * @author Steve Ebersole diff --git a/hibernate-core/src/main/java/org/hibernate/internal/SessionImpl.java b/hibernate-core/src/main/java/org/hibernate/internal/SessionImpl.java index 49d2b85dbd..7994d046ce 100644 --- a/hibernate-core/src/main/java/org/hibernate/internal/SessionImpl.java +++ b/hibernate-core/src/main/java/org/hibernate/internal/SessionImpl.java @@ -165,9 +165,10 @@ import static org.hibernate.proxy.HibernateProxy.extractLazyInitializer; /** * Concrete implementation of the {@link Session} API. *

- * Exposes two interfaces: