Skip to content

Commit edf37c2

Browse files
committed
Remove IDEA grammar warnings in javadoc and comments
1 parent 2da4c8e commit edf37c2

File tree

10 files changed

+10
-10
lines changed

10 files changed

+10
-10
lines changed

hibernate-reactive-core/src/main/java/org/hibernate/reactive/engine/impl/Cascade.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -447,7 +447,7 @@ private static <T> CompletionStage<Void> cascadeLogicalOneToOneOrphanRemoval(
447447
*
448448
* @param type The type representing the attribute metadata
449449
*
450-
* @return True if the attribute represents a logical one to one association
450+
* @return True if the attribute represents a logical one-to-one association
451451
*/
452452
private static boolean isLogicalOneToOne(Type type) {
453453
return type.isEntityType() && ( (EntityType) type ).isLogicalOneToOne();

hibernate-reactive-core/src/main/java/org/hibernate/reactive/event/impl/AbstractReactiveFlushingEventListener.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ private ReactiveActionQueue actionQueue(EventSource session) {
7474

7575
/**
7676
* Coordinates the processing necessary to get things ready for executions
77-
* as db calls by preping the session caches and moving the appropriate
77+
* as db calls by prepping the session caches and moving the appropriate
7878
* entities and collections to their respective execution queues.
7979
*
8080
* @param event The flush event.

hibernate-reactive-core/src/main/java/org/hibernate/reactive/id/impl/BlockingIdentifierGenerator.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ public abstract class BlockingIdentifierGenerator implements ReactiveIdentifierG
5151
*/
5252
protected abstract CompletionStage<Long> nextHiValue(ReactiveConnectionSupplier session);
5353

54-
//Not strictly necessary to put these fields into a dedicated class, but it help
54+
//Not strictly necessary to put these fields into a dedicated class, but it helps
5555
//to reason about what the current state is and what the CombinerExecutor is
5656
//supposed to work on.
5757
private static class GeneratorState {

hibernate-reactive-core/src/main/java/org/hibernate/reactive/provider/service/AbstractReactiveInformationSchemaBasedExtractorImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -351,7 +351,7 @@ protected String getDatabaseCatalogColumnName(String catalogColumnName, String s
351351
* used for storing the schema name, or <code null/>, if there
352352
* is no valid column containing the schema name.
353353
* <p/>
354-
* MySQL, for example, does not have a valid column in
354+
* MySQL, for example, does not have a valid column
355355
* in the information_schema to store the schema name.
356356
* (@see MySqlReactiveInformationExtractorImpl)
357357
*

hibernate-reactive-core/src/main/java/org/hibernate/reactive/sql/results/graph/entity/internal/ReactiveEntitySelectFetchInitializerBuilder.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ public static EntityInitializer<?> createInitializer(
100100
throw new IllegalStateException( "Should be unreachable" );
101101
}
102102

103-
// FIXME: Use the one in ORM
103+
// FIXME: Use the one in ORM: EntitySelectFetchInitializerBuilder#determineBatchMode
104104
public static BatchMode determineBatchMode(
105105
EntityPersister entityPersister,
106106
InitializerParent<?> parent,

hibernate-reactive-core/src/main/java/org/hibernate/reactive/util/async/impl/AsyncCloseable.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
* <p>
1818
* Examples of such resources are manually managed memory, open file handles, socket descriptors
1919
* etc. While similar to {@link AutoCloseable}, this interface should be used when the resource
20-
* release operation may possibly be async. For example, if an object is thread-safe and has many
20+
* release operation may be async. For example, if an object is thread-safe and has many
2121
* consumers, an implementation may require all current ongoing operations to complete before
2222
* resources are relinquished.
2323
*

hibernate-reactive-core/src/main/java/org/hibernate/reactive/util/async/impl/AsyncIterator.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
* below. The difference is that the parallelization in that case is from <b>producing</b> values in
5252
* parallel, <b>not consuming</b> values in parallel.
5353
*
54-
* <p>To implement an AsyncIterator you must only implement the {@link #nextStage()} method-
54+
* <p>To implement an AsyncIterator you must only implement the {@link #nextStage()} method -
5555
* however, it is recommended that users avoid actually using nextStage to consume the results of
5656
* iteration. It is less expressive and it can also be error prone; it is easy to cause a stack
5757
* overflow by incorrectly recursing on calls to nextStage. You should prefer to use the other

hibernate-reactive-core/src/main/java/org/hibernate/reactive/util/async/impl/AsyncTrampoline.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ T poll() {
174174
*
175175
* <p>
176176
* Effectively produces {@code fn(seed).thenCompose(fn).thenCompose(fn)... .thenCompose(fn)} until
177-
* an value fails the predicate. Note that predicate will be applied on seed (like a while loop,
177+
* a value fails the predicate. Note that predicate will be applied on seed (like a while loop,
178178
* the initial value is tested). If the predicate or fn throw an exception,
179179
* or the {@link CompletionStage} returned by fn completes exceptionally, iteration will stop and
180180
* an exceptional stage will be returned.

hibernate-reactive-core/src/test/java/org/hibernate/reactive/BatchingConnectionTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ protected Configuration constructConfiguration() {
4141
configuration.setProperty( AvailableSettings.STATEMENT_BATCH_SIZE, "5");
4242

4343
// Construct a tracker that collects query statements via the SqlStatementLogger framework.
44-
// Pass in configuration properties to hand-off any actual logging properties
44+
// Pass in configuration properties to hand off any actual logging properties
4545
sqlTracker = new SqlStatementTracker( BatchingConnectionTest::filter, configuration.getProperties() );
4646
return configuration;
4747
}

hibernate-reactive-core/src/test/java/org/hibernate/reactive/containers/CockroachDBDatabase.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ private static String disableSslMode(String url) {
6363
}
6464

6565
/**
66-
* Temporary tables support is experimental but we need it when updating entities in a hierarchy
66+
* We need temporary tables when updating entities in a hierarchy
6767
*/
6868
private static void enableTemporaryTables() {
6969
runSql( "SET CLUSTER SETTING sql.defaults.experimental_temporary_tables.enabled = 'true';" );

0 commit comments

Comments
 (0)