From e17aef1d2afa52ef4e0813ec32c977a520eac31e Mon Sep 17 00:00:00 2001 From: Hyunjin Choi Date: Fri, 7 Feb 2020 00:39:04 +0900 Subject: [PATCH] DATAJPA-1676 - Fix some typos in JavaDoc. Original pull request: #412. --- .../data/jpa/repository/query/AbstractJpaQuery.java | 2 +- .../springframework/data/jpa/repository/query/StringQuery.java | 2 +- .../springframework/data/jpa/util/JpaMetamodelCacheCleanup.java | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/org/springframework/data/jpa/repository/query/AbstractJpaQuery.java b/src/main/java/org/springframework/data/jpa/repository/query/AbstractJpaQuery.java index dec76fe26..556e866b8 100644 --- a/src/main/java/org/springframework/data/jpa/repository/query/AbstractJpaQuery.java +++ b/src/main/java/org/springframework/data/jpa/repository/query/AbstractJpaQuery.java @@ -363,7 +363,7 @@ public abstract class AbstractJpaQuery implements RepositoryQuery { * Otherwise this returns {@code true} even when the value from the backing {@code Tuple} is {@code null}. * * @param key the key for which to get the value from the map. - * @return wether the key is an element of the backing tuple. + * @return whether the key is an element of the backing tuple. */ @Override public boolean containsKey(Object key) { diff --git a/src/main/java/org/springframework/data/jpa/repository/query/StringQuery.java b/src/main/java/org/springframework/data/jpa/repository/query/StringQuery.java index aa171c799..9c829f017 100644 --- a/src/main/java/org/springframework/data/jpa/repository/query/StringQuery.java +++ b/src/main/java/org/springframework/data/jpa/repository/query/StringQuery.java @@ -410,7 +410,7 @@ class StringQuery implements DeclaredQuery { } /** - * Returns the keyword that will tirgger the binding type or {@literal null} if the type is not triggered by a + * Returns the keyword that will trigger the binding type or {@literal null} if the type is not triggered by a * keyword. * * @return the keyword diff --git a/src/main/java/org/springframework/data/jpa/util/JpaMetamodelCacheCleanup.java b/src/main/java/org/springframework/data/jpa/util/JpaMetamodelCacheCleanup.java index 5f0953eda..a1dfbbf6e 100644 --- a/src/main/java/org/springframework/data/jpa/util/JpaMetamodelCacheCleanup.java +++ b/src/main/java/org/springframework/data/jpa/util/JpaMetamodelCacheCleanup.java @@ -19,7 +19,7 @@ import org.springframework.beans.factory.DisposableBean; import org.springframework.context.ApplicationContext; /** - * Simple component to be reigstered as Spring bean to clear the {@link JpaMetamodel} cache to avoid a memory leak in + * Simple component to be registered as Spring bean to clear the {@link JpaMetamodel} cache to avoid a memory leak in * applications bootstrapping multiple {@link ApplicationContext}s. * * @author Oliver Gierke